Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteOrgProject(params *DeleteOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOrgProjectNoContent, error)
- func (a *Client) GetOrgProject(params *GetOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgProjectOK, error)
- func (a *Client) ListOrgProjects(params *ListOrgProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrgProjectsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrgProject(params *UpdateOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgProjectOK, error)
- type ClientOption
- type ClientService
- type DeleteOrgProjectBadRequest
- func (o *DeleteOrgProjectBadRequest) Code() int
- func (o *DeleteOrgProjectBadRequest) Error() string
- func (o *DeleteOrgProjectBadRequest) GetPayload() *DeleteOrgProjectBadRequestBody
- func (o *DeleteOrgProjectBadRequest) IsClientError() bool
- func (o *DeleteOrgProjectBadRequest) IsCode(code int) bool
- func (o *DeleteOrgProjectBadRequest) IsRedirect() bool
- func (o *DeleteOrgProjectBadRequest) IsServerError() bool
- func (o *DeleteOrgProjectBadRequest) IsSuccess() bool
- func (o *DeleteOrgProjectBadRequest) String() string
- type DeleteOrgProjectBadRequestBody
- func (o *DeleteOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectBadRequestBodyErrorsItems0
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectBadRequestBodyErrorsItems0Links
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectBadRequestBodyErrorsItems0Source
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectBadRequestBodyJsonapi
- func (o *DeleteOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectForbidden
- func (o *DeleteOrgProjectForbidden) Code() int
- func (o *DeleteOrgProjectForbidden) Error() string
- func (o *DeleteOrgProjectForbidden) GetPayload() *DeleteOrgProjectForbiddenBody
- func (o *DeleteOrgProjectForbidden) IsClientError() bool
- func (o *DeleteOrgProjectForbidden) IsCode(code int) bool
- func (o *DeleteOrgProjectForbidden) IsRedirect() bool
- func (o *DeleteOrgProjectForbidden) IsServerError() bool
- func (o *DeleteOrgProjectForbidden) IsSuccess() bool
- func (o *DeleteOrgProjectForbidden) String() string
- type DeleteOrgProjectForbiddenBody
- func (o *DeleteOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectForbiddenBodyErrorsItems0
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectForbiddenBodyErrorsItems0Links
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectForbiddenBodyErrorsItems0Source
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectForbiddenBodyJsonapi
- func (o *DeleteOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectInternalServerError
- func (o *DeleteOrgProjectInternalServerError) Code() int
- func (o *DeleteOrgProjectInternalServerError) Error() string
- func (o *DeleteOrgProjectInternalServerError) GetPayload() *DeleteOrgProjectInternalServerErrorBody
- func (o *DeleteOrgProjectInternalServerError) IsClientError() bool
- func (o *DeleteOrgProjectInternalServerError) IsCode(code int) bool
- func (o *DeleteOrgProjectInternalServerError) IsRedirect() bool
- func (o *DeleteOrgProjectInternalServerError) IsServerError() bool
- func (o *DeleteOrgProjectInternalServerError) IsSuccess() bool
- func (o *DeleteOrgProjectInternalServerError) String() string
- type DeleteOrgProjectInternalServerErrorBody
- func (o *DeleteOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectInternalServerErrorBodyErrorsItems0
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectInternalServerErrorBodyJsonapi
- func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectNoContent
- func (o *DeleteOrgProjectNoContent) Code() int
- func (o *DeleteOrgProjectNoContent) Error() string
- func (o *DeleteOrgProjectNoContent) IsClientError() bool
- func (o *DeleteOrgProjectNoContent) IsCode(code int) bool
- func (o *DeleteOrgProjectNoContent) IsRedirect() bool
- func (o *DeleteOrgProjectNoContent) IsServerError() bool
- func (o *DeleteOrgProjectNoContent) IsSuccess() bool
- func (o *DeleteOrgProjectNoContent) String() string
- type DeleteOrgProjectNotFound
- func (o *DeleteOrgProjectNotFound) Code() int
- func (o *DeleteOrgProjectNotFound) Error() string
- func (o *DeleteOrgProjectNotFound) GetPayload() *DeleteOrgProjectNotFoundBody
- func (o *DeleteOrgProjectNotFound) IsClientError() bool
- func (o *DeleteOrgProjectNotFound) IsCode(code int) bool
- func (o *DeleteOrgProjectNotFound) IsRedirect() bool
- func (o *DeleteOrgProjectNotFound) IsServerError() bool
- func (o *DeleteOrgProjectNotFound) IsSuccess() bool
- func (o *DeleteOrgProjectNotFound) String() string
- type DeleteOrgProjectNotFoundBody
- func (o *DeleteOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectNotFoundBodyErrorsItems0
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectNotFoundBodyErrorsItems0Links
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectNotFoundBodyErrorsItems0Source
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectNotFoundBodyJsonapi
- func (o *DeleteOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectParams
- func NewDeleteOrgProjectParams() *DeleteOrgProjectParams
- func NewDeleteOrgProjectParamsWithContext(ctx context.Context) *DeleteOrgProjectParams
- func NewDeleteOrgProjectParamsWithHTTPClient(client *http.Client) *DeleteOrgProjectParams
- func NewDeleteOrgProjectParamsWithTimeout(timeout time.Duration) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) SetContext(ctx context.Context)
- func (o *DeleteOrgProjectParams) SetDefaults()
- func (o *DeleteOrgProjectParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrgProjectParams) SetOrgID(orgID strfmt.UUID)
- func (o *DeleteOrgProjectParams) SetProjectID(projectID strfmt.UUID)
- func (o *DeleteOrgProjectParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrgProjectParams) SetVersion(version string)
- func (o *DeleteOrgProjectParams) WithContext(ctx context.Context) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithDefaults() *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithHTTPClient(client *http.Client) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithOrgID(orgID strfmt.UUID) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithProjectID(projectID strfmt.UUID) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithTimeout(timeout time.Duration) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WithVersion(version string) *DeleteOrgProjectParams
- func (o *DeleteOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrgProjectReader
- type DeleteOrgProjectUnauthorized
- func (o *DeleteOrgProjectUnauthorized) Code() int
- func (o *DeleteOrgProjectUnauthorized) Error() string
- func (o *DeleteOrgProjectUnauthorized) GetPayload() *DeleteOrgProjectUnauthorizedBody
- func (o *DeleteOrgProjectUnauthorized) IsClientError() bool
- func (o *DeleteOrgProjectUnauthorized) IsCode(code int) bool
- func (o *DeleteOrgProjectUnauthorized) IsRedirect() bool
- func (o *DeleteOrgProjectUnauthorized) IsServerError() bool
- func (o *DeleteOrgProjectUnauthorized) IsSuccess() bool
- func (o *DeleteOrgProjectUnauthorized) String() string
- type DeleteOrgProjectUnauthorizedBody
- func (o *DeleteOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectUnauthorizedBody) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectUnauthorizedBodyErrorsItems0
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectUnauthorizedBodyErrorsItems0Links
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectUnauthorizedBodyErrorsItems0Source
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type DeleteOrgProjectUnauthorizedBodyJsonapi
- func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgProjectBadRequest
- func (o *GetOrgProjectBadRequest) Code() int
- func (o *GetOrgProjectBadRequest) Error() string
- func (o *GetOrgProjectBadRequest) GetPayload() *GetOrgProjectBadRequestBody
- func (o *GetOrgProjectBadRequest) IsClientError() bool
- func (o *GetOrgProjectBadRequest) IsCode(code int) bool
- func (o *GetOrgProjectBadRequest) IsRedirect() bool
- func (o *GetOrgProjectBadRequest) IsServerError() bool
- func (o *GetOrgProjectBadRequest) IsSuccess() bool
- func (o *GetOrgProjectBadRequest) String() string
- type GetOrgProjectBadRequestBody
- func (o *GetOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type GetOrgProjectBadRequestBodyErrorsItems0
- func (o *GetOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgProjectBadRequestBodyErrorsItems0Links
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgProjectBadRequestBodyErrorsItems0Source
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgProjectBadRequestBodyJsonapi
- func (o *GetOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgProjectForbidden
- func (o *GetOrgProjectForbidden) Code() int
- func (o *GetOrgProjectForbidden) Error() string
- func (o *GetOrgProjectForbidden) GetPayload() *GetOrgProjectForbiddenBody
- func (o *GetOrgProjectForbidden) IsClientError() bool
- func (o *GetOrgProjectForbidden) IsCode(code int) bool
- func (o *GetOrgProjectForbidden) IsRedirect() bool
- func (o *GetOrgProjectForbidden) IsServerError() bool
- func (o *GetOrgProjectForbidden) IsSuccess() bool
- func (o *GetOrgProjectForbidden) String() string
- type GetOrgProjectForbiddenBody
- func (o *GetOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type GetOrgProjectForbiddenBodyErrorsItems0
- func (o *GetOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgProjectForbiddenBodyErrorsItems0Links
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgProjectForbiddenBodyErrorsItems0Source
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgProjectForbiddenBodyJsonapi
- func (o *GetOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgProjectInternalServerError
- func (o *GetOrgProjectInternalServerError) Code() int
- func (o *GetOrgProjectInternalServerError) Error() string
- func (o *GetOrgProjectInternalServerError) GetPayload() *GetOrgProjectInternalServerErrorBody
- func (o *GetOrgProjectInternalServerError) IsClientError() bool
- func (o *GetOrgProjectInternalServerError) IsCode(code int) bool
- func (o *GetOrgProjectInternalServerError) IsRedirect() bool
- func (o *GetOrgProjectInternalServerError) IsServerError() bool
- func (o *GetOrgProjectInternalServerError) IsSuccess() bool
- func (o *GetOrgProjectInternalServerError) String() string
- type GetOrgProjectInternalServerErrorBody
- func (o *GetOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetOrgProjectInternalServerErrorBodyErrorsItems0
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgProjectInternalServerErrorBodyErrorsItems0Links
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgProjectInternalServerErrorBodyErrorsItems0Source
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgProjectInternalServerErrorBodyJsonapi
- func (o *GetOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgProjectNotFound
- func (o *GetOrgProjectNotFound) Code() int
- func (o *GetOrgProjectNotFound) Error() string
- func (o *GetOrgProjectNotFound) GetPayload() *GetOrgProjectNotFoundBody
- func (o *GetOrgProjectNotFound) IsClientError() bool
- func (o *GetOrgProjectNotFound) IsCode(code int) bool
- func (o *GetOrgProjectNotFound) IsRedirect() bool
- func (o *GetOrgProjectNotFound) IsServerError() bool
- func (o *GetOrgProjectNotFound) IsSuccess() bool
- func (o *GetOrgProjectNotFound) String() string
- type GetOrgProjectNotFoundBody
- func (o *GetOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type GetOrgProjectNotFoundBodyErrorsItems0
- func (o *GetOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgProjectNotFoundBodyErrorsItems0Links
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgProjectNotFoundBodyErrorsItems0Source
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgProjectNotFoundBodyJsonapi
- func (o *GetOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgProjectOK
- func (o *GetOrgProjectOK) Code() int
- func (o *GetOrgProjectOK) Error() string
- func (o *GetOrgProjectOK) GetPayload() *GetOrgProjectOKBody
- func (o *GetOrgProjectOK) IsClientError() bool
- func (o *GetOrgProjectOK) IsCode(code int) bool
- func (o *GetOrgProjectOK) IsRedirect() bool
- func (o *GetOrgProjectOK) IsServerError() bool
- func (o *GetOrgProjectOK) IsSuccess() bool
- func (o *GetOrgProjectOK) String() string
- type GetOrgProjectOKBody
- type GetOrgProjectOKBodyData
- func (o *GetOrgProjectOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectOKBodyData) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectOKBodyData) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectOKBodyData) Validate(formats strfmt.Registry) error
- type GetOrgProjectOKBodyDataMeta
- func (o *GetOrgProjectOKBodyDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectOKBodyDataMeta) Validate(formats strfmt.Registry) error
- type GetOrgProjectParams
- func (o *GetOrgProjectParams) SetContext(ctx context.Context)
- func (o *GetOrgProjectParams) SetDefaults()
- func (o *GetOrgProjectParams) SetExpand(expand []string)
- func (o *GetOrgProjectParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgProjectParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)
- func (o *GetOrgProjectParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)
- func (o *GetOrgProjectParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetOrgProjectParams) SetProjectID(projectID strfmt.UUID)
- func (o *GetOrgProjectParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgProjectParams) SetVersion(version string)
- func (o *GetOrgProjectParams) WithContext(ctx context.Context) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithDefaults() *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithExpand(expand []string) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithHTTPClient(client *http.Client) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithOrgID(orgID strfmt.UUID) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithProjectID(projectID strfmt.UUID) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithTimeout(timeout time.Duration) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WithVersion(version string) *GetOrgProjectParams
- func (o *GetOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgProjectReader
- type GetOrgProjectUnauthorized
- func (o *GetOrgProjectUnauthorized) Code() int
- func (o *GetOrgProjectUnauthorized) Error() string
- func (o *GetOrgProjectUnauthorized) GetPayload() *GetOrgProjectUnauthorizedBody
- func (o *GetOrgProjectUnauthorized) IsClientError() bool
- func (o *GetOrgProjectUnauthorized) IsCode(code int) bool
- func (o *GetOrgProjectUnauthorized) IsRedirect() bool
- func (o *GetOrgProjectUnauthorized) IsServerError() bool
- func (o *GetOrgProjectUnauthorized) IsSuccess() bool
- func (o *GetOrgProjectUnauthorized) String() string
- type GetOrgProjectUnauthorizedBody
- func (o *GetOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetOrgProjectUnauthorizedBodyErrorsItems0
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgProjectUnauthorizedBodyErrorsItems0Links
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgProjectUnauthorizedBodyErrorsItems0Source
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgProjectUnauthorizedBodyJsonapi
- func (o *GetOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgProjectUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgProjectsBadRequest
- func (o *ListOrgProjectsBadRequest) Code() int
- func (o *ListOrgProjectsBadRequest) Error() string
- func (o *ListOrgProjectsBadRequest) GetPayload() *ListOrgProjectsBadRequestBody
- func (o *ListOrgProjectsBadRequest) IsClientError() bool
- func (o *ListOrgProjectsBadRequest) IsCode(code int) bool
- func (o *ListOrgProjectsBadRequest) IsRedirect() bool
- func (o *ListOrgProjectsBadRequest) IsServerError() bool
- func (o *ListOrgProjectsBadRequest) IsSuccess() bool
- func (o *ListOrgProjectsBadRequest) String() string
- type ListOrgProjectsBadRequestBody
- func (o *ListOrgProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListOrgProjectsBadRequestBodyErrorsItems0
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsBadRequestBodyErrorsItems0Links
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgProjectsBadRequestBodyErrorsItems0Source
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgProjectsBadRequestBodyJsonapi
- func (o *ListOrgProjectsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgProjectsForbidden
- func (o *ListOrgProjectsForbidden) Code() int
- func (o *ListOrgProjectsForbidden) Error() string
- func (o *ListOrgProjectsForbidden) GetPayload() *ListOrgProjectsForbiddenBody
- func (o *ListOrgProjectsForbidden) IsClientError() bool
- func (o *ListOrgProjectsForbidden) IsCode(code int) bool
- func (o *ListOrgProjectsForbidden) IsRedirect() bool
- func (o *ListOrgProjectsForbidden) IsServerError() bool
- func (o *ListOrgProjectsForbidden) IsSuccess() bool
- func (o *ListOrgProjectsForbidden) String() string
- type ListOrgProjectsForbiddenBody
- func (o *ListOrgProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsForbiddenBody) Validate(formats strfmt.Registry) error
- type ListOrgProjectsForbiddenBodyErrorsItems0
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsForbiddenBodyErrorsItems0Links
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgProjectsForbiddenBodyErrorsItems0Source
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgProjectsForbiddenBodyJsonapi
- func (o *ListOrgProjectsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgProjectsInternalServerError
- func (o *ListOrgProjectsInternalServerError) Code() int
- func (o *ListOrgProjectsInternalServerError) Error() string
- func (o *ListOrgProjectsInternalServerError) GetPayload() *ListOrgProjectsInternalServerErrorBody
- func (o *ListOrgProjectsInternalServerError) IsClientError() bool
- func (o *ListOrgProjectsInternalServerError) IsCode(code int) bool
- func (o *ListOrgProjectsInternalServerError) IsRedirect() bool
- func (o *ListOrgProjectsInternalServerError) IsServerError() bool
- func (o *ListOrgProjectsInternalServerError) IsSuccess() bool
- func (o *ListOrgProjectsInternalServerError) String() string
- type ListOrgProjectsInternalServerErrorBody
- func (o *ListOrgProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListOrgProjectsInternalServerErrorBodyErrorsItems0
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsInternalServerErrorBodyErrorsItems0Links
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgProjectsInternalServerErrorBodyErrorsItems0Source
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgProjectsInternalServerErrorBodyJsonapi
- func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgProjectsNotFound
- func (o *ListOrgProjectsNotFound) Code() int
- func (o *ListOrgProjectsNotFound) Error() string
- func (o *ListOrgProjectsNotFound) GetPayload() *ListOrgProjectsNotFoundBody
- func (o *ListOrgProjectsNotFound) IsClientError() bool
- func (o *ListOrgProjectsNotFound) IsCode(code int) bool
- func (o *ListOrgProjectsNotFound) IsRedirect() bool
- func (o *ListOrgProjectsNotFound) IsServerError() bool
- func (o *ListOrgProjectsNotFound) IsSuccess() bool
- func (o *ListOrgProjectsNotFound) String() string
- type ListOrgProjectsNotFoundBody
- func (o *ListOrgProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsNotFoundBody) Validate(formats strfmt.Registry) error
- type ListOrgProjectsNotFoundBodyErrorsItems0
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsNotFoundBodyErrorsItems0Links
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgProjectsNotFoundBodyErrorsItems0Source
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgProjectsNotFoundBodyJsonapi
- func (o *ListOrgProjectsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgProjectsOK
- func (o *ListOrgProjectsOK) Code() int
- func (o *ListOrgProjectsOK) Error() string
- func (o *ListOrgProjectsOK) GetPayload() *ListOrgProjectsOKBody
- func (o *ListOrgProjectsOK) IsClientError() bool
- func (o *ListOrgProjectsOK) IsCode(code int) bool
- func (o *ListOrgProjectsOK) IsRedirect() bool
- func (o *ListOrgProjectsOK) IsServerError() bool
- func (o *ListOrgProjectsOK) IsSuccess() bool
- func (o *ListOrgProjectsOK) String() string
- type ListOrgProjectsOKBody
- type ListOrgProjectsOKBodyDataItems0
- func (o *ListOrgProjectsOKBodyDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsOKBodyDataItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsOKBodyDataItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsOKBodyDataItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsOKBodyDataItems0Meta
- func (o *ListOrgProjectsOKBodyDataItems0Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsOKBodyDataItems0Meta) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsOKBodyDataItems0Meta) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsOKBodyDataItems0Meta) Validate(formats strfmt.Registry) error
- type ListOrgProjectsOKBodyMeta
- func (o *ListOrgProjectsOKBodyMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsOKBodyMeta) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsOKBodyMeta) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsOKBodyMeta) Validate(formats strfmt.Registry) error
- type ListOrgProjectsParams
- func NewListOrgProjectsParams() *ListOrgProjectsParams
- func NewListOrgProjectsParamsWithContext(ctx context.Context) *ListOrgProjectsParams
- func NewListOrgProjectsParamsWithHTTPClient(client *http.Client) *ListOrgProjectsParams
- func NewListOrgProjectsParamsWithTimeout(timeout time.Duration) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) SetBusinessCriticality(businessCriticality []string)
- func (o *ListOrgProjectsParams) SetCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime)
- func (o *ListOrgProjectsParams) SetCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime)
- func (o *ListOrgProjectsParams) SetContext(ctx context.Context)
- func (o *ListOrgProjectsParams) SetDefaults()
- func (o *ListOrgProjectsParams) SetEndingBefore(endingBefore *string)
- func (o *ListOrgProjectsParams) SetEnvironment(environment []string)
- func (o *ListOrgProjectsParams) SetExpand(expand []string)
- func (o *ListOrgProjectsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgProjectsParams) SetIds(ids []strfmt.UUID)
- func (o *ListOrgProjectsParams) SetImportingUserPublicID(importingUserPublicID []string)
- func (o *ListOrgProjectsParams) SetLifecycle(lifecycle []string)
- func (o *ListOrgProjectsParams) SetLimit(limit *int32)
- func (o *ListOrgProjectsParams) SetMetaCount(metaCount *string)
- func (o *ListOrgProjectsParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)
- func (o *ListOrgProjectsParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)
- func (o *ListOrgProjectsParams) SetNames(names []string)
- func (o *ListOrgProjectsParams) SetOrgID(orgID strfmt.UUID)
- func (o *ListOrgProjectsParams) SetOrigins(origins []string)
- func (o *ListOrgProjectsParams) SetStartingAfter(startingAfter *string)
- func (o *ListOrgProjectsParams) SetTags(tags []string)
- func (o *ListOrgProjectsParams) SetTargetFile(targetFile *string)
- func (o *ListOrgProjectsParams) SetTargetID(targetID []strfmt.UUID)
- func (o *ListOrgProjectsParams) SetTargetReference(targetReference *string)
- func (o *ListOrgProjectsParams) SetTargetRuntime(targetRuntime *string)
- func (o *ListOrgProjectsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgProjectsParams) SetTypes(types []string)
- func (o *ListOrgProjectsParams) SetVersion(version string)
- func (o *ListOrgProjectsParams) WithBusinessCriticality(businessCriticality []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithContext(ctx context.Context) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithDefaults() *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithEndingBefore(endingBefore *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithEnvironment(environment []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithExpand(expand []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithHTTPClient(client *http.Client) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithIds(ids []strfmt.UUID) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithImportingUserPublicID(importingUserPublicID []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithLifecycle(lifecycle []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithLimit(limit *int32) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithMetaCount(metaCount *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithNames(names []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithOrgID(orgID strfmt.UUID) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithOrigins(origins []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithStartingAfter(startingAfter *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTags(tags []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTargetFile(targetFile *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTargetID(targetID []strfmt.UUID) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTargetReference(targetReference *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTargetRuntime(targetRuntime *string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTimeout(timeout time.Duration) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithTypes(types []string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WithVersion(version string) *ListOrgProjectsParams
- func (o *ListOrgProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgProjectsReader
- type ListOrgProjectsUnauthorized
- func (o *ListOrgProjectsUnauthorized) Code() int
- func (o *ListOrgProjectsUnauthorized) Error() string
- func (o *ListOrgProjectsUnauthorized) GetPayload() *ListOrgProjectsUnauthorizedBody
- func (o *ListOrgProjectsUnauthorized) IsClientError() bool
- func (o *ListOrgProjectsUnauthorized) IsCode(code int) bool
- func (o *ListOrgProjectsUnauthorized) IsRedirect() bool
- func (o *ListOrgProjectsUnauthorized) IsServerError() bool
- func (o *ListOrgProjectsUnauthorized) IsSuccess() bool
- func (o *ListOrgProjectsUnauthorized) String() string
- type ListOrgProjectsUnauthorizedBody
- func (o *ListOrgProjectsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type ListOrgProjectsUnauthorizedBodyErrorsItems0
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgProjectsUnauthorizedBodyErrorsItems0Links
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgProjectsUnauthorizedBodyErrorsItems0Source
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgProjectsUnauthorizedBodyJsonapi
- func (o *ListOrgProjectsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgProjectsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgProjectsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgProjectsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectBadRequest
- func (o *UpdateOrgProjectBadRequest) Code() int
- func (o *UpdateOrgProjectBadRequest) Error() string
- func (o *UpdateOrgProjectBadRequest) GetPayload() *UpdateOrgProjectBadRequestBody
- func (o *UpdateOrgProjectBadRequest) IsClientError() bool
- func (o *UpdateOrgProjectBadRequest) IsCode(code int) bool
- func (o *UpdateOrgProjectBadRequest) IsRedirect() bool
- func (o *UpdateOrgProjectBadRequest) IsServerError() bool
- func (o *UpdateOrgProjectBadRequest) IsSuccess() bool
- func (o *UpdateOrgProjectBadRequest) String() string
- type UpdateOrgProjectBadRequestBody
- func (o *UpdateOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectBadRequestBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectBadRequestBodyErrorsItems0
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectBadRequestBodyErrorsItems0Links
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectBadRequestBodyErrorsItems0Source
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectBadRequestBodyJsonapi
- func (o *UpdateOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectForbidden
- func (o *UpdateOrgProjectForbidden) Code() int
- func (o *UpdateOrgProjectForbidden) Error() string
- func (o *UpdateOrgProjectForbidden) GetPayload() *UpdateOrgProjectForbiddenBody
- func (o *UpdateOrgProjectForbidden) IsClientError() bool
- func (o *UpdateOrgProjectForbidden) IsCode(code int) bool
- func (o *UpdateOrgProjectForbidden) IsRedirect() bool
- func (o *UpdateOrgProjectForbidden) IsServerError() bool
- func (o *UpdateOrgProjectForbidden) IsSuccess() bool
- func (o *UpdateOrgProjectForbidden) String() string
- type UpdateOrgProjectForbiddenBody
- func (o *UpdateOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectForbiddenBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectForbiddenBodyErrorsItems0
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectForbiddenBodyErrorsItems0Links
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectForbiddenBodyErrorsItems0Source
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectForbiddenBodyJsonapi
- func (o *UpdateOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectInternalServerError
- func (o *UpdateOrgProjectInternalServerError) Code() int
- func (o *UpdateOrgProjectInternalServerError) Error() string
- func (o *UpdateOrgProjectInternalServerError) GetPayload() *UpdateOrgProjectInternalServerErrorBody
- func (o *UpdateOrgProjectInternalServerError) IsClientError() bool
- func (o *UpdateOrgProjectInternalServerError) IsCode(code int) bool
- func (o *UpdateOrgProjectInternalServerError) IsRedirect() bool
- func (o *UpdateOrgProjectInternalServerError) IsServerError() bool
- func (o *UpdateOrgProjectInternalServerError) IsSuccess() bool
- func (o *UpdateOrgProjectInternalServerError) String() string
- type UpdateOrgProjectInternalServerErrorBody
- func (o *UpdateOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectInternalServerErrorBodyErrorsItems0
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectInternalServerErrorBodyJsonapi
- func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectNotFound
- func (o *UpdateOrgProjectNotFound) Code() int
- func (o *UpdateOrgProjectNotFound) Error() string
- func (o *UpdateOrgProjectNotFound) GetPayload() *UpdateOrgProjectNotFoundBody
- func (o *UpdateOrgProjectNotFound) IsClientError() bool
- func (o *UpdateOrgProjectNotFound) IsCode(code int) bool
- func (o *UpdateOrgProjectNotFound) IsRedirect() bool
- func (o *UpdateOrgProjectNotFound) IsServerError() bool
- func (o *UpdateOrgProjectNotFound) IsSuccess() bool
- func (o *UpdateOrgProjectNotFound) String() string
- type UpdateOrgProjectNotFoundBody
- func (o *UpdateOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectNotFoundBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectNotFoundBodyErrorsItems0
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectNotFoundBodyErrorsItems0Links
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectNotFoundBodyErrorsItems0Source
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectNotFoundBodyJsonapi
- func (o *UpdateOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectOK
- func (o *UpdateOrgProjectOK) Code() int
- func (o *UpdateOrgProjectOK) Error() string
- func (o *UpdateOrgProjectOK) GetPayload() *UpdateOrgProjectOKBody
- func (o *UpdateOrgProjectOK) IsClientError() bool
- func (o *UpdateOrgProjectOK) IsCode(code int) bool
- func (o *UpdateOrgProjectOK) IsRedirect() bool
- func (o *UpdateOrgProjectOK) IsServerError() bool
- func (o *UpdateOrgProjectOK) IsSuccess() bool
- func (o *UpdateOrgProjectOK) String() string
- type UpdateOrgProjectOKBody
- func (o *UpdateOrgProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectOKBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectOKBodyData
- func (o *UpdateOrgProjectOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectOKBodyData) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectOKBodyData) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectOKBodyData) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectOKBodyDataMeta
- func (o *UpdateOrgProjectOKBodyDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectOKBodyDataMeta) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectParams
- func NewUpdateOrgProjectParams() *UpdateOrgProjectParams
- func NewUpdateOrgProjectParamsWithContext(ctx context.Context) *UpdateOrgProjectParams
- func NewUpdateOrgProjectParamsWithHTTPClient(client *http.Client) *UpdateOrgProjectParams
- func NewUpdateOrgProjectParamsWithTimeout(timeout time.Duration) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) SetBody(body *models.PatchProjectRequest)
- func (o *UpdateOrgProjectParams) SetContext(ctx context.Context)
- func (o *UpdateOrgProjectParams) SetDefaults()
- func (o *UpdateOrgProjectParams) SetExpand(expand []string)
- func (o *UpdateOrgProjectParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgProjectParams) SetOrgID(orgID strfmt.UUID)
- func (o *UpdateOrgProjectParams) SetProjectID(projectID strfmt.UUID)
- func (o *UpdateOrgProjectParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgProjectParams) SetVersion(version string)
- func (o *UpdateOrgProjectParams) WithBody(body *models.PatchProjectRequest) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithContext(ctx context.Context) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithDefaults() *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithExpand(expand []string) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithHTTPClient(client *http.Client) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithOrgID(orgID strfmt.UUID) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithProjectID(projectID strfmt.UUID) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithTimeout(timeout time.Duration) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WithVersion(version string) *UpdateOrgProjectParams
- func (o *UpdateOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgProjectReader
- type UpdateOrgProjectUnauthorized
- func (o *UpdateOrgProjectUnauthorized) Code() int
- func (o *UpdateOrgProjectUnauthorized) Error() string
- func (o *UpdateOrgProjectUnauthorized) GetPayload() *UpdateOrgProjectUnauthorizedBody
- func (o *UpdateOrgProjectUnauthorized) IsClientError() bool
- func (o *UpdateOrgProjectUnauthorized) IsCode(code int) bool
- func (o *UpdateOrgProjectUnauthorized) IsRedirect() bool
- func (o *UpdateOrgProjectUnauthorized) IsServerError() bool
- func (o *UpdateOrgProjectUnauthorized) IsSuccess() bool
- func (o *UpdateOrgProjectUnauthorized) String() string
- type UpdateOrgProjectUnauthorizedBody
- func (o *UpdateOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectUnauthorizedBody) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectUnauthorizedBodyErrorsItems0
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectUnauthorizedBodyErrorsItems0Links
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectUnauthorizedBodyErrorsItems0Source
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgProjectUnauthorizedBodyJsonapi
- func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
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) DeleteOrgProject ¶
func (a *Client) DeleteOrgProject(params *DeleteOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgProjectNoContent, error)
DeleteOrgProject deletes project by project ID
Delete one project in the organization by project ID.
func (*Client) GetOrgProject ¶
func (a *Client) GetOrgProject(params *GetOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgProjectOK, error)
GetOrgProject gets project by project ID
Get one project of the organization by project ID.
func (*Client) ListOrgProjects ¶
func (a *Client) ListOrgProjects(params *ListOrgProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgProjectsOK, error)
ListOrgProjects lists all projects for an org with the given org ID
List all Projects for an Org.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrgProject ¶
func (a *Client) UpdateOrgProject(params *UpdateOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgProjectOK, error)
UpdateOrgProject updates project by project ID
Updates one project of the organization by project ID.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteOrgProject(params *DeleteOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrgProjectNoContent, error) GetOrgProject(params *GetOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgProjectOK, error) ListOrgProjects(params *ListOrgProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgProjectsOK, error) UpdateOrgProject(params *UpdateOrgProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgProjectOK, 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 DeleteOrgProjectBadRequest ¶
type DeleteOrgProjectBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteOrgProjectBadRequestBody }
DeleteOrgProjectBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewDeleteOrgProjectBadRequest ¶
func NewDeleteOrgProjectBadRequest() *DeleteOrgProjectBadRequest
NewDeleteOrgProjectBadRequest creates a DeleteOrgProjectBadRequest with default headers values
func (*DeleteOrgProjectBadRequest) Code ¶
func (o *DeleteOrgProjectBadRequest) Code() int
Code gets the status code for the delete org project bad request response
func (*DeleteOrgProjectBadRequest) Error ¶
func (o *DeleteOrgProjectBadRequest) Error() string
func (*DeleteOrgProjectBadRequest) GetPayload ¶
func (o *DeleteOrgProjectBadRequest) GetPayload() *DeleteOrgProjectBadRequestBody
func (*DeleteOrgProjectBadRequest) IsClientError ¶
func (o *DeleteOrgProjectBadRequest) IsClientError() bool
IsClientError returns true when this delete org project bad request response has a 4xx status code
func (*DeleteOrgProjectBadRequest) IsCode ¶
func (o *DeleteOrgProjectBadRequest) IsCode(code int) bool
IsCode returns true when this delete org project bad request response a status code equal to that given
func (*DeleteOrgProjectBadRequest) IsRedirect ¶
func (o *DeleteOrgProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this delete org project bad request response has a 3xx status code
func (*DeleteOrgProjectBadRequest) IsServerError ¶
func (o *DeleteOrgProjectBadRequest) IsServerError() bool
IsServerError returns true when this delete org project bad request response has a 5xx status code
func (*DeleteOrgProjectBadRequest) IsSuccess ¶
func (o *DeleteOrgProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this delete org project bad request response has a 2xx status code
func (*DeleteOrgProjectBadRequest) String ¶
func (o *DeleteOrgProjectBadRequest) String() string
type DeleteOrgProjectBadRequestBody ¶
type DeleteOrgProjectBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteOrgProjectBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteOrgProjectBadRequestBodyJsonapi `json:"jsonapi"` }
DeleteOrgProjectBadRequestBody delete org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectBadRequestBody
func (*DeleteOrgProjectBadRequestBody) ContextValidate ¶
func (o *DeleteOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project bad request body based on the context it is used
func (*DeleteOrgProjectBadRequestBody) MarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectBadRequestBody) UnmarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectBadRequestBodyErrorsItems0 ¶
type DeleteOrgProjectBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteOrgProjectBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteOrgProjectBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteOrgProjectBadRequestBodyErrorsItems0 delete org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0
func (*DeleteOrgProjectBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project bad request body errors items0 based on the context it is used
func (*DeleteOrgProjectBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectBadRequestBodyErrorsItems0Links ¶
type DeleteOrgProjectBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0Links
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project bad request body errors items0 links based on context it is used
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectBadRequestBodyErrorsItems0Source ¶
type DeleteOrgProjectBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteOrgProjectBadRequestBodyErrorsItems0Source delete org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectBadRequestBodyErrorsItems0Source
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project bad request body errors items0 source based on context it is used
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectBadRequestBodyJsonapi ¶
type DeleteOrgProjectBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteOrgProjectBadRequestBodyJsonapi delete org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectBadRequestBodyJsonapi
func (*DeleteOrgProjectBadRequestBodyJsonapi) ContextValidate ¶
func (o *DeleteOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project bad request body jsonapi based on context it is used
func (*DeleteOrgProjectBadRequestBodyJsonapi) MarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectForbidden ¶
type DeleteOrgProjectForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteOrgProjectForbiddenBody }
DeleteOrgProjectForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewDeleteOrgProjectForbidden ¶
func NewDeleteOrgProjectForbidden() *DeleteOrgProjectForbidden
NewDeleteOrgProjectForbidden creates a DeleteOrgProjectForbidden with default headers values
func (*DeleteOrgProjectForbidden) Code ¶
func (o *DeleteOrgProjectForbidden) Code() int
Code gets the status code for the delete org project forbidden response
func (*DeleteOrgProjectForbidden) Error ¶
func (o *DeleteOrgProjectForbidden) Error() string
func (*DeleteOrgProjectForbidden) GetPayload ¶
func (o *DeleteOrgProjectForbidden) GetPayload() *DeleteOrgProjectForbiddenBody
func (*DeleteOrgProjectForbidden) IsClientError ¶
func (o *DeleteOrgProjectForbidden) IsClientError() bool
IsClientError returns true when this delete org project forbidden response has a 4xx status code
func (*DeleteOrgProjectForbidden) IsCode ¶
func (o *DeleteOrgProjectForbidden) IsCode(code int) bool
IsCode returns true when this delete org project forbidden response a status code equal to that given
func (*DeleteOrgProjectForbidden) IsRedirect ¶
func (o *DeleteOrgProjectForbidden) IsRedirect() bool
IsRedirect returns true when this delete org project forbidden response has a 3xx status code
func (*DeleteOrgProjectForbidden) IsServerError ¶
func (o *DeleteOrgProjectForbidden) IsServerError() bool
IsServerError returns true when this delete org project forbidden response has a 5xx status code
func (*DeleteOrgProjectForbidden) IsSuccess ¶
func (o *DeleteOrgProjectForbidden) IsSuccess() bool
IsSuccess returns true when this delete org project forbidden response has a 2xx status code
func (*DeleteOrgProjectForbidden) String ¶
func (o *DeleteOrgProjectForbidden) String() string
type DeleteOrgProjectForbiddenBody ¶
type DeleteOrgProjectForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteOrgProjectForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteOrgProjectForbiddenBodyJsonapi `json:"jsonapi"` }
DeleteOrgProjectForbiddenBody delete org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectForbiddenBody
func (*DeleteOrgProjectForbiddenBody) ContextValidate ¶
func (o *DeleteOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project forbidden body based on the context it is used
func (*DeleteOrgProjectForbiddenBody) MarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectForbiddenBody) UnmarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectForbiddenBodyErrorsItems0 ¶
type DeleteOrgProjectForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteOrgProjectForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteOrgProjectForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteOrgProjectForbiddenBodyErrorsItems0 delete org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0
func (*DeleteOrgProjectForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project forbidden body errors items0 based on the context it is used
func (*DeleteOrgProjectForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectForbiddenBodyErrorsItems0Links ¶
type DeleteOrgProjectForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0Links
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project forbidden body errors items0 links based on context it is used
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectForbiddenBodyErrorsItems0Source ¶
type DeleteOrgProjectForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteOrgProjectForbiddenBodyErrorsItems0Source delete org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectForbiddenBodyErrorsItems0Source
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project forbidden body errors items0 source based on context it is used
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectForbiddenBodyJsonapi ¶
type DeleteOrgProjectForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteOrgProjectForbiddenBodyJsonapi delete org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectForbiddenBodyJsonapi
func (*DeleteOrgProjectForbiddenBodyJsonapi) ContextValidate ¶
func (o *DeleteOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project forbidden body jsonapi based on context it is used
func (*DeleteOrgProjectForbiddenBodyJsonapi) MarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectInternalServerError ¶
type DeleteOrgProjectInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteOrgProjectInternalServerErrorBody }
DeleteOrgProjectInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewDeleteOrgProjectInternalServerError ¶
func NewDeleteOrgProjectInternalServerError() *DeleteOrgProjectInternalServerError
NewDeleteOrgProjectInternalServerError creates a DeleteOrgProjectInternalServerError with default headers values
func (*DeleteOrgProjectInternalServerError) Code ¶
func (o *DeleteOrgProjectInternalServerError) Code() int
Code gets the status code for the delete org project internal server error response
func (*DeleteOrgProjectInternalServerError) Error ¶
func (o *DeleteOrgProjectInternalServerError) Error() string
func (*DeleteOrgProjectInternalServerError) GetPayload ¶
func (o *DeleteOrgProjectInternalServerError) GetPayload() *DeleteOrgProjectInternalServerErrorBody
func (*DeleteOrgProjectInternalServerError) IsClientError ¶
func (o *DeleteOrgProjectInternalServerError) IsClientError() bool
IsClientError returns true when this delete org project internal server error response has a 4xx status code
func (*DeleteOrgProjectInternalServerError) IsCode ¶
func (o *DeleteOrgProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this delete org project internal server error response a status code equal to that given
func (*DeleteOrgProjectInternalServerError) IsRedirect ¶
func (o *DeleteOrgProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete org project internal server error response has a 3xx status code
func (*DeleteOrgProjectInternalServerError) IsServerError ¶
func (o *DeleteOrgProjectInternalServerError) IsServerError() bool
IsServerError returns true when this delete org project internal server error response has a 5xx status code
func (*DeleteOrgProjectInternalServerError) IsSuccess ¶
func (o *DeleteOrgProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete org project internal server error response has a 2xx status code
func (*DeleteOrgProjectInternalServerError) String ¶
func (o *DeleteOrgProjectInternalServerError) String() string
type DeleteOrgProjectInternalServerErrorBody ¶
type DeleteOrgProjectInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteOrgProjectInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"` }
DeleteOrgProjectInternalServerErrorBody delete org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectInternalServerErrorBody
func (*DeleteOrgProjectInternalServerErrorBody) ContextValidate ¶
func (o *DeleteOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project internal server error body based on the context it is used
func (*DeleteOrgProjectInternalServerErrorBody) MarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0 ¶
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteOrgProjectInternalServerErrorBodyErrorsItems0 delete org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project internal server error body errors items0 based on the context it is used
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links ¶
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project internal server error body errors items0 links based on context it is used
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source ¶
type DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source delete org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project internal server error body errors items0 source based on context it is used
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectInternalServerErrorBodyJsonapi ¶
type DeleteOrgProjectInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteOrgProjectInternalServerErrorBodyJsonapi delete org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectInternalServerErrorBodyJsonapi
func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project internal server error body jsonapi based on context it is used
func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectNoContent ¶
type DeleteOrgProjectNoContent struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime }
DeleteOrgProjectNoContent describes a response with status code 204, with default header values.
The project has been deleted
func NewDeleteOrgProjectNoContent ¶
func NewDeleteOrgProjectNoContent() *DeleteOrgProjectNoContent
NewDeleteOrgProjectNoContent creates a DeleteOrgProjectNoContent with default headers values
func (*DeleteOrgProjectNoContent) Code ¶
func (o *DeleteOrgProjectNoContent) Code() int
Code gets the status code for the delete org project no content response
func (*DeleteOrgProjectNoContent) Error ¶
func (o *DeleteOrgProjectNoContent) Error() string
func (*DeleteOrgProjectNoContent) IsClientError ¶
func (o *DeleteOrgProjectNoContent) IsClientError() bool
IsClientError returns true when this delete org project no content response has a 4xx status code
func (*DeleteOrgProjectNoContent) IsCode ¶
func (o *DeleteOrgProjectNoContent) IsCode(code int) bool
IsCode returns true when this delete org project no content response a status code equal to that given
func (*DeleteOrgProjectNoContent) IsRedirect ¶
func (o *DeleteOrgProjectNoContent) IsRedirect() bool
IsRedirect returns true when this delete org project no content response has a 3xx status code
func (*DeleteOrgProjectNoContent) IsServerError ¶
func (o *DeleteOrgProjectNoContent) IsServerError() bool
IsServerError returns true when this delete org project no content response has a 5xx status code
func (*DeleteOrgProjectNoContent) IsSuccess ¶
func (o *DeleteOrgProjectNoContent) IsSuccess() bool
IsSuccess returns true when this delete org project no content response has a 2xx status code
func (*DeleteOrgProjectNoContent) String ¶
func (o *DeleteOrgProjectNoContent) String() string
type DeleteOrgProjectNotFound ¶
type DeleteOrgProjectNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *DeleteOrgProjectNotFoundBody }
DeleteOrgProjectNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewDeleteOrgProjectNotFound ¶
func NewDeleteOrgProjectNotFound() *DeleteOrgProjectNotFound
NewDeleteOrgProjectNotFound creates a DeleteOrgProjectNotFound with default headers values
func (*DeleteOrgProjectNotFound) Code ¶
func (o *DeleteOrgProjectNotFound) Code() int
Code gets the status code for the delete org project not found response
func (*DeleteOrgProjectNotFound) Error ¶
func (o *DeleteOrgProjectNotFound) Error() string
func (*DeleteOrgProjectNotFound) GetPayload ¶
func (o *DeleteOrgProjectNotFound) GetPayload() *DeleteOrgProjectNotFoundBody
func (*DeleteOrgProjectNotFound) IsClientError ¶
func (o *DeleteOrgProjectNotFound) IsClientError() bool
IsClientError returns true when this delete org project not found response has a 4xx status code
func (*DeleteOrgProjectNotFound) IsCode ¶
func (o *DeleteOrgProjectNotFound) IsCode(code int) bool
IsCode returns true when this delete org project not found response a status code equal to that given
func (*DeleteOrgProjectNotFound) IsRedirect ¶
func (o *DeleteOrgProjectNotFound) IsRedirect() bool
IsRedirect returns true when this delete org project not found response has a 3xx status code
func (*DeleteOrgProjectNotFound) IsServerError ¶
func (o *DeleteOrgProjectNotFound) IsServerError() bool
IsServerError returns true when this delete org project not found response has a 5xx status code
func (*DeleteOrgProjectNotFound) IsSuccess ¶
func (o *DeleteOrgProjectNotFound) IsSuccess() bool
IsSuccess returns true when this delete org project not found response has a 2xx status code
func (*DeleteOrgProjectNotFound) String ¶
func (o *DeleteOrgProjectNotFound) String() string
type DeleteOrgProjectNotFoundBody ¶
type DeleteOrgProjectNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteOrgProjectNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *DeleteOrgProjectNotFoundBodyJsonapi `json:"jsonapi"` }
DeleteOrgProjectNotFoundBody delete org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectNotFoundBody
func (*DeleteOrgProjectNotFoundBody) ContextValidate ¶
func (o *DeleteOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project not found body based on the context it is used
func (*DeleteOrgProjectNotFoundBody) MarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectNotFoundBody) UnmarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectNotFoundBodyErrorsItems0 ¶
type DeleteOrgProjectNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *DeleteOrgProjectNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *DeleteOrgProjectNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
DeleteOrgProjectNotFoundBodyErrorsItems0 delete org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0
func (*DeleteOrgProjectNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project not found body errors items0 based on the context it is used
func (*DeleteOrgProjectNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectNotFoundBodyErrorsItems0Links ¶
type DeleteOrgProjectNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0Links
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project not found body errors items0 links based on context it is used
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectNotFoundBodyErrorsItems0Source ¶
type DeleteOrgProjectNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteOrgProjectNotFoundBodyErrorsItems0Source delete org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectNotFoundBodyErrorsItems0Source
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project not found body errors items0 source based on context it is used
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectNotFoundBodyJsonapi ¶
type DeleteOrgProjectNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteOrgProjectNotFoundBodyJsonapi delete org project not found body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectNotFoundBodyJsonapi
func (*DeleteOrgProjectNotFoundBodyJsonapi) ContextValidate ¶
func (o *DeleteOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project not found body jsonapi based on context it is used
func (*DeleteOrgProjectNotFoundBodyJsonapi) MarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectParams ¶
type DeleteOrgProjectParams struct { /* OrgID. The ID of the org to which the project belongs to. Format: uuid */ OrgID strfmt.UUID /* ProjectID. The ID of the project. Format: uuid */ ProjectID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrgProjectParams contains all the parameters to send to the API endpoint
for the delete org project operation. Typically these are written to a http.Request.
func NewDeleteOrgProjectParams ¶
func NewDeleteOrgProjectParams() *DeleteOrgProjectParams
NewDeleteOrgProjectParams creates a new DeleteOrgProjectParams 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 NewDeleteOrgProjectParamsWithContext ¶
func NewDeleteOrgProjectParamsWithContext(ctx context.Context) *DeleteOrgProjectParams
NewDeleteOrgProjectParamsWithContext creates a new DeleteOrgProjectParams object with the ability to set a context for a request.
func NewDeleteOrgProjectParamsWithHTTPClient ¶
func NewDeleteOrgProjectParamsWithHTTPClient(client *http.Client) *DeleteOrgProjectParams
NewDeleteOrgProjectParamsWithHTTPClient creates a new DeleteOrgProjectParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOrgProjectParamsWithTimeout ¶
func NewDeleteOrgProjectParamsWithTimeout(timeout time.Duration) *DeleteOrgProjectParams
NewDeleteOrgProjectParamsWithTimeout creates a new DeleteOrgProjectParams object with the ability to set a timeout on a request.
func (*DeleteOrgProjectParams) SetContext ¶
func (o *DeleteOrgProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the delete org project params
func (*DeleteOrgProjectParams) SetDefaults ¶
func (o *DeleteOrgProjectParams) SetDefaults()
SetDefaults hydrates default values in the delete org project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrgProjectParams) SetHTTPClient ¶
func (o *DeleteOrgProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete org project params
func (*DeleteOrgProjectParams) SetOrgID ¶
func (o *DeleteOrgProjectParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the delete org project params
func (*DeleteOrgProjectParams) SetProjectID ¶
func (o *DeleteOrgProjectParams) SetProjectID(projectID strfmt.UUID)
SetProjectID adds the projectId to the delete org project params
func (*DeleteOrgProjectParams) SetTimeout ¶
func (o *DeleteOrgProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete org project params
func (*DeleteOrgProjectParams) SetVersion ¶
func (o *DeleteOrgProjectParams) SetVersion(version string)
SetVersion adds the version to the delete org project params
func (*DeleteOrgProjectParams) WithContext ¶
func (o *DeleteOrgProjectParams) WithContext(ctx context.Context) *DeleteOrgProjectParams
WithContext adds the context to the delete org project params
func (*DeleteOrgProjectParams) WithDefaults ¶
func (o *DeleteOrgProjectParams) WithDefaults() *DeleteOrgProjectParams
WithDefaults hydrates default values in the delete org project params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrgProjectParams) WithHTTPClient ¶
func (o *DeleteOrgProjectParams) WithHTTPClient(client *http.Client) *DeleteOrgProjectParams
WithHTTPClient adds the HTTPClient to the delete org project params
func (*DeleteOrgProjectParams) WithOrgID ¶
func (o *DeleteOrgProjectParams) WithOrgID(orgID strfmt.UUID) *DeleteOrgProjectParams
WithOrgID adds the orgID to the delete org project params
func (*DeleteOrgProjectParams) WithProjectID ¶
func (o *DeleteOrgProjectParams) WithProjectID(projectID strfmt.UUID) *DeleteOrgProjectParams
WithProjectID adds the projectID to the delete org project params
func (*DeleteOrgProjectParams) WithTimeout ¶
func (o *DeleteOrgProjectParams) WithTimeout(timeout time.Duration) *DeleteOrgProjectParams
WithTimeout adds the timeout to the delete org project params
func (*DeleteOrgProjectParams) WithVersion ¶
func (o *DeleteOrgProjectParams) WithVersion(version string) *DeleteOrgProjectParams
WithVersion adds the version to the delete org project params
func (*DeleteOrgProjectParams) WriteToRequest ¶
func (o *DeleteOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrgProjectReader ¶
type DeleteOrgProjectReader struct {
// contains filtered or unexported fields
}
DeleteOrgProjectReader is a Reader for the DeleteOrgProject structure.
func (*DeleteOrgProjectReader) ReadResponse ¶
func (o *DeleteOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOrgProjectUnauthorized ¶
type DeleteOrgProjectUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
DeleteOrgProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewDeleteOrgProjectUnauthorized ¶
func NewDeleteOrgProjectUnauthorized() *DeleteOrgProjectUnauthorized
NewDeleteOrgProjectUnauthorized creates a DeleteOrgProjectUnauthorized with default headers values
func (*DeleteOrgProjectUnauthorized) Code ¶
func (o *DeleteOrgProjectUnauthorized) Code() int
Code gets the status code for the delete org project unauthorized response
func (*DeleteOrgProjectUnauthorized) Error ¶
func (o *DeleteOrgProjectUnauthorized) Error() string
func (*DeleteOrgProjectUnauthorized) GetPayload ¶
func (o *DeleteOrgProjectUnauthorized) GetPayload() *DeleteOrgProjectUnauthorizedBody
func (*DeleteOrgProjectUnauthorized) IsClientError ¶
func (o *DeleteOrgProjectUnauthorized) IsClientError() bool
IsClientError returns true when this delete org project unauthorized response has a 4xx status code
func (*DeleteOrgProjectUnauthorized) IsCode ¶
func (o *DeleteOrgProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this delete org project unauthorized response a status code equal to that given
func (*DeleteOrgProjectUnauthorized) IsRedirect ¶
func (o *DeleteOrgProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete org project unauthorized response has a 3xx status code
func (*DeleteOrgProjectUnauthorized) IsServerError ¶
func (o *DeleteOrgProjectUnauthorized) IsServerError() bool
IsServerError returns true when this delete org project unauthorized response has a 5xx status code
func (*DeleteOrgProjectUnauthorized) IsSuccess ¶
func (o *DeleteOrgProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete org project unauthorized response has a 2xx status code
func (*DeleteOrgProjectUnauthorized) String ¶
func (o *DeleteOrgProjectUnauthorized) String() string
type DeleteOrgProjectUnauthorizedBody ¶
type DeleteOrgProjectUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*DeleteOrgProjectUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *DeleteOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"` }
DeleteOrgProjectUnauthorizedBody delete org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model DeleteOrgProjectUnauthorizedBody
func (*DeleteOrgProjectUnauthorizedBody) ContextValidate ¶
func (o *DeleteOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project unauthorized body based on the context it is used
func (*DeleteOrgProjectUnauthorizedBody) MarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectUnauthorizedBody) UnmarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectUnauthorizedBodyErrorsItems0 ¶
type DeleteOrgProjectUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
DeleteOrgProjectUnauthorizedBodyErrorsItems0 delete org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete org project unauthorized body errors items0 based on the context it is used
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectUnauthorizedBodyErrorsItems0Links ¶
type DeleteOrgProjectUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
DeleteOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0Links
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project unauthorized body errors items0 links based on context it is used
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectUnauthorizedBodyErrorsItems0Source ¶
type DeleteOrgProjectUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
DeleteOrgProjectUnauthorizedBodyErrorsItems0Source delete org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model DeleteOrgProjectUnauthorizedBodyErrorsItems0Source
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project unauthorized body errors items0 source based on context it is used
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteOrgProjectUnauthorizedBodyJsonapi ¶
type DeleteOrgProjectUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
DeleteOrgProjectUnauthorizedBodyJsonapi delete org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model DeleteOrgProjectUnauthorizedBodyJsonapi
func (*DeleteOrgProjectUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete org project unauthorized body jsonapi based on context it is used
func (*DeleteOrgProjectUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *DeleteOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectBadRequest ¶
type GetOrgProjectBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetOrgProjectBadRequestBody }
GetOrgProjectBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewGetOrgProjectBadRequest ¶
func NewGetOrgProjectBadRequest() *GetOrgProjectBadRequest
NewGetOrgProjectBadRequest creates a GetOrgProjectBadRequest with default headers values
func (*GetOrgProjectBadRequest) Code ¶
func (o *GetOrgProjectBadRequest) Code() int
Code gets the status code for the get org project bad request response
func (*GetOrgProjectBadRequest) Error ¶
func (o *GetOrgProjectBadRequest) Error() string
func (*GetOrgProjectBadRequest) GetPayload ¶
func (o *GetOrgProjectBadRequest) GetPayload() *GetOrgProjectBadRequestBody
func (*GetOrgProjectBadRequest) IsClientError ¶
func (o *GetOrgProjectBadRequest) IsClientError() bool
IsClientError returns true when this get org project bad request response has a 4xx status code
func (*GetOrgProjectBadRequest) IsCode ¶
func (o *GetOrgProjectBadRequest) IsCode(code int) bool
IsCode returns true when this get org project bad request response a status code equal to that given
func (*GetOrgProjectBadRequest) IsRedirect ¶
func (o *GetOrgProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this get org project bad request response has a 3xx status code
func (*GetOrgProjectBadRequest) IsServerError ¶
func (o *GetOrgProjectBadRequest) IsServerError() bool
IsServerError returns true when this get org project bad request response has a 5xx status code
func (*GetOrgProjectBadRequest) IsSuccess ¶
func (o *GetOrgProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this get org project bad request response has a 2xx status code
func (*GetOrgProjectBadRequest) String ¶
func (o *GetOrgProjectBadRequest) String() string
type GetOrgProjectBadRequestBody ¶
type GetOrgProjectBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgProjectBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgProjectBadRequestBodyJsonapi `json:"jsonapi"` }
GetOrgProjectBadRequestBody get org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectBadRequestBody
func (*GetOrgProjectBadRequestBody) ContextValidate ¶
func (o *GetOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project bad request body based on the context it is used
func (*GetOrgProjectBadRequestBody) MarshalBinary ¶
func (o *GetOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectBadRequestBody) UnmarshalBinary ¶
func (o *GetOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectBadRequestBodyErrorsItems0 ¶
type GetOrgProjectBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetOrgProjectBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgProjectBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgProjectBadRequestBodyErrorsItems0 get org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0
func (*GetOrgProjectBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project bad request body errors items0 based on the context it is used
func (*GetOrgProjectBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectBadRequestBodyErrorsItems0Links ¶
type GetOrgProjectBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0Links
func (*GetOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project bad request body errors items0 links based on context it is used
func (*GetOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectBadRequestBodyErrorsItems0Source ¶
type GetOrgProjectBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgProjectBadRequestBodyErrorsItems0Source get org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectBadRequestBodyErrorsItems0Source
func (*GetOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project bad request body errors items0 source based on context it is used
func (*GetOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectBadRequestBodyJsonapi ¶
type GetOrgProjectBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgProjectBadRequestBodyJsonapi get org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectBadRequestBodyJsonapi
func (*GetOrgProjectBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project bad request body jsonapi based on context it is used
func (*GetOrgProjectBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectForbidden ¶
type GetOrgProjectForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetOrgProjectForbiddenBody }
GetOrgProjectForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetOrgProjectForbidden ¶
func NewGetOrgProjectForbidden() *GetOrgProjectForbidden
NewGetOrgProjectForbidden creates a GetOrgProjectForbidden with default headers values
func (*GetOrgProjectForbidden) Code ¶
func (o *GetOrgProjectForbidden) Code() int
Code gets the status code for the get org project forbidden response
func (*GetOrgProjectForbidden) Error ¶
func (o *GetOrgProjectForbidden) Error() string
func (*GetOrgProjectForbidden) GetPayload ¶
func (o *GetOrgProjectForbidden) GetPayload() *GetOrgProjectForbiddenBody
func (*GetOrgProjectForbidden) IsClientError ¶
func (o *GetOrgProjectForbidden) IsClientError() bool
IsClientError returns true when this get org project forbidden response has a 4xx status code
func (*GetOrgProjectForbidden) IsCode ¶
func (o *GetOrgProjectForbidden) IsCode(code int) bool
IsCode returns true when this get org project forbidden response a status code equal to that given
func (*GetOrgProjectForbidden) IsRedirect ¶
func (o *GetOrgProjectForbidden) IsRedirect() bool
IsRedirect returns true when this get org project forbidden response has a 3xx status code
func (*GetOrgProjectForbidden) IsServerError ¶
func (o *GetOrgProjectForbidden) IsServerError() bool
IsServerError returns true when this get org project forbidden response has a 5xx status code
func (*GetOrgProjectForbidden) IsSuccess ¶
func (o *GetOrgProjectForbidden) IsSuccess() bool
IsSuccess returns true when this get org project forbidden response has a 2xx status code
func (*GetOrgProjectForbidden) String ¶
func (o *GetOrgProjectForbidden) String() string
type GetOrgProjectForbiddenBody ¶
type GetOrgProjectForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgProjectForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgProjectForbiddenBodyJsonapi `json:"jsonapi"` }
GetOrgProjectForbiddenBody get org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectForbiddenBody
func (*GetOrgProjectForbiddenBody) ContextValidate ¶
func (o *GetOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project forbidden body based on the context it is used
func (*GetOrgProjectForbiddenBody) MarshalBinary ¶
func (o *GetOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectForbiddenBody) UnmarshalBinary ¶
func (o *GetOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectForbiddenBodyErrorsItems0 ¶
type GetOrgProjectForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetOrgProjectForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgProjectForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgProjectForbiddenBodyErrorsItems0 get org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0
func (*GetOrgProjectForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project forbidden body errors items0 based on the context it is used
func (*GetOrgProjectForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectForbiddenBodyErrorsItems0Links ¶
type GetOrgProjectForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0Links
func (*GetOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project forbidden body errors items0 links based on context it is used
func (*GetOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectForbiddenBodyErrorsItems0Source ¶
type GetOrgProjectForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgProjectForbiddenBodyErrorsItems0Source get org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectForbiddenBodyErrorsItems0Source
func (*GetOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project forbidden body errors items0 source based on context it is used
func (*GetOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectForbiddenBodyJsonapi ¶
type GetOrgProjectForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgProjectForbiddenBodyJsonapi get org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectForbiddenBodyJsonapi
func (*GetOrgProjectForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project forbidden body jsonapi based on context it is used
func (*GetOrgProjectForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectInternalServerError ¶
type GetOrgProjectInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetOrgProjectInternalServerErrorBody }
GetOrgProjectInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewGetOrgProjectInternalServerError ¶
func NewGetOrgProjectInternalServerError() *GetOrgProjectInternalServerError
NewGetOrgProjectInternalServerError creates a GetOrgProjectInternalServerError with default headers values
func (*GetOrgProjectInternalServerError) Code ¶
func (o *GetOrgProjectInternalServerError) Code() int
Code gets the status code for the get org project internal server error response
func (*GetOrgProjectInternalServerError) Error ¶
func (o *GetOrgProjectInternalServerError) Error() string
func (*GetOrgProjectInternalServerError) GetPayload ¶
func (o *GetOrgProjectInternalServerError) GetPayload() *GetOrgProjectInternalServerErrorBody
func (*GetOrgProjectInternalServerError) IsClientError ¶
func (o *GetOrgProjectInternalServerError) IsClientError() bool
IsClientError returns true when this get org project internal server error response has a 4xx status code
func (*GetOrgProjectInternalServerError) IsCode ¶
func (o *GetOrgProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this get org project internal server error response a status code equal to that given
func (*GetOrgProjectInternalServerError) IsRedirect ¶
func (o *GetOrgProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this get org project internal server error response has a 3xx status code
func (*GetOrgProjectInternalServerError) IsServerError ¶
func (o *GetOrgProjectInternalServerError) IsServerError() bool
IsServerError returns true when this get org project internal server error response has a 5xx status code
func (*GetOrgProjectInternalServerError) IsSuccess ¶
func (o *GetOrgProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this get org project internal server error response has a 2xx status code
func (*GetOrgProjectInternalServerError) String ¶
func (o *GetOrgProjectInternalServerError) String() string
type GetOrgProjectInternalServerErrorBody ¶
type GetOrgProjectInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgProjectInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetOrgProjectInternalServerErrorBody get org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectInternalServerErrorBody
func (*GetOrgProjectInternalServerErrorBody) ContextValidate ¶
func (o *GetOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project internal server error body based on the context it is used
func (*GetOrgProjectInternalServerErrorBody) MarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectInternalServerErrorBodyErrorsItems0 ¶
type GetOrgProjectInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetOrgProjectInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgProjectInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgProjectInternalServerErrorBodyErrorsItems0 get org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project internal server error body errors items0 based on the context it is used
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectInternalServerErrorBodyErrorsItems0Links ¶
type GetOrgProjectInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0Links
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project internal server error body errors items0 links based on context it is used
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectInternalServerErrorBodyErrorsItems0Source ¶
type GetOrgProjectInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgProjectInternalServerErrorBodyErrorsItems0Source get org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectInternalServerErrorBodyErrorsItems0Source
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project internal server error body errors items0 source based on context it is used
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectInternalServerErrorBodyJsonapi ¶
type GetOrgProjectInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgProjectInternalServerErrorBodyJsonapi get org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectInternalServerErrorBodyJsonapi
func (*GetOrgProjectInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project internal server error body jsonapi based on context it is used
func (*GetOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectNotFound ¶
type GetOrgProjectNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetOrgProjectNotFoundBody }
GetOrgProjectNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetOrgProjectNotFound ¶
func NewGetOrgProjectNotFound() *GetOrgProjectNotFound
NewGetOrgProjectNotFound creates a GetOrgProjectNotFound with default headers values
func (*GetOrgProjectNotFound) Code ¶
func (o *GetOrgProjectNotFound) Code() int
Code gets the status code for the get org project not found response
func (*GetOrgProjectNotFound) Error ¶
func (o *GetOrgProjectNotFound) Error() string
func (*GetOrgProjectNotFound) GetPayload ¶
func (o *GetOrgProjectNotFound) GetPayload() *GetOrgProjectNotFoundBody
func (*GetOrgProjectNotFound) IsClientError ¶
func (o *GetOrgProjectNotFound) IsClientError() bool
IsClientError returns true when this get org project not found response has a 4xx status code
func (*GetOrgProjectNotFound) IsCode ¶
func (o *GetOrgProjectNotFound) IsCode(code int) bool
IsCode returns true when this get org project not found response a status code equal to that given
func (*GetOrgProjectNotFound) IsRedirect ¶
func (o *GetOrgProjectNotFound) IsRedirect() bool
IsRedirect returns true when this get org project not found response has a 3xx status code
func (*GetOrgProjectNotFound) IsServerError ¶
func (o *GetOrgProjectNotFound) IsServerError() bool
IsServerError returns true when this get org project not found response has a 5xx status code
func (*GetOrgProjectNotFound) IsSuccess ¶
func (o *GetOrgProjectNotFound) IsSuccess() bool
IsSuccess returns true when this get org project not found response has a 2xx status code
func (*GetOrgProjectNotFound) String ¶
func (o *GetOrgProjectNotFound) String() string
type GetOrgProjectNotFoundBody ¶
type GetOrgProjectNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgProjectNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgProjectNotFoundBodyJsonapi `json:"jsonapi"` }
GetOrgProjectNotFoundBody get org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectNotFoundBody
func (*GetOrgProjectNotFoundBody) ContextValidate ¶
func (o *GetOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project not found body based on the context it is used
func (*GetOrgProjectNotFoundBody) MarshalBinary ¶
func (o *GetOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectNotFoundBody) UnmarshalBinary ¶
func (o *GetOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectNotFoundBodyErrorsItems0 ¶
type GetOrgProjectNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *GetOrgProjectNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgProjectNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgProjectNotFoundBodyErrorsItems0 get org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0
func (*GetOrgProjectNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project not found body errors items0 based on the context it is used
func (*GetOrgProjectNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectNotFoundBodyErrorsItems0Links ¶
type GetOrgProjectNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0Links
func (*GetOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project not found body errors items0 links based on context it is used
func (*GetOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectNotFoundBodyErrorsItems0Source ¶
type GetOrgProjectNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgProjectNotFoundBodyErrorsItems0Source get org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectNotFoundBodyErrorsItems0Source
func (*GetOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project not found body errors items0 source based on context it is used
func (*GetOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectNotFoundBodyJsonapi ¶
type GetOrgProjectNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgProjectNotFoundBodyJsonapi get org project not found body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectNotFoundBodyJsonapi
func (*GetOrgProjectNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project not found body jsonapi based on context it is used
func (*GetOrgProjectNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectOK ¶
type GetOrgProjectOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *GetOrgProjectOKBody }
GetOrgProjectOK describes a response with status code 200, with default header values.
A project is returned for the targeted org
func NewGetOrgProjectOK ¶
func NewGetOrgProjectOK() *GetOrgProjectOK
NewGetOrgProjectOK creates a GetOrgProjectOK with default headers values
func (*GetOrgProjectOK) Code ¶
func (o *GetOrgProjectOK) Code() int
Code gets the status code for the get org project o k response
func (*GetOrgProjectOK) Error ¶
func (o *GetOrgProjectOK) Error() string
func (*GetOrgProjectOK) GetPayload ¶
func (o *GetOrgProjectOK) GetPayload() *GetOrgProjectOKBody
func (*GetOrgProjectOK) IsClientError ¶
func (o *GetOrgProjectOK) IsClientError() bool
IsClientError returns true when this get org project o k response has a 4xx status code
func (*GetOrgProjectOK) IsCode ¶
func (o *GetOrgProjectOK) IsCode(code int) bool
IsCode returns true when this get org project o k response a status code equal to that given
func (*GetOrgProjectOK) IsRedirect ¶
func (o *GetOrgProjectOK) IsRedirect() bool
IsRedirect returns true when this get org project o k response has a 3xx status code
func (*GetOrgProjectOK) IsServerError ¶
func (o *GetOrgProjectOK) IsServerError() bool
IsServerError returns true when this get org project o k response has a 5xx status code
func (*GetOrgProjectOK) IsSuccess ¶
func (o *GetOrgProjectOK) IsSuccess() bool
IsSuccess returns true when this get org project o k response has a 2xx status code
func (*GetOrgProjectOK) String ¶
func (o *GetOrgProjectOK) String() string
type GetOrgProjectOKBody ¶
type GetOrgProjectOKBody struct { // data // Required: true Data *GetOrgProjectOKBodyData `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.Links `json:"links"` }
GetOrgProjectOKBody get org project o k body swagger:model GetOrgProjectOKBody
func (*GetOrgProjectOKBody) ContextValidate ¶
ContextValidate validate this get org project o k body based on the context it is used
func (*GetOrgProjectOKBody) MarshalBinary ¶
func (o *GetOrgProjectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectOKBody) UnmarshalBinary ¶
func (o *GetOrgProjectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectOKBodyData ¶
type GetOrgProjectOKBodyData struct { // attributes // Required: true Attributes *models.ProjectAttributes `json:"attributes"` // The Resource ID. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // meta Meta *GetOrgProjectOKBodyDataMeta `json:"meta,omitempty"` // relationships Relationships *models.ProjectRelationships `json:"relationships,omitempty"` // The Resource type. // Example: project // Required: true Type *string `json:"type"` }
GetOrgProjectOKBodyData get org project o k body data swagger:model GetOrgProjectOKBodyData
func (*GetOrgProjectOKBodyData) ContextValidate ¶
func (o *GetOrgProjectOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project o k body data based on the context it is used
func (*GetOrgProjectOKBodyData) MarshalBinary ¶
func (o *GetOrgProjectOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectOKBodyData) UnmarshalBinary ¶
func (o *GetOrgProjectOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectOKBodyDataMeta ¶
type GetOrgProjectOKBodyDataMeta struct { // The date that the project was last uploaded and monitored using cli. // Example: 2021-05-29T09:50:54.014Z // Format: date-time CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"` // latest dependency total LatestDependencyTotal *models.LatestDependencyTotal `json:"latest_dependency_total,omitempty"` // latest issue counts LatestIssueCounts *models.LatestIssueCounts `json:"latest_issue_counts,omitempty"` }
GetOrgProjectOKBodyDataMeta get org project o k body data meta swagger:model GetOrgProjectOKBodyDataMeta
func (*GetOrgProjectOKBodyDataMeta) ContextValidate ¶
func (o *GetOrgProjectOKBodyDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project o k body data meta based on the context it is used
func (*GetOrgProjectOKBodyDataMeta) MarshalBinary ¶
func (o *GetOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectOKBodyDataMeta) UnmarshalBinary ¶
func (o *GetOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectParams ¶
type GetOrgProjectParams struct { /* Expand. Expand relationships. */ Expand []string /* MetaLatestDependencyTotal. Include the total number of dependencies found in the most recent scan of this project */ MetaLatestDependencyTotal *bool /* MetaLatestIssueCounts. Include a summary count for the issues found in the most recent scan of this project */ MetaLatestIssueCounts *bool /* OrgID. The ID of the org to which the project belongs to. Format: uuid */ OrgID strfmt.UUID /* ProjectID. The ID of the project. Format: uuid */ ProjectID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgProjectParams contains all the parameters to send to the API endpoint
for the get org project operation. Typically these are written to a http.Request.
func NewGetOrgProjectParams ¶
func NewGetOrgProjectParams() *GetOrgProjectParams
NewGetOrgProjectParams creates a new GetOrgProjectParams 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 NewGetOrgProjectParamsWithContext ¶
func NewGetOrgProjectParamsWithContext(ctx context.Context) *GetOrgProjectParams
NewGetOrgProjectParamsWithContext creates a new GetOrgProjectParams object with the ability to set a context for a request.
func NewGetOrgProjectParamsWithHTTPClient ¶
func NewGetOrgProjectParamsWithHTTPClient(client *http.Client) *GetOrgProjectParams
NewGetOrgProjectParamsWithHTTPClient creates a new GetOrgProjectParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgProjectParamsWithTimeout ¶
func NewGetOrgProjectParamsWithTimeout(timeout time.Duration) *GetOrgProjectParams
NewGetOrgProjectParamsWithTimeout creates a new GetOrgProjectParams object with the ability to set a timeout on a request.
func (*GetOrgProjectParams) SetContext ¶
func (o *GetOrgProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the get org project params
func (*GetOrgProjectParams) SetDefaults ¶
func (o *GetOrgProjectParams) SetDefaults()
SetDefaults hydrates default values in the get org project params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgProjectParams) SetExpand ¶
func (o *GetOrgProjectParams) SetExpand(expand []string)
SetExpand adds the expand to the get org project params
func (*GetOrgProjectParams) SetHTTPClient ¶
func (o *GetOrgProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org project params
func (*GetOrgProjectParams) SetMetaLatestDependencyTotal ¶
func (o *GetOrgProjectParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)
SetMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the get org project params
func (*GetOrgProjectParams) SetMetaLatestIssueCounts ¶
func (o *GetOrgProjectParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)
SetMetaLatestIssueCounts adds the metaLatestIssueCounts to the get org project params
func (*GetOrgProjectParams) SetOrgID ¶
func (o *GetOrgProjectParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get org project params
func (*GetOrgProjectParams) SetProjectID ¶
func (o *GetOrgProjectParams) SetProjectID(projectID strfmt.UUID)
SetProjectID adds the projectId to the get org project params
func (*GetOrgProjectParams) SetTimeout ¶
func (o *GetOrgProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org project params
func (*GetOrgProjectParams) SetVersion ¶
func (o *GetOrgProjectParams) SetVersion(version string)
SetVersion adds the version to the get org project params
func (*GetOrgProjectParams) WithContext ¶
func (o *GetOrgProjectParams) WithContext(ctx context.Context) *GetOrgProjectParams
WithContext adds the context to the get org project params
func (*GetOrgProjectParams) WithDefaults ¶
func (o *GetOrgProjectParams) WithDefaults() *GetOrgProjectParams
WithDefaults hydrates default values in the get org project params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgProjectParams) WithExpand ¶
func (o *GetOrgProjectParams) WithExpand(expand []string) *GetOrgProjectParams
WithExpand adds the expand to the get org project params
func (*GetOrgProjectParams) WithHTTPClient ¶
func (o *GetOrgProjectParams) WithHTTPClient(client *http.Client) *GetOrgProjectParams
WithHTTPClient adds the HTTPClient to the get org project params
func (*GetOrgProjectParams) WithMetaLatestDependencyTotal ¶
func (o *GetOrgProjectParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *GetOrgProjectParams
WithMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the get org project params
func (*GetOrgProjectParams) WithMetaLatestIssueCounts ¶
func (o *GetOrgProjectParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *GetOrgProjectParams
WithMetaLatestIssueCounts adds the metaLatestIssueCounts to the get org project params
func (*GetOrgProjectParams) WithOrgID ¶
func (o *GetOrgProjectParams) WithOrgID(orgID strfmt.UUID) *GetOrgProjectParams
WithOrgID adds the orgID to the get org project params
func (*GetOrgProjectParams) WithProjectID ¶
func (o *GetOrgProjectParams) WithProjectID(projectID strfmt.UUID) *GetOrgProjectParams
WithProjectID adds the projectID to the get org project params
func (*GetOrgProjectParams) WithTimeout ¶
func (o *GetOrgProjectParams) WithTimeout(timeout time.Duration) *GetOrgProjectParams
WithTimeout adds the timeout to the get org project params
func (*GetOrgProjectParams) WithVersion ¶
func (o *GetOrgProjectParams) WithVersion(version string) *GetOrgProjectParams
WithVersion adds the version to the get org project params
func (*GetOrgProjectParams) WriteToRequest ¶
func (o *GetOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgProjectReader ¶
type GetOrgProjectReader struct {
// contains filtered or unexported fields
}
GetOrgProjectReader is a Reader for the GetOrgProject structure.
func (*GetOrgProjectReader) ReadResponse ¶
func (o *GetOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgProjectUnauthorized ¶
type GetOrgProjectUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetOrgProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetOrgProjectUnauthorized ¶
func NewGetOrgProjectUnauthorized() *GetOrgProjectUnauthorized
NewGetOrgProjectUnauthorized creates a GetOrgProjectUnauthorized with default headers values
func (*GetOrgProjectUnauthorized) Code ¶
func (o *GetOrgProjectUnauthorized) Code() int
Code gets the status code for the get org project unauthorized response
func (*GetOrgProjectUnauthorized) Error ¶
func (o *GetOrgProjectUnauthorized) Error() string
func (*GetOrgProjectUnauthorized) GetPayload ¶
func (o *GetOrgProjectUnauthorized) GetPayload() *GetOrgProjectUnauthorizedBody
func (*GetOrgProjectUnauthorized) IsClientError ¶
func (o *GetOrgProjectUnauthorized) IsClientError() bool
IsClientError returns true when this get org project unauthorized response has a 4xx status code
func (*GetOrgProjectUnauthorized) IsCode ¶
func (o *GetOrgProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this get org project unauthorized response a status code equal to that given
func (*GetOrgProjectUnauthorized) IsRedirect ¶
func (o *GetOrgProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this get org project unauthorized response has a 3xx status code
func (*GetOrgProjectUnauthorized) IsServerError ¶
func (o *GetOrgProjectUnauthorized) IsServerError() bool
IsServerError returns true when this get org project unauthorized response has a 5xx status code
func (*GetOrgProjectUnauthorized) IsSuccess ¶
func (o *GetOrgProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this get org project unauthorized response has a 2xx status code
func (*GetOrgProjectUnauthorized) String ¶
func (o *GetOrgProjectUnauthorized) String() string
type GetOrgProjectUnauthorizedBody ¶
type GetOrgProjectUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgProjectUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetOrgProjectUnauthorizedBody get org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgProjectUnauthorizedBody
func (*GetOrgProjectUnauthorizedBody) ContextValidate ¶
func (o *GetOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project unauthorized body based on the context it is used
func (*GetOrgProjectUnauthorizedBody) MarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectUnauthorizedBody) UnmarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectUnauthorizedBodyErrorsItems0 ¶
type GetOrgProjectUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *GetOrgProjectUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetOrgProjectUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgProjectUnauthorizedBodyErrorsItems0 get org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0
func (*GetOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org project unauthorized body errors items0 based on the context it is used
func (*GetOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectUnauthorizedBodyErrorsItems0Links ¶
type GetOrgProjectUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0Links
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project unauthorized body errors items0 links based on context it is used
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectUnauthorizedBodyErrorsItems0Source ¶
type GetOrgProjectUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgProjectUnauthorizedBodyErrorsItems0Source get org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgProjectUnauthorizedBodyErrorsItems0Source
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project unauthorized body errors items0 source based on context it is used
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgProjectUnauthorizedBodyJsonapi ¶
type GetOrgProjectUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgProjectUnauthorizedBodyJsonapi get org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgProjectUnauthorizedBodyJsonapi
func (*GetOrgProjectUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org project unauthorized body jsonapi based on context it is used
func (*GetOrgProjectUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsBadRequest ¶
type ListOrgProjectsBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListOrgProjectsBadRequestBody }
ListOrgProjectsBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewListOrgProjectsBadRequest ¶
func NewListOrgProjectsBadRequest() *ListOrgProjectsBadRequest
NewListOrgProjectsBadRequest creates a ListOrgProjectsBadRequest with default headers values
func (*ListOrgProjectsBadRequest) Code ¶
func (o *ListOrgProjectsBadRequest) Code() int
Code gets the status code for the list org projects bad request response
func (*ListOrgProjectsBadRequest) Error ¶
func (o *ListOrgProjectsBadRequest) Error() string
func (*ListOrgProjectsBadRequest) GetPayload ¶
func (o *ListOrgProjectsBadRequest) GetPayload() *ListOrgProjectsBadRequestBody
func (*ListOrgProjectsBadRequest) IsClientError ¶
func (o *ListOrgProjectsBadRequest) IsClientError() bool
IsClientError returns true when this list org projects bad request response has a 4xx status code
func (*ListOrgProjectsBadRequest) IsCode ¶
func (o *ListOrgProjectsBadRequest) IsCode(code int) bool
IsCode returns true when this list org projects bad request response a status code equal to that given
func (*ListOrgProjectsBadRequest) IsRedirect ¶
func (o *ListOrgProjectsBadRequest) IsRedirect() bool
IsRedirect returns true when this list org projects bad request response has a 3xx status code
func (*ListOrgProjectsBadRequest) IsServerError ¶
func (o *ListOrgProjectsBadRequest) IsServerError() bool
IsServerError returns true when this list org projects bad request response has a 5xx status code
func (*ListOrgProjectsBadRequest) IsSuccess ¶
func (o *ListOrgProjectsBadRequest) IsSuccess() bool
IsSuccess returns true when this list org projects bad request response has a 2xx status code
func (*ListOrgProjectsBadRequest) String ¶
func (o *ListOrgProjectsBadRequest) String() string
type ListOrgProjectsBadRequestBody ¶
type ListOrgProjectsBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgProjectsBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgProjectsBadRequestBodyJsonapi `json:"jsonapi"` }
ListOrgProjectsBadRequestBody list org projects bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsBadRequestBody
func (*ListOrgProjectsBadRequestBody) ContextValidate ¶
func (o *ListOrgProjectsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects bad request body based on the context it is used
func (*ListOrgProjectsBadRequestBody) MarshalBinary ¶
func (o *ListOrgProjectsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsBadRequestBody) UnmarshalBinary ¶
func (o *ListOrgProjectsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsBadRequestBodyErrorsItems0 ¶
type ListOrgProjectsBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListOrgProjectsBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgProjectsBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgProjectsBadRequestBodyErrorsItems0 list org projects bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0
func (*ListOrgProjectsBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects bad request body errors items0 based on the context it is used
func (*ListOrgProjectsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsBadRequestBodyErrorsItems0Links ¶
type ListOrgProjectsBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgProjectsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0Links
func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects bad request body errors items0 links based on context it is used
func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsBadRequestBodyErrorsItems0Source ¶
type ListOrgProjectsBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgProjectsBadRequestBodyErrorsItems0Source list org projects bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsBadRequestBodyErrorsItems0Source
func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects bad request body errors items0 source based on context it is used
func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsBadRequestBodyJsonapi ¶
type ListOrgProjectsBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgProjectsBadRequestBodyJsonapi list org projects bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsBadRequestBodyJsonapi
func (*ListOrgProjectsBadRequestBodyJsonapi) ContextValidate ¶
func (o *ListOrgProjectsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects bad request body jsonapi based on context it is used
func (*ListOrgProjectsBadRequestBodyJsonapi) MarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgProjectsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsForbidden ¶
type ListOrgProjectsForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListOrgProjectsForbiddenBody }
ListOrgProjectsForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewListOrgProjectsForbidden ¶
func NewListOrgProjectsForbidden() *ListOrgProjectsForbidden
NewListOrgProjectsForbidden creates a ListOrgProjectsForbidden with default headers values
func (*ListOrgProjectsForbidden) Code ¶
func (o *ListOrgProjectsForbidden) Code() int
Code gets the status code for the list org projects forbidden response
func (*ListOrgProjectsForbidden) Error ¶
func (o *ListOrgProjectsForbidden) Error() string
func (*ListOrgProjectsForbidden) GetPayload ¶
func (o *ListOrgProjectsForbidden) GetPayload() *ListOrgProjectsForbiddenBody
func (*ListOrgProjectsForbidden) IsClientError ¶
func (o *ListOrgProjectsForbidden) IsClientError() bool
IsClientError returns true when this list org projects forbidden response has a 4xx status code
func (*ListOrgProjectsForbidden) IsCode ¶
func (o *ListOrgProjectsForbidden) IsCode(code int) bool
IsCode returns true when this list org projects forbidden response a status code equal to that given
func (*ListOrgProjectsForbidden) IsRedirect ¶
func (o *ListOrgProjectsForbidden) IsRedirect() bool
IsRedirect returns true when this list org projects forbidden response has a 3xx status code
func (*ListOrgProjectsForbidden) IsServerError ¶
func (o *ListOrgProjectsForbidden) IsServerError() bool
IsServerError returns true when this list org projects forbidden response has a 5xx status code
func (*ListOrgProjectsForbidden) IsSuccess ¶
func (o *ListOrgProjectsForbidden) IsSuccess() bool
IsSuccess returns true when this list org projects forbidden response has a 2xx status code
func (*ListOrgProjectsForbidden) String ¶
func (o *ListOrgProjectsForbidden) String() string
type ListOrgProjectsForbiddenBody ¶
type ListOrgProjectsForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgProjectsForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgProjectsForbiddenBodyJsonapi `json:"jsonapi"` }
ListOrgProjectsForbiddenBody list org projects forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsForbiddenBody
func (*ListOrgProjectsForbiddenBody) ContextValidate ¶
func (o *ListOrgProjectsForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects forbidden body based on the context it is used
func (*ListOrgProjectsForbiddenBody) MarshalBinary ¶
func (o *ListOrgProjectsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsForbiddenBody) UnmarshalBinary ¶
func (o *ListOrgProjectsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsForbiddenBodyErrorsItems0 ¶
type ListOrgProjectsForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListOrgProjectsForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgProjectsForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgProjectsForbiddenBodyErrorsItems0 list org projects forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0
func (*ListOrgProjectsForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects forbidden body errors items0 based on the context it is used
func (*ListOrgProjectsForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsForbiddenBodyErrorsItems0Links ¶
type ListOrgProjectsForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgProjectsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0Links
func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects forbidden body errors items0 links based on context it is used
func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsForbiddenBodyErrorsItems0Source ¶
type ListOrgProjectsForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgProjectsForbiddenBodyErrorsItems0Source list org projects forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsForbiddenBodyErrorsItems0Source
func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects forbidden body errors items0 source based on context it is used
func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsForbiddenBodyJsonapi ¶
type ListOrgProjectsForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgProjectsForbiddenBodyJsonapi list org projects forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsForbiddenBodyJsonapi
func (*ListOrgProjectsForbiddenBodyJsonapi) ContextValidate ¶
func (o *ListOrgProjectsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects forbidden body jsonapi based on context it is used
func (*ListOrgProjectsForbiddenBodyJsonapi) MarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgProjectsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsInternalServerError ¶
type ListOrgProjectsInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListOrgProjectsInternalServerErrorBody }
ListOrgProjectsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewListOrgProjectsInternalServerError ¶
func NewListOrgProjectsInternalServerError() *ListOrgProjectsInternalServerError
NewListOrgProjectsInternalServerError creates a ListOrgProjectsInternalServerError with default headers values
func (*ListOrgProjectsInternalServerError) Code ¶
func (o *ListOrgProjectsInternalServerError) Code() int
Code gets the status code for the list org projects internal server error response
func (*ListOrgProjectsInternalServerError) Error ¶
func (o *ListOrgProjectsInternalServerError) Error() string
func (*ListOrgProjectsInternalServerError) GetPayload ¶
func (o *ListOrgProjectsInternalServerError) GetPayload() *ListOrgProjectsInternalServerErrorBody
func (*ListOrgProjectsInternalServerError) IsClientError ¶
func (o *ListOrgProjectsInternalServerError) IsClientError() bool
IsClientError returns true when this list org projects internal server error response has a 4xx status code
func (*ListOrgProjectsInternalServerError) IsCode ¶
func (o *ListOrgProjectsInternalServerError) IsCode(code int) bool
IsCode returns true when this list org projects internal server error response a status code equal to that given
func (*ListOrgProjectsInternalServerError) IsRedirect ¶
func (o *ListOrgProjectsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list org projects internal server error response has a 3xx status code
func (*ListOrgProjectsInternalServerError) IsServerError ¶
func (o *ListOrgProjectsInternalServerError) IsServerError() bool
IsServerError returns true when this list org projects internal server error response has a 5xx status code
func (*ListOrgProjectsInternalServerError) IsSuccess ¶
func (o *ListOrgProjectsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list org projects internal server error response has a 2xx status code
func (*ListOrgProjectsInternalServerError) String ¶
func (o *ListOrgProjectsInternalServerError) String() string
type ListOrgProjectsInternalServerErrorBody ¶
type ListOrgProjectsInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgProjectsInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgProjectsInternalServerErrorBodyJsonapi `json:"jsonapi"` }
ListOrgProjectsInternalServerErrorBody list org projects internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsInternalServerErrorBody
func (*ListOrgProjectsInternalServerErrorBody) ContextValidate ¶
func (o *ListOrgProjectsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects internal server error body based on the context it is used
func (*ListOrgProjectsInternalServerErrorBody) MarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsInternalServerErrorBodyErrorsItems0 ¶
type ListOrgProjectsInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgProjectsInternalServerErrorBodyErrorsItems0 list org projects internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects internal server error body errors items0 based on the context it is used
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsInternalServerErrorBodyErrorsItems0Links ¶
type ListOrgProjectsInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgProjectsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0Links
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects internal server error body errors items0 links based on context it is used
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsInternalServerErrorBodyErrorsItems0Source ¶
type ListOrgProjectsInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgProjectsInternalServerErrorBodyErrorsItems0Source list org projects internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsInternalServerErrorBodyErrorsItems0Source
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects internal server error body errors items0 source based on context it is used
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsInternalServerErrorBodyJsonapi ¶
type ListOrgProjectsInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgProjectsInternalServerErrorBodyJsonapi list org projects internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsInternalServerErrorBodyJsonapi
func (*ListOrgProjectsInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects internal server error body jsonapi based on context it is used
func (*ListOrgProjectsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgProjectsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsNotFound ¶
type ListOrgProjectsNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListOrgProjectsNotFoundBody }
ListOrgProjectsNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewListOrgProjectsNotFound ¶
func NewListOrgProjectsNotFound() *ListOrgProjectsNotFound
NewListOrgProjectsNotFound creates a ListOrgProjectsNotFound with default headers values
func (*ListOrgProjectsNotFound) Code ¶
func (o *ListOrgProjectsNotFound) Code() int
Code gets the status code for the list org projects not found response
func (*ListOrgProjectsNotFound) Error ¶
func (o *ListOrgProjectsNotFound) Error() string
func (*ListOrgProjectsNotFound) GetPayload ¶
func (o *ListOrgProjectsNotFound) GetPayload() *ListOrgProjectsNotFoundBody
func (*ListOrgProjectsNotFound) IsClientError ¶
func (o *ListOrgProjectsNotFound) IsClientError() bool
IsClientError returns true when this list org projects not found response has a 4xx status code
func (*ListOrgProjectsNotFound) IsCode ¶
func (o *ListOrgProjectsNotFound) IsCode(code int) bool
IsCode returns true when this list org projects not found response a status code equal to that given
func (*ListOrgProjectsNotFound) IsRedirect ¶
func (o *ListOrgProjectsNotFound) IsRedirect() bool
IsRedirect returns true when this list org projects not found response has a 3xx status code
func (*ListOrgProjectsNotFound) IsServerError ¶
func (o *ListOrgProjectsNotFound) IsServerError() bool
IsServerError returns true when this list org projects not found response has a 5xx status code
func (*ListOrgProjectsNotFound) IsSuccess ¶
func (o *ListOrgProjectsNotFound) IsSuccess() bool
IsSuccess returns true when this list org projects not found response has a 2xx status code
func (*ListOrgProjectsNotFound) String ¶
func (o *ListOrgProjectsNotFound) String() string
type ListOrgProjectsNotFoundBody ¶
type ListOrgProjectsNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgProjectsNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgProjectsNotFoundBodyJsonapi `json:"jsonapi"` }
ListOrgProjectsNotFoundBody list org projects not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsNotFoundBody
func (*ListOrgProjectsNotFoundBody) ContextValidate ¶
func (o *ListOrgProjectsNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects not found body based on the context it is used
func (*ListOrgProjectsNotFoundBody) MarshalBinary ¶
func (o *ListOrgProjectsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsNotFoundBody) UnmarshalBinary ¶
func (o *ListOrgProjectsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsNotFoundBodyErrorsItems0 ¶
type ListOrgProjectsNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *ListOrgProjectsNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgProjectsNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgProjectsNotFoundBodyErrorsItems0 list org projects not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0
func (*ListOrgProjectsNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects not found body errors items0 based on the context it is used
func (*ListOrgProjectsNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsNotFoundBodyErrorsItems0Links ¶
type ListOrgProjectsNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgProjectsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0Links
func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects not found body errors items0 links based on context it is used
func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsNotFoundBodyErrorsItems0Source ¶
type ListOrgProjectsNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgProjectsNotFoundBodyErrorsItems0Source list org projects not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsNotFoundBodyErrorsItems0Source
func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects not found body errors items0 source based on context it is used
func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsNotFoundBodyJsonapi ¶
type ListOrgProjectsNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgProjectsNotFoundBodyJsonapi list org projects not found body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsNotFoundBodyJsonapi
func (*ListOrgProjectsNotFoundBodyJsonapi) ContextValidate ¶
func (o *ListOrgProjectsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects not found body jsonapi based on context it is used
func (*ListOrgProjectsNotFoundBodyJsonapi) MarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgProjectsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsOK ¶
type ListOrgProjectsOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *ListOrgProjectsOKBody }
ListOrgProjectsOK describes a response with status code 200, with default header values.
A list of projects is returned for the targeted org
func NewListOrgProjectsOK ¶
func NewListOrgProjectsOK() *ListOrgProjectsOK
NewListOrgProjectsOK creates a ListOrgProjectsOK with default headers values
func (*ListOrgProjectsOK) Code ¶
func (o *ListOrgProjectsOK) Code() int
Code gets the status code for the list org projects o k response
func (*ListOrgProjectsOK) Error ¶
func (o *ListOrgProjectsOK) Error() string
func (*ListOrgProjectsOK) GetPayload ¶
func (o *ListOrgProjectsOK) GetPayload() *ListOrgProjectsOKBody
func (*ListOrgProjectsOK) IsClientError ¶
func (o *ListOrgProjectsOK) IsClientError() bool
IsClientError returns true when this list org projects o k response has a 4xx status code
func (*ListOrgProjectsOK) IsCode ¶
func (o *ListOrgProjectsOK) IsCode(code int) bool
IsCode returns true when this list org projects o k response a status code equal to that given
func (*ListOrgProjectsOK) IsRedirect ¶
func (o *ListOrgProjectsOK) IsRedirect() bool
IsRedirect returns true when this list org projects o k response has a 3xx status code
func (*ListOrgProjectsOK) IsServerError ¶
func (o *ListOrgProjectsOK) IsServerError() bool
IsServerError returns true when this list org projects o k response has a 5xx status code
func (*ListOrgProjectsOK) IsSuccess ¶
func (o *ListOrgProjectsOK) IsSuccess() bool
IsSuccess returns true when this list org projects o k response has a 2xx status code
func (*ListOrgProjectsOK) String ¶
func (o *ListOrgProjectsOK) String() string
type ListOrgProjectsOKBody ¶
type ListOrgProjectsOKBody struct { // data Data []*ListOrgProjectsOKBodyDataItems0 `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.Links `json:"links"` // meta Meta *ListOrgProjectsOKBodyMeta `json:"meta,omitempty"` }
ListOrgProjectsOKBody list org projects o k body swagger:model ListOrgProjectsOKBody
func (*ListOrgProjectsOKBody) ContextValidate ¶
ContextValidate validate this list org projects o k body based on the context it is used
func (*ListOrgProjectsOKBody) MarshalBinary ¶
func (o *ListOrgProjectsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsOKBody) UnmarshalBinary ¶
func (o *ListOrgProjectsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsOKBodyDataItems0 ¶
type ListOrgProjectsOKBodyDataItems0 struct { // attributes // Required: true Attributes *models.ProjectAttributes `json:"attributes"` // Resource ID. // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // meta Meta *ListOrgProjectsOKBodyDataItems0Meta `json:"meta,omitempty"` // relationships Relationships *models.ProjectRelationships `json:"relationships,omitempty"` // The Resource type. // Example: project // Required: true Type *string `json:"type"` }
ListOrgProjectsOKBodyDataItems0 list org projects o k body data items0 swagger:model ListOrgProjectsOKBodyDataItems0
func (*ListOrgProjectsOKBodyDataItems0) ContextValidate ¶
func (o *ListOrgProjectsOKBodyDataItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects o k body data items0 based on the context it is used
func (*ListOrgProjectsOKBodyDataItems0) MarshalBinary ¶
func (o *ListOrgProjectsOKBodyDataItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsOKBodyDataItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsOKBodyDataItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsOKBodyDataItems0Meta ¶
type ListOrgProjectsOKBodyDataItems0Meta struct { // The date that the project was last uploaded and monitored using cli. // Example: 2021-05-29T09:50:54.014Z // Format: date-time CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"` // latest dependency total LatestDependencyTotal *models.LatestDependencyTotal `json:"latest_dependency_total,omitempty"` // latest issue counts LatestIssueCounts *models.LatestIssueCounts `json:"latest_issue_counts,omitempty"` }
ListOrgProjectsOKBodyDataItems0Meta list org projects o k body data items0 meta swagger:model ListOrgProjectsOKBodyDataItems0Meta
func (*ListOrgProjectsOKBodyDataItems0Meta) ContextValidate ¶
func (o *ListOrgProjectsOKBodyDataItems0Meta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects o k body data items0 meta based on the context it is used
func (*ListOrgProjectsOKBodyDataItems0Meta) MarshalBinary ¶
func (o *ListOrgProjectsOKBodyDataItems0Meta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsOKBodyDataItems0Meta) UnmarshalBinary ¶
func (o *ListOrgProjectsOKBodyDataItems0Meta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsOKBodyMeta ¶
type ListOrgProjectsOKBodyMeta struct { // count // Minimum: 0 Count *float64 `json:"count,omitempty"` }
ListOrgProjectsOKBodyMeta list org projects o k body meta swagger:model ListOrgProjectsOKBodyMeta
func (*ListOrgProjectsOKBodyMeta) ContextValidate ¶
func (o *ListOrgProjectsOKBodyMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects o k body meta based on context it is used
func (*ListOrgProjectsOKBodyMeta) MarshalBinary ¶
func (o *ListOrgProjectsOKBodyMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsOKBodyMeta) UnmarshalBinary ¶
func (o *ListOrgProjectsOKBodyMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsParams ¶
type ListOrgProjectsParams struct { /* BusinessCriticality. Return projects that match all the provided business_criticality value */ BusinessCriticality []string /* CliMonitoredAfter. Filter projects uploaded and monitored after this date (encoded value) Format: date-time */ CliMonitoredAfter *strfmt.DateTime /* CliMonitoredBefore. Filter projects uploaded and monitored before this date (encoded value) Format: date-time */ CliMonitoredBefore *strfmt.DateTime /* EndingBefore. Return the page of results immediately before this cursor */ EndingBefore *string /* Environment. Return projects that match all the provided environment values */ Environment []string /* Expand. Expand relationships. */ Expand []string /* Ids. Return projects that match the provided IDs. */ Ids []strfmt.UUID /* ImportingUserPublicID. Return projects that match the provided importing user public ids. */ ImportingUserPublicID []string /* Lifecycle. Return projects that match all the provided lifecycle values */ Lifecycle []string /* Limit. Number of results to return per page Format: int32 Default: 10 */ Limit *int32 /* MetaLatestDependencyTotal. Include the total number of dependencies found in the most recent scan of this project */ MetaLatestDependencyTotal *bool /* MetaLatestIssueCounts. Include a summary count for the issues found in the most recent scan of this project */ MetaLatestIssueCounts *bool /* MetaCount. The collection count. */ MetaCount *string /* Names. Return projects that match the provided names. */ Names []string /* OrgID. The ID of the org that the projects belong to. Format: uuid */ OrgID strfmt.UUID /* Origins. Return projects that match the provided origins. */ Origins []string /* StartingAfter. Return the page of results immediately after this cursor */ StartingAfter *string /* Tags. Return projects that match all the provided tags */ Tags []string /* TargetFile. Return projects that match the provided target file */ TargetFile *string /* TargetID. Return projects that belong to the provided targets */ TargetID []strfmt.UUID /* TargetReference. Return projects that match the provided target reference */ TargetReference *string /* TargetRuntime. Return projects that match the provided target runtime */ TargetRuntime *string /* Types. Return projects that match the provided types. */ Types []string /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListOrgProjectsParams contains all the parameters to send to the API endpoint
for the list org projects operation. Typically these are written to a http.Request.
func NewListOrgProjectsParams ¶
func NewListOrgProjectsParams() *ListOrgProjectsParams
NewListOrgProjectsParams creates a new ListOrgProjectsParams 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 NewListOrgProjectsParamsWithContext ¶
func NewListOrgProjectsParamsWithContext(ctx context.Context) *ListOrgProjectsParams
NewListOrgProjectsParamsWithContext creates a new ListOrgProjectsParams object with the ability to set a context for a request.
func NewListOrgProjectsParamsWithHTTPClient ¶
func NewListOrgProjectsParamsWithHTTPClient(client *http.Client) *ListOrgProjectsParams
NewListOrgProjectsParamsWithHTTPClient creates a new ListOrgProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrgProjectsParamsWithTimeout ¶
func NewListOrgProjectsParamsWithTimeout(timeout time.Duration) *ListOrgProjectsParams
NewListOrgProjectsParamsWithTimeout creates a new ListOrgProjectsParams object with the ability to set a timeout on a request.
func (*ListOrgProjectsParams) SetBusinessCriticality ¶
func (o *ListOrgProjectsParams) SetBusinessCriticality(businessCriticality []string)
SetBusinessCriticality adds the businessCriticality to the list org projects params
func (*ListOrgProjectsParams) SetCliMonitoredAfter ¶
func (o *ListOrgProjectsParams) SetCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime)
SetCliMonitoredAfter adds the cliMonitoredAfter to the list org projects params
func (*ListOrgProjectsParams) SetCliMonitoredBefore ¶
func (o *ListOrgProjectsParams) SetCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime)
SetCliMonitoredBefore adds the cliMonitoredBefore to the list org projects params
func (*ListOrgProjectsParams) SetContext ¶
func (o *ListOrgProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the list org projects params
func (*ListOrgProjectsParams) SetDefaults ¶
func (o *ListOrgProjectsParams) SetDefaults()
SetDefaults hydrates default values in the list org projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgProjectsParams) SetEndingBefore ¶
func (o *ListOrgProjectsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the list org projects params
func (*ListOrgProjectsParams) SetEnvironment ¶
func (o *ListOrgProjectsParams) SetEnvironment(environment []string)
SetEnvironment adds the environment to the list org projects params
func (*ListOrgProjectsParams) SetExpand ¶
func (o *ListOrgProjectsParams) SetExpand(expand []string)
SetExpand adds the expand to the list org projects params
func (*ListOrgProjectsParams) SetHTTPClient ¶
func (o *ListOrgProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list org projects params
func (*ListOrgProjectsParams) SetIds ¶
func (o *ListOrgProjectsParams) SetIds(ids []strfmt.UUID)
SetIds adds the ids to the list org projects params
func (*ListOrgProjectsParams) SetImportingUserPublicID ¶
func (o *ListOrgProjectsParams) SetImportingUserPublicID(importingUserPublicID []string)
SetImportingUserPublicID adds the importingUserPublicId to the list org projects params
func (*ListOrgProjectsParams) SetLifecycle ¶
func (o *ListOrgProjectsParams) SetLifecycle(lifecycle []string)
SetLifecycle adds the lifecycle to the list org projects params
func (*ListOrgProjectsParams) SetLimit ¶
func (o *ListOrgProjectsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list org projects params
func (*ListOrgProjectsParams) SetMetaCount ¶
func (o *ListOrgProjectsParams) SetMetaCount(metaCount *string)
SetMetaCount adds the metaCount to the list org projects params
func (*ListOrgProjectsParams) SetMetaLatestDependencyTotal ¶
func (o *ListOrgProjectsParams) SetMetaLatestDependencyTotal(metaLatestDependencyTotal *bool)
SetMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the list org projects params
func (*ListOrgProjectsParams) SetMetaLatestIssueCounts ¶
func (o *ListOrgProjectsParams) SetMetaLatestIssueCounts(metaLatestIssueCounts *bool)
SetMetaLatestIssueCounts adds the metaLatestIssueCounts to the list org projects params
func (*ListOrgProjectsParams) SetNames ¶
func (o *ListOrgProjectsParams) SetNames(names []string)
SetNames adds the names to the list org projects params
func (*ListOrgProjectsParams) SetOrgID ¶
func (o *ListOrgProjectsParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the list org projects params
func (*ListOrgProjectsParams) SetOrigins ¶
func (o *ListOrgProjectsParams) SetOrigins(origins []string)
SetOrigins adds the origins to the list org projects params
func (*ListOrgProjectsParams) SetStartingAfter ¶
func (o *ListOrgProjectsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the list org projects params
func (*ListOrgProjectsParams) SetTags ¶
func (o *ListOrgProjectsParams) SetTags(tags []string)
SetTags adds the tags to the list org projects params
func (*ListOrgProjectsParams) SetTargetFile ¶
func (o *ListOrgProjectsParams) SetTargetFile(targetFile *string)
SetTargetFile adds the targetFile to the list org projects params
func (*ListOrgProjectsParams) SetTargetID ¶
func (o *ListOrgProjectsParams) SetTargetID(targetID []strfmt.UUID)
SetTargetID adds the targetId to the list org projects params
func (*ListOrgProjectsParams) SetTargetReference ¶
func (o *ListOrgProjectsParams) SetTargetReference(targetReference *string)
SetTargetReference adds the targetReference to the list org projects params
func (*ListOrgProjectsParams) SetTargetRuntime ¶
func (o *ListOrgProjectsParams) SetTargetRuntime(targetRuntime *string)
SetTargetRuntime adds the targetRuntime to the list org projects params
func (*ListOrgProjectsParams) SetTimeout ¶
func (o *ListOrgProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list org projects params
func (*ListOrgProjectsParams) SetTypes ¶
func (o *ListOrgProjectsParams) SetTypes(types []string)
SetTypes adds the types to the list org projects params
func (*ListOrgProjectsParams) SetVersion ¶
func (o *ListOrgProjectsParams) SetVersion(version string)
SetVersion adds the version to the list org projects params
func (*ListOrgProjectsParams) WithBusinessCriticality ¶
func (o *ListOrgProjectsParams) WithBusinessCriticality(businessCriticality []string) *ListOrgProjectsParams
WithBusinessCriticality adds the businessCriticality to the list org projects params
func (*ListOrgProjectsParams) WithCliMonitoredAfter ¶
func (o *ListOrgProjectsParams) WithCliMonitoredAfter(cliMonitoredAfter *strfmt.DateTime) *ListOrgProjectsParams
WithCliMonitoredAfter adds the cliMonitoredAfter to the list org projects params
func (*ListOrgProjectsParams) WithCliMonitoredBefore ¶
func (o *ListOrgProjectsParams) WithCliMonitoredBefore(cliMonitoredBefore *strfmt.DateTime) *ListOrgProjectsParams
WithCliMonitoredBefore adds the cliMonitoredBefore to the list org projects params
func (*ListOrgProjectsParams) WithContext ¶
func (o *ListOrgProjectsParams) WithContext(ctx context.Context) *ListOrgProjectsParams
WithContext adds the context to the list org projects params
func (*ListOrgProjectsParams) WithDefaults ¶
func (o *ListOrgProjectsParams) WithDefaults() *ListOrgProjectsParams
WithDefaults hydrates default values in the list org projects params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgProjectsParams) WithEndingBefore ¶
func (o *ListOrgProjectsParams) WithEndingBefore(endingBefore *string) *ListOrgProjectsParams
WithEndingBefore adds the endingBefore to the list org projects params
func (*ListOrgProjectsParams) WithEnvironment ¶
func (o *ListOrgProjectsParams) WithEnvironment(environment []string) *ListOrgProjectsParams
WithEnvironment adds the environment to the list org projects params
func (*ListOrgProjectsParams) WithExpand ¶
func (o *ListOrgProjectsParams) WithExpand(expand []string) *ListOrgProjectsParams
WithExpand adds the expand to the list org projects params
func (*ListOrgProjectsParams) WithHTTPClient ¶
func (o *ListOrgProjectsParams) WithHTTPClient(client *http.Client) *ListOrgProjectsParams
WithHTTPClient adds the HTTPClient to the list org projects params
func (*ListOrgProjectsParams) WithIds ¶
func (o *ListOrgProjectsParams) WithIds(ids []strfmt.UUID) *ListOrgProjectsParams
WithIds adds the ids to the list org projects params
func (*ListOrgProjectsParams) WithImportingUserPublicID ¶
func (o *ListOrgProjectsParams) WithImportingUserPublicID(importingUserPublicID []string) *ListOrgProjectsParams
WithImportingUserPublicID adds the importingUserPublicID to the list org projects params
func (*ListOrgProjectsParams) WithLifecycle ¶
func (o *ListOrgProjectsParams) WithLifecycle(lifecycle []string) *ListOrgProjectsParams
WithLifecycle adds the lifecycle to the list org projects params
func (*ListOrgProjectsParams) WithLimit ¶
func (o *ListOrgProjectsParams) WithLimit(limit *int32) *ListOrgProjectsParams
WithLimit adds the limit to the list org projects params
func (*ListOrgProjectsParams) WithMetaCount ¶
func (o *ListOrgProjectsParams) WithMetaCount(metaCount *string) *ListOrgProjectsParams
WithMetaCount adds the metaCount to the list org projects params
func (*ListOrgProjectsParams) WithMetaLatestDependencyTotal ¶
func (o *ListOrgProjectsParams) WithMetaLatestDependencyTotal(metaLatestDependencyTotal *bool) *ListOrgProjectsParams
WithMetaLatestDependencyTotal adds the metaLatestDependencyTotal to the list org projects params
func (*ListOrgProjectsParams) WithMetaLatestIssueCounts ¶
func (o *ListOrgProjectsParams) WithMetaLatestIssueCounts(metaLatestIssueCounts *bool) *ListOrgProjectsParams
WithMetaLatestIssueCounts adds the metaLatestIssueCounts to the list org projects params
func (*ListOrgProjectsParams) WithNames ¶
func (o *ListOrgProjectsParams) WithNames(names []string) *ListOrgProjectsParams
WithNames adds the names to the list org projects params
func (*ListOrgProjectsParams) WithOrgID ¶
func (o *ListOrgProjectsParams) WithOrgID(orgID strfmt.UUID) *ListOrgProjectsParams
WithOrgID adds the orgID to the list org projects params
func (*ListOrgProjectsParams) WithOrigins ¶
func (o *ListOrgProjectsParams) WithOrigins(origins []string) *ListOrgProjectsParams
WithOrigins adds the origins to the list org projects params
func (*ListOrgProjectsParams) WithStartingAfter ¶
func (o *ListOrgProjectsParams) WithStartingAfter(startingAfter *string) *ListOrgProjectsParams
WithStartingAfter adds the startingAfter to the list org projects params
func (*ListOrgProjectsParams) WithTags ¶
func (o *ListOrgProjectsParams) WithTags(tags []string) *ListOrgProjectsParams
WithTags adds the tags to the list org projects params
func (*ListOrgProjectsParams) WithTargetFile ¶
func (o *ListOrgProjectsParams) WithTargetFile(targetFile *string) *ListOrgProjectsParams
WithTargetFile adds the targetFile to the list org projects params
func (*ListOrgProjectsParams) WithTargetID ¶
func (o *ListOrgProjectsParams) WithTargetID(targetID []strfmt.UUID) *ListOrgProjectsParams
WithTargetID adds the targetID to the list org projects params
func (*ListOrgProjectsParams) WithTargetReference ¶
func (o *ListOrgProjectsParams) WithTargetReference(targetReference *string) *ListOrgProjectsParams
WithTargetReference adds the targetReference to the list org projects params
func (*ListOrgProjectsParams) WithTargetRuntime ¶
func (o *ListOrgProjectsParams) WithTargetRuntime(targetRuntime *string) *ListOrgProjectsParams
WithTargetRuntime adds the targetRuntime to the list org projects params
func (*ListOrgProjectsParams) WithTimeout ¶
func (o *ListOrgProjectsParams) WithTimeout(timeout time.Duration) *ListOrgProjectsParams
WithTimeout adds the timeout to the list org projects params
func (*ListOrgProjectsParams) WithTypes ¶
func (o *ListOrgProjectsParams) WithTypes(types []string) *ListOrgProjectsParams
WithTypes adds the types to the list org projects params
func (*ListOrgProjectsParams) WithVersion ¶
func (o *ListOrgProjectsParams) WithVersion(version string) *ListOrgProjectsParams
WithVersion adds the version to the list org projects params
func (*ListOrgProjectsParams) WriteToRequest ¶
func (o *ListOrgProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrgProjectsReader ¶
type ListOrgProjectsReader struct {
// contains filtered or unexported fields
}
ListOrgProjectsReader is a Reader for the ListOrgProjects structure.
func (*ListOrgProjectsReader) ReadResponse ¶
func (o *ListOrgProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrgProjectsUnauthorized ¶
type ListOrgProjectsUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
ListOrgProjectsUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewListOrgProjectsUnauthorized ¶
func NewListOrgProjectsUnauthorized() *ListOrgProjectsUnauthorized
NewListOrgProjectsUnauthorized creates a ListOrgProjectsUnauthorized with default headers values
func (*ListOrgProjectsUnauthorized) Code ¶
func (o *ListOrgProjectsUnauthorized) Code() int
Code gets the status code for the list org projects unauthorized response
func (*ListOrgProjectsUnauthorized) Error ¶
func (o *ListOrgProjectsUnauthorized) Error() string
func (*ListOrgProjectsUnauthorized) GetPayload ¶
func (o *ListOrgProjectsUnauthorized) GetPayload() *ListOrgProjectsUnauthorizedBody
func (*ListOrgProjectsUnauthorized) IsClientError ¶
func (o *ListOrgProjectsUnauthorized) IsClientError() bool
IsClientError returns true when this list org projects unauthorized response has a 4xx status code
func (*ListOrgProjectsUnauthorized) IsCode ¶
func (o *ListOrgProjectsUnauthorized) IsCode(code int) bool
IsCode returns true when this list org projects unauthorized response a status code equal to that given
func (*ListOrgProjectsUnauthorized) IsRedirect ¶
func (o *ListOrgProjectsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list org projects unauthorized response has a 3xx status code
func (*ListOrgProjectsUnauthorized) IsServerError ¶
func (o *ListOrgProjectsUnauthorized) IsServerError() bool
IsServerError returns true when this list org projects unauthorized response has a 5xx status code
func (*ListOrgProjectsUnauthorized) IsSuccess ¶
func (o *ListOrgProjectsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list org projects unauthorized response has a 2xx status code
func (*ListOrgProjectsUnauthorized) String ¶
func (o *ListOrgProjectsUnauthorized) String() string
type ListOrgProjectsUnauthorizedBody ¶
type ListOrgProjectsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgProjectsUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *ListOrgProjectsUnauthorizedBodyJsonapi `json:"jsonapi"` }
ListOrgProjectsUnauthorizedBody list org projects unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgProjectsUnauthorizedBody
func (*ListOrgProjectsUnauthorizedBody) ContextValidate ¶
func (o *ListOrgProjectsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects unauthorized body based on the context it is used
func (*ListOrgProjectsUnauthorizedBody) MarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsUnauthorizedBodyErrorsItems0 ¶
type ListOrgProjectsUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *ListOrgProjectsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *ListOrgProjectsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgProjectsUnauthorizedBodyErrorsItems0 list org projects unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list org projects unauthorized body errors items0 based on the context it is used
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsUnauthorizedBodyErrorsItems0Links ¶
type ListOrgProjectsUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgProjectsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0Links
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects unauthorized body errors items0 links based on context it is used
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsUnauthorizedBodyErrorsItems0Source ¶
type ListOrgProjectsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgProjectsUnauthorizedBodyErrorsItems0Source list org projects unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgProjectsUnauthorizedBodyErrorsItems0Source
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects unauthorized body errors items0 source based on context it is used
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgProjectsUnauthorizedBodyJsonapi ¶
type ListOrgProjectsUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgProjectsUnauthorizedBodyJsonapi list org projects unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgProjectsUnauthorizedBodyJsonapi
func (*ListOrgProjectsUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *ListOrgProjectsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list org projects unauthorized body jsonapi based on context it is used
func (*ListOrgProjectsUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgProjectsUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgProjectsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectBadRequest ¶
type UpdateOrgProjectBadRequest struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateOrgProjectBadRequestBody }
UpdateOrgProjectBadRequest describes a response with status code 400, with default header values.
Bad Request: A parameter provided as a part of the request was invalid.
func NewUpdateOrgProjectBadRequest ¶
func NewUpdateOrgProjectBadRequest() *UpdateOrgProjectBadRequest
NewUpdateOrgProjectBadRequest creates a UpdateOrgProjectBadRequest with default headers values
func (*UpdateOrgProjectBadRequest) Code ¶
func (o *UpdateOrgProjectBadRequest) Code() int
Code gets the status code for the update org project bad request response
func (*UpdateOrgProjectBadRequest) Error ¶
func (o *UpdateOrgProjectBadRequest) Error() string
func (*UpdateOrgProjectBadRequest) GetPayload ¶
func (o *UpdateOrgProjectBadRequest) GetPayload() *UpdateOrgProjectBadRequestBody
func (*UpdateOrgProjectBadRequest) IsClientError ¶
func (o *UpdateOrgProjectBadRequest) IsClientError() bool
IsClientError returns true when this update org project bad request response has a 4xx status code
func (*UpdateOrgProjectBadRequest) IsCode ¶
func (o *UpdateOrgProjectBadRequest) IsCode(code int) bool
IsCode returns true when this update org project bad request response a status code equal to that given
func (*UpdateOrgProjectBadRequest) IsRedirect ¶
func (o *UpdateOrgProjectBadRequest) IsRedirect() bool
IsRedirect returns true when this update org project bad request response has a 3xx status code
func (*UpdateOrgProjectBadRequest) IsServerError ¶
func (o *UpdateOrgProjectBadRequest) IsServerError() bool
IsServerError returns true when this update org project bad request response has a 5xx status code
func (*UpdateOrgProjectBadRequest) IsSuccess ¶
func (o *UpdateOrgProjectBadRequest) IsSuccess() bool
IsSuccess returns true when this update org project bad request response has a 2xx status code
func (*UpdateOrgProjectBadRequest) String ¶
func (o *UpdateOrgProjectBadRequest) String() string
type UpdateOrgProjectBadRequestBody ¶
type UpdateOrgProjectBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgProjectBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgProjectBadRequestBodyJsonapi `json:"jsonapi"` }
UpdateOrgProjectBadRequestBody update org project bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectBadRequestBody
func (*UpdateOrgProjectBadRequestBody) ContextValidate ¶
func (o *UpdateOrgProjectBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project bad request body based on the context it is used
func (*UpdateOrgProjectBadRequestBody) MarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectBadRequestBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectBadRequestBodyErrorsItems0 ¶
type UpdateOrgProjectBadRequestBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateOrgProjectBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgProjectBadRequestBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgProjectBadRequestBodyErrorsItems0 update org project bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0
func (*UpdateOrgProjectBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project bad request body errors items0 based on the context it is used
func (*UpdateOrgProjectBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectBadRequestBodyErrorsItems0Links ¶
type UpdateOrgProjectBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgProjectBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0Links
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project bad request body errors items0 links based on context it is used
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectBadRequestBodyErrorsItems0Source ¶
type UpdateOrgProjectBadRequestBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgProjectBadRequestBodyErrorsItems0Source update org project bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectBadRequestBodyErrorsItems0Source
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project bad request body errors items0 source based on context it is used
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectBadRequestBodyJsonapi ¶
type UpdateOrgProjectBadRequestBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgProjectBadRequestBodyJsonapi update org project bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectBadRequestBodyJsonapi
func (*UpdateOrgProjectBadRequestBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgProjectBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project bad request body jsonapi based on context it is used
func (*UpdateOrgProjectBadRequestBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgProjectBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectForbidden ¶
type UpdateOrgProjectForbidden struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateOrgProjectForbiddenBody }
UpdateOrgProjectForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewUpdateOrgProjectForbidden ¶
func NewUpdateOrgProjectForbidden() *UpdateOrgProjectForbidden
NewUpdateOrgProjectForbidden creates a UpdateOrgProjectForbidden with default headers values
func (*UpdateOrgProjectForbidden) Code ¶
func (o *UpdateOrgProjectForbidden) Code() int
Code gets the status code for the update org project forbidden response
func (*UpdateOrgProjectForbidden) Error ¶
func (o *UpdateOrgProjectForbidden) Error() string
func (*UpdateOrgProjectForbidden) GetPayload ¶
func (o *UpdateOrgProjectForbidden) GetPayload() *UpdateOrgProjectForbiddenBody
func (*UpdateOrgProjectForbidden) IsClientError ¶
func (o *UpdateOrgProjectForbidden) IsClientError() bool
IsClientError returns true when this update org project forbidden response has a 4xx status code
func (*UpdateOrgProjectForbidden) IsCode ¶
func (o *UpdateOrgProjectForbidden) IsCode(code int) bool
IsCode returns true when this update org project forbidden response a status code equal to that given
func (*UpdateOrgProjectForbidden) IsRedirect ¶
func (o *UpdateOrgProjectForbidden) IsRedirect() bool
IsRedirect returns true when this update org project forbidden response has a 3xx status code
func (*UpdateOrgProjectForbidden) IsServerError ¶
func (o *UpdateOrgProjectForbidden) IsServerError() bool
IsServerError returns true when this update org project forbidden response has a 5xx status code
func (*UpdateOrgProjectForbidden) IsSuccess ¶
func (o *UpdateOrgProjectForbidden) IsSuccess() bool
IsSuccess returns true when this update org project forbidden response has a 2xx status code
func (*UpdateOrgProjectForbidden) String ¶
func (o *UpdateOrgProjectForbidden) String() string
type UpdateOrgProjectForbiddenBody ¶
type UpdateOrgProjectForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgProjectForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgProjectForbiddenBodyJsonapi `json:"jsonapi"` }
UpdateOrgProjectForbiddenBody update org project forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectForbiddenBody
func (*UpdateOrgProjectForbiddenBody) ContextValidate ¶
func (o *UpdateOrgProjectForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project forbidden body based on the context it is used
func (*UpdateOrgProjectForbiddenBody) MarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectForbiddenBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectForbiddenBodyErrorsItems0 ¶
type UpdateOrgProjectForbiddenBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateOrgProjectForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgProjectForbiddenBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgProjectForbiddenBodyErrorsItems0 update org project forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0
func (*UpdateOrgProjectForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project forbidden body errors items0 based on the context it is used
func (*UpdateOrgProjectForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectForbiddenBodyErrorsItems0Links ¶
type UpdateOrgProjectForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgProjectForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0Links
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project forbidden body errors items0 links based on context it is used
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectForbiddenBodyErrorsItems0Source ¶
type UpdateOrgProjectForbiddenBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgProjectForbiddenBodyErrorsItems0Source update org project forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectForbiddenBodyErrorsItems0Source
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project forbidden body errors items0 source based on context it is used
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectForbiddenBodyJsonapi ¶
type UpdateOrgProjectForbiddenBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgProjectForbiddenBodyJsonapi update org project forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectForbiddenBodyJsonapi
func (*UpdateOrgProjectForbiddenBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgProjectForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project forbidden body jsonapi based on context it is used
func (*UpdateOrgProjectForbiddenBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgProjectForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectInternalServerError ¶
type UpdateOrgProjectInternalServerError struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateOrgProjectInternalServerErrorBody }
UpdateOrgProjectInternalServerError describes a response with status code 500, with default header values.
Internal Server Error: An error was encountered while attempting to process the request.
func NewUpdateOrgProjectInternalServerError ¶
func NewUpdateOrgProjectInternalServerError() *UpdateOrgProjectInternalServerError
NewUpdateOrgProjectInternalServerError creates a UpdateOrgProjectInternalServerError with default headers values
func (*UpdateOrgProjectInternalServerError) Code ¶
func (o *UpdateOrgProjectInternalServerError) Code() int
Code gets the status code for the update org project internal server error response
func (*UpdateOrgProjectInternalServerError) Error ¶
func (o *UpdateOrgProjectInternalServerError) Error() string
func (*UpdateOrgProjectInternalServerError) GetPayload ¶
func (o *UpdateOrgProjectInternalServerError) GetPayload() *UpdateOrgProjectInternalServerErrorBody
func (*UpdateOrgProjectInternalServerError) IsClientError ¶
func (o *UpdateOrgProjectInternalServerError) IsClientError() bool
IsClientError returns true when this update org project internal server error response has a 4xx status code
func (*UpdateOrgProjectInternalServerError) IsCode ¶
func (o *UpdateOrgProjectInternalServerError) IsCode(code int) bool
IsCode returns true when this update org project internal server error response a status code equal to that given
func (*UpdateOrgProjectInternalServerError) IsRedirect ¶
func (o *UpdateOrgProjectInternalServerError) IsRedirect() bool
IsRedirect returns true when this update org project internal server error response has a 3xx status code
func (*UpdateOrgProjectInternalServerError) IsServerError ¶
func (o *UpdateOrgProjectInternalServerError) IsServerError() bool
IsServerError returns true when this update org project internal server error response has a 5xx status code
func (*UpdateOrgProjectInternalServerError) IsSuccess ¶
func (o *UpdateOrgProjectInternalServerError) IsSuccess() bool
IsSuccess returns true when this update org project internal server error response has a 2xx status code
func (*UpdateOrgProjectInternalServerError) String ¶
func (o *UpdateOrgProjectInternalServerError) String() string
type UpdateOrgProjectInternalServerErrorBody ¶
type UpdateOrgProjectInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgProjectInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgProjectInternalServerErrorBodyJsonapi `json:"jsonapi"` }
UpdateOrgProjectInternalServerErrorBody update org project internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectInternalServerErrorBody
func (*UpdateOrgProjectInternalServerErrorBody) ContextValidate ¶
func (o *UpdateOrgProjectInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project internal server error body based on the context it is used
func (*UpdateOrgProjectInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0 ¶
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgProjectInternalServerErrorBodyErrorsItems0 update org project internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project internal server error body errors items0 based on the context it is used
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links ¶
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project internal server error body errors items0 links based on context it is used
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source ¶
type UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source update org project internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project internal server error body errors items0 source based on context it is used
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectInternalServerErrorBodyJsonapi ¶
type UpdateOrgProjectInternalServerErrorBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgProjectInternalServerErrorBodyJsonapi update org project internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectInternalServerErrorBodyJsonapi
func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project internal server error body jsonapi based on context it is used
func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgProjectInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectNotFound ¶
type UpdateOrgProjectNotFound struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateOrgProjectNotFoundBody }
UpdateOrgProjectNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewUpdateOrgProjectNotFound ¶
func NewUpdateOrgProjectNotFound() *UpdateOrgProjectNotFound
NewUpdateOrgProjectNotFound creates a UpdateOrgProjectNotFound with default headers values
func (*UpdateOrgProjectNotFound) Code ¶
func (o *UpdateOrgProjectNotFound) Code() int
Code gets the status code for the update org project not found response
func (*UpdateOrgProjectNotFound) Error ¶
func (o *UpdateOrgProjectNotFound) Error() string
func (*UpdateOrgProjectNotFound) GetPayload ¶
func (o *UpdateOrgProjectNotFound) GetPayload() *UpdateOrgProjectNotFoundBody
func (*UpdateOrgProjectNotFound) IsClientError ¶
func (o *UpdateOrgProjectNotFound) IsClientError() bool
IsClientError returns true when this update org project not found response has a 4xx status code
func (*UpdateOrgProjectNotFound) IsCode ¶
func (o *UpdateOrgProjectNotFound) IsCode(code int) bool
IsCode returns true when this update org project not found response a status code equal to that given
func (*UpdateOrgProjectNotFound) IsRedirect ¶
func (o *UpdateOrgProjectNotFound) IsRedirect() bool
IsRedirect returns true when this update org project not found response has a 3xx status code
func (*UpdateOrgProjectNotFound) IsServerError ¶
func (o *UpdateOrgProjectNotFound) IsServerError() bool
IsServerError returns true when this update org project not found response has a 5xx status code
func (*UpdateOrgProjectNotFound) IsSuccess ¶
func (o *UpdateOrgProjectNotFound) IsSuccess() bool
IsSuccess returns true when this update org project not found response has a 2xx status code
func (*UpdateOrgProjectNotFound) String ¶
func (o *UpdateOrgProjectNotFound) String() string
type UpdateOrgProjectNotFoundBody ¶
type UpdateOrgProjectNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgProjectNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgProjectNotFoundBodyJsonapi `json:"jsonapi"` }
UpdateOrgProjectNotFoundBody update org project not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectNotFoundBody
func (*UpdateOrgProjectNotFoundBody) ContextValidate ¶
func (o *UpdateOrgProjectNotFoundBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project not found body based on the context it is used
func (*UpdateOrgProjectNotFoundBody) MarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectNotFoundBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectNotFoundBodyErrorsItems0 ¶
type UpdateOrgProjectNotFoundBodyErrorsItems0 struct { // An application-specific error code, expressed as a string value. // Example: entity-not-found Code string `json:"code,omitempty"` // A human-readable explanation specific to this occurrence of the problem. // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // A unique identifier for this particular occurrence of the problem. // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // links Links *UpdateOrgProjectNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgProjectNotFoundBodyErrorsItems0Source `json:"source,omitempty"` // The HTTP status code applicable to this problem, expressed as a string value. // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization. // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgProjectNotFoundBodyErrorsItems0 update org project not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0
func (*UpdateOrgProjectNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project not found body errors items0 based on the context it is used
func (*UpdateOrgProjectNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectNotFoundBodyErrorsItems0Links ¶
type UpdateOrgProjectNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgProjectNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0Links
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project not found body errors items0 links based on context it is used
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectNotFoundBodyErrorsItems0Source ¶
type UpdateOrgProjectNotFoundBodyErrorsItems0Source struct { // A string indicating which URI query parameter caused the error. // Example: param1 Parameter string `json:"parameter,omitempty"` // A JSON Pointer [RFC6901] to the associated entity in the request document. // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgProjectNotFoundBodyErrorsItems0Source update org project not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectNotFoundBodyErrorsItems0Source
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project not found body errors items0 source based on context it is used
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectNotFoundBodyJsonapi ¶
type UpdateOrgProjectNotFoundBodyJsonapi struct { // Version of the JSON API specification this server supports. // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgProjectNotFoundBodyJsonapi update org project not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectNotFoundBodyJsonapi
func (*UpdateOrgProjectNotFoundBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgProjectNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project not found body jsonapi based on context it is used
func (*UpdateOrgProjectNotFoundBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgProjectNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectOK ¶
type UpdateOrgProjectOK struct { /* A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC: https://tools.ietf.org/id/draft-dalal-deprecation-header-01.html Format: date-time */ Deprecation strfmt.DateTime /* A header containing a unique id used for tracking this request. If you are reporting an issue to Snyk it's very helpful to provide this ID. Format: uuid */ SnykRequestID strfmt.UUID /* A header containing the version stage of the endpoint. This stage describes the guarantees snyk provides surrounding stability of the endpoint. */ SnykVersionLifecycleStage string /* A header containing the version of the endpoint requested by the caller. */ SnykVersionRequested string /* A header containing the version of the endpoint that was served by the API. */ SnykVersionServed string /* A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information: https://datatracker.ietf.org/doc/html/rfc8594 Format: date-time */ Sunset strfmt.DateTime Payload *UpdateOrgProjectOKBody }
UpdateOrgProjectOK describes a response with status code 200, with default header values.
A project is updated for the targeted org
func NewUpdateOrgProjectOK ¶
func NewUpdateOrgProjectOK() *UpdateOrgProjectOK
NewUpdateOrgProjectOK creates a UpdateOrgProjectOK with default headers values
func (*UpdateOrgProjectOK) Code ¶
func (o *UpdateOrgProjectOK) Code() int
Code gets the status code for the update org project o k response
func (*UpdateOrgProjectOK) Error ¶
func (o *UpdateOrgProjectOK) Error() string
func (*UpdateOrgProjectOK) GetPayload ¶
func (o *UpdateOrgProjectOK) GetPayload() *UpdateOrgProjectOKBody
func (*UpdateOrgProjectOK) IsClientError ¶
func (o *UpdateOrgProjectOK) IsClientError() bool
IsClientError returns true when this update org project o k response has a 4xx status code
func (*UpdateOrgProjectOK) IsCode ¶
func (o *UpdateOrgProjectOK) IsCode(code int) bool
IsCode returns true when this update org project o k response a status code equal to that given
func (*UpdateOrgProjectOK) IsRedirect ¶
func (o *UpdateOrgProjectOK) IsRedirect() bool
IsRedirect returns true when this update org project o k response has a 3xx status code
func (*UpdateOrgProjectOK) IsServerError ¶
func (o *UpdateOrgProjectOK) IsServerError() bool
IsServerError returns true when this update org project o k response has a 5xx status code
func (*UpdateOrgProjectOK) IsSuccess ¶
func (o *UpdateOrgProjectOK) IsSuccess() bool
IsSuccess returns true when this update org project o k response has a 2xx status code
func (*UpdateOrgProjectOK) String ¶
func (o *UpdateOrgProjectOK) String() string
type UpdateOrgProjectOKBody ¶
type UpdateOrgProjectOKBody struct { // data // Required: true Data *UpdateOrgProjectOKBodyData `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.Links `json:"links"` }
UpdateOrgProjectOKBody update org project o k body swagger:model UpdateOrgProjectOKBody
func (*UpdateOrgProjectOKBody) ContextValidate ¶
func (o *UpdateOrgProjectOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project o k body based on the context it is used
func (*UpdateOrgProjectOKBody) MarshalBinary ¶
func (o *UpdateOrgProjectOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectOKBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectOKBodyData ¶
type UpdateOrgProjectOKBodyData struct { // attributes // Required: true Attributes *models.ProjectAttributes `json:"attributes"` // The Resource ID. // Example: 331ede0a-de94-456f-b788-166caeca58bf // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // links Links *models.Links `json:"links,omitempty"` // meta Meta *UpdateOrgProjectOKBodyDataMeta `json:"meta,omitempty"` // relationships Relationships *models.ProjectRelationships `json:"relationships,omitempty"` // The Resource type. // Example: project // Required: true Type *string `json:"type"` }
UpdateOrgProjectOKBodyData update org project o k body data swagger:model UpdateOrgProjectOKBodyData
func (*UpdateOrgProjectOKBodyData) ContextValidate ¶
func (o *UpdateOrgProjectOKBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project o k body data based on the context it is used
func (*UpdateOrgProjectOKBodyData) MarshalBinary ¶
func (o *UpdateOrgProjectOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectOKBodyData) UnmarshalBinary ¶
func (o *UpdateOrgProjectOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectOKBodyDataMeta ¶
type UpdateOrgProjectOKBodyDataMeta struct { // The date that the project was last uploaded and monitored using cli. // Example: 2021-05-29T09:50:54.014Z // Format: date-time CliMonitoredAt *strfmt.DateTime `json:"cli_monitored_at,omitempty"` }
UpdateOrgProjectOKBodyDataMeta update org project o k body data meta swagger:model UpdateOrgProjectOKBodyDataMeta
func (*UpdateOrgProjectOKBodyDataMeta) ContextValidate ¶
func (o *UpdateOrgProjectOKBodyDataMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project o k body data meta based on context it is used
func (*UpdateOrgProjectOKBodyDataMeta) MarshalBinary ¶
func (o *UpdateOrgProjectOKBodyDataMeta) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectOKBodyDataMeta) UnmarshalBinary ¶
func (o *UpdateOrgProjectOKBodyDataMeta) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectParams ¶
type UpdateOrgProjectParams struct { /* Body. The project attributes to be updated. */ Body *models.PatchProjectRequest /* Expand. Expand relationships. */ Expand []string /* OrgID. The ID of the Org the project belongs to. Format: uuid */ OrgID strfmt.UUID /* ProjectID. The ID of the project to patch. Format: uuid */ ProjectID strfmt.UUID /* Version. The requested version of the endpoint to process the request */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrgProjectParams contains all the parameters to send to the API endpoint
for the update org project operation. Typically these are written to a http.Request.
func NewUpdateOrgProjectParams ¶
func NewUpdateOrgProjectParams() *UpdateOrgProjectParams
NewUpdateOrgProjectParams creates a new UpdateOrgProjectParams 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 NewUpdateOrgProjectParamsWithContext ¶
func NewUpdateOrgProjectParamsWithContext(ctx context.Context) *UpdateOrgProjectParams
NewUpdateOrgProjectParamsWithContext creates a new UpdateOrgProjectParams object with the ability to set a context for a request.
func NewUpdateOrgProjectParamsWithHTTPClient ¶
func NewUpdateOrgProjectParamsWithHTTPClient(client *http.Client) *UpdateOrgProjectParams
NewUpdateOrgProjectParamsWithHTTPClient creates a new UpdateOrgProjectParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgProjectParamsWithTimeout ¶
func NewUpdateOrgProjectParamsWithTimeout(timeout time.Duration) *UpdateOrgProjectParams
NewUpdateOrgProjectParamsWithTimeout creates a new UpdateOrgProjectParams object with the ability to set a timeout on a request.
func (*UpdateOrgProjectParams) SetBody ¶
func (o *UpdateOrgProjectParams) SetBody(body *models.PatchProjectRequest)
SetBody adds the body to the update org project params
func (*UpdateOrgProjectParams) SetContext ¶
func (o *UpdateOrgProjectParams) SetContext(ctx context.Context)
SetContext adds the context to the update org project params
func (*UpdateOrgProjectParams) SetDefaults ¶
func (o *UpdateOrgProjectParams) SetDefaults()
SetDefaults hydrates default values in the update org project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgProjectParams) SetExpand ¶
func (o *UpdateOrgProjectParams) SetExpand(expand []string)
SetExpand adds the expand to the update org project params
func (*UpdateOrgProjectParams) SetHTTPClient ¶
func (o *UpdateOrgProjectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org project params
func (*UpdateOrgProjectParams) SetOrgID ¶
func (o *UpdateOrgProjectParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the update org project params
func (*UpdateOrgProjectParams) SetProjectID ¶
func (o *UpdateOrgProjectParams) SetProjectID(projectID strfmt.UUID)
SetProjectID adds the projectId to the update org project params
func (*UpdateOrgProjectParams) SetTimeout ¶
func (o *UpdateOrgProjectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org project params
func (*UpdateOrgProjectParams) SetVersion ¶
func (o *UpdateOrgProjectParams) SetVersion(version string)
SetVersion adds the version to the update org project params
func (*UpdateOrgProjectParams) WithBody ¶
func (o *UpdateOrgProjectParams) WithBody(body *models.PatchProjectRequest) *UpdateOrgProjectParams
WithBody adds the body to the update org project params
func (*UpdateOrgProjectParams) WithContext ¶
func (o *UpdateOrgProjectParams) WithContext(ctx context.Context) *UpdateOrgProjectParams
WithContext adds the context to the update org project params
func (*UpdateOrgProjectParams) WithDefaults ¶
func (o *UpdateOrgProjectParams) WithDefaults() *UpdateOrgProjectParams
WithDefaults hydrates default values in the update org project params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgProjectParams) WithExpand ¶
func (o *UpdateOrgProjectParams) WithExpand(expand []string) *UpdateOrgProjectParams
WithExpand adds the expand to the update org project params
func (*UpdateOrgProjectParams) WithHTTPClient ¶
func (o *UpdateOrgProjectParams) WithHTTPClient(client *http.Client) *UpdateOrgProjectParams
WithHTTPClient adds the HTTPClient to the update org project params
func (*UpdateOrgProjectParams) WithOrgID ¶
func (o *UpdateOrgProjectParams) WithOrgID(orgID strfmt.UUID) *UpdateOrgProjectParams
WithOrgID adds the orgID to the update org project params
func (*UpdateOrgProjectParams) WithProjectID ¶
func (o *UpdateOrgProjectParams) WithProjectID(projectID strfmt.UUID) *UpdateOrgProjectParams
WithProjectID adds the projectID to the update org project params
func (*UpdateOrgProjectParams) WithTimeout ¶
func (o *UpdateOrgProjectParams) WithTimeout(timeout time.Duration) *UpdateOrgProjectParams
WithTimeout adds the timeout to the update org project params
func (*UpdateOrgProjectParams) WithVersion ¶
func (o *UpdateOrgProjectParams) WithVersion(version string) *UpdateOrgProjectParams
WithVersion adds the version to the update org project params
func (*UpdateOrgProjectParams) WriteToRequest ¶
func (o *UpdateOrgProjectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgProjectReader ¶
type UpdateOrgProjectReader struct {
// contains filtered or unexported fields
}
UpdateOrgProjectReader is a Reader for the UpdateOrgProject structure.
func (*UpdateOrgProjectReader) ReadResponse ¶
func (o *UpdateOrgProjectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgProjectUnauthorized ¶
type UpdateOrgProjectUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
UpdateOrgProjectUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewUpdateOrgProjectUnauthorized ¶
func NewUpdateOrgProjectUnauthorized() *UpdateOrgProjectUnauthorized
NewUpdateOrgProjectUnauthorized creates a UpdateOrgProjectUnauthorized with default headers values
func (*UpdateOrgProjectUnauthorized) Code ¶
func (o *UpdateOrgProjectUnauthorized) Code() int
Code gets the status code for the update org project unauthorized response
func (*UpdateOrgProjectUnauthorized) Error ¶
func (o *UpdateOrgProjectUnauthorized) Error() string
func (*UpdateOrgProjectUnauthorized) GetPayload ¶
func (o *UpdateOrgProjectUnauthorized) GetPayload() *UpdateOrgProjectUnauthorizedBody
func (*UpdateOrgProjectUnauthorized) IsClientError ¶
func (o *UpdateOrgProjectUnauthorized) IsClientError() bool
IsClientError returns true when this update org project unauthorized response has a 4xx status code
func (*UpdateOrgProjectUnauthorized) IsCode ¶
func (o *UpdateOrgProjectUnauthorized) IsCode(code int) bool
IsCode returns true when this update org project unauthorized response a status code equal to that given
func (*UpdateOrgProjectUnauthorized) IsRedirect ¶
func (o *UpdateOrgProjectUnauthorized) IsRedirect() bool
IsRedirect returns true when this update org project unauthorized response has a 3xx status code
func (*UpdateOrgProjectUnauthorized) IsServerError ¶
func (o *UpdateOrgProjectUnauthorized) IsServerError() bool
IsServerError returns true when this update org project unauthorized response has a 5xx status code
func (*UpdateOrgProjectUnauthorized) IsSuccess ¶
func (o *UpdateOrgProjectUnauthorized) IsSuccess() bool
IsSuccess returns true when this update org project unauthorized response has a 2xx status code
func (*UpdateOrgProjectUnauthorized) String ¶
func (o *UpdateOrgProjectUnauthorized) String() string
type UpdateOrgProjectUnauthorizedBody ¶
type UpdateOrgProjectUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgProjectUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *UpdateOrgProjectUnauthorizedBodyJsonapi `json:"jsonapi"` }
UpdateOrgProjectUnauthorizedBody update org project unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgProjectUnauthorizedBody
func (*UpdateOrgProjectUnauthorizedBody) ContextValidate ¶
func (o *UpdateOrgProjectUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project unauthorized body based on the context it is used
func (*UpdateOrgProjectUnauthorizedBody) MarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectUnauthorizedBody) UnmarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectUnauthorizedBodyErrorsItems0 ¶
type UpdateOrgProjectUnauthorizedBodyErrorsItems0 struct { // Example: entity-not-found Code string `json:"code,omitempty"` // Example: The request was missing these required fields: ... // Required: true Detail *string `json:"detail"` // Example: f16c31b5-6129-4571-add8-d589da9be524 // Format: uuid ID strfmt.UUID `json:"id,omitempty"` Links *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgProjectUnauthorizedBodyErrorsItems0 update org project unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org project unauthorized body errors items0 based on the context it is used
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectUnauthorizedBodyErrorsItems0Links ¶
type UpdateOrgProjectUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgProjectUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0Links
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project unauthorized body errors items0 links based on context it is used
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectUnauthorizedBodyErrorsItems0Source ¶
type UpdateOrgProjectUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgProjectUnauthorizedBodyErrorsItems0Source update org project unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgProjectUnauthorizedBodyErrorsItems0Source
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project unauthorized body errors items0 source based on context it is used
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgProjectUnauthorizedBodyJsonapi ¶
type UpdateOrgProjectUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgProjectUnauthorizedBodyJsonapi update org project unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgProjectUnauthorizedBodyJsonapi
func (*UpdateOrgProjectUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org project unauthorized body jsonapi based on context it is used
func (*UpdateOrgProjectUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgProjectUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation