Documentation
¶
Index ¶
- type Client
- func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetOrgOK, error)
- func (a *Client) ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOrgsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOrgOK, *UpdateOrgNoContent, error)
- type ClientOption
- type ClientService
- type GetOrgBadRequest
- func (o *GetOrgBadRequest) Code() int
- func (o *GetOrgBadRequest) Error() string
- func (o *GetOrgBadRequest) GetPayload() *GetOrgBadRequestBody
- func (o *GetOrgBadRequest) IsClientError() bool
- func (o *GetOrgBadRequest) IsCode(code int) bool
- func (o *GetOrgBadRequest) IsRedirect() bool
- func (o *GetOrgBadRequest) IsServerError() bool
- func (o *GetOrgBadRequest) IsSuccess() bool
- func (o *GetOrgBadRequest) String() string
- type GetOrgBadRequestBody
- type GetOrgBadRequestBodyErrorsItems0
- func (o *GetOrgBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgBadRequestBodyErrorsItems0Links
- func (o *GetOrgBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgBadRequestBodyErrorsItems0Source
- func (o *GetOrgBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgBadRequestBodyJsonapi
- func (o *GetOrgBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgConflict
- func (o *GetOrgConflict) Code() int
- func (o *GetOrgConflict) Error() string
- func (o *GetOrgConflict) GetPayload() *GetOrgConflictBody
- func (o *GetOrgConflict) IsClientError() bool
- func (o *GetOrgConflict) IsCode(code int) bool
- func (o *GetOrgConflict) IsRedirect() bool
- func (o *GetOrgConflict) IsServerError() bool
- func (o *GetOrgConflict) IsSuccess() bool
- func (o *GetOrgConflict) String() string
- type GetOrgConflictBody
- type GetOrgConflictBodyErrorsItems0
- func (o *GetOrgConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgConflictBodyErrorsItems0Links
- func (o *GetOrgConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgConflictBodyErrorsItems0Source
- func (o *GetOrgConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgConflictBodyJsonapi
- func (o *GetOrgConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgForbidden
- func (o *GetOrgForbidden) Code() int
- func (o *GetOrgForbidden) Error() string
- func (o *GetOrgForbidden) GetPayload() *GetOrgForbiddenBody
- func (o *GetOrgForbidden) IsClientError() bool
- func (o *GetOrgForbidden) IsCode(code int) bool
- func (o *GetOrgForbidden) IsRedirect() bool
- func (o *GetOrgForbidden) IsServerError() bool
- func (o *GetOrgForbidden) IsSuccess() bool
- func (o *GetOrgForbidden) String() string
- type GetOrgForbiddenBody
- type GetOrgForbiddenBodyErrorsItems0
- func (o *GetOrgForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgForbiddenBodyErrorsItems0Links
- func (o *GetOrgForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgForbiddenBodyErrorsItems0Source
- func (o *GetOrgForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgForbiddenBodyJsonapi
- func (o *GetOrgForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgInternalServerError
- func (o *GetOrgInternalServerError) Code() int
- func (o *GetOrgInternalServerError) Error() string
- func (o *GetOrgInternalServerError) GetPayload() *GetOrgInternalServerErrorBody
- func (o *GetOrgInternalServerError) IsClientError() bool
- func (o *GetOrgInternalServerError) IsCode(code int) bool
- func (o *GetOrgInternalServerError) IsRedirect() bool
- func (o *GetOrgInternalServerError) IsServerError() bool
- func (o *GetOrgInternalServerError) IsSuccess() bool
- func (o *GetOrgInternalServerError) String() string
- type GetOrgInternalServerErrorBody
- func (o *GetOrgInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type GetOrgInternalServerErrorBodyErrorsItems0
- func (o *GetOrgInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgInternalServerErrorBodyErrorsItems0Links
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgInternalServerErrorBodyErrorsItems0Source
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgInternalServerErrorBodyJsonapi
- func (o *GetOrgInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgNotFound
- func (o *GetOrgNotFound) Code() int
- func (o *GetOrgNotFound) Error() string
- func (o *GetOrgNotFound) GetPayload() *GetOrgNotFoundBody
- func (o *GetOrgNotFound) IsClientError() bool
- func (o *GetOrgNotFound) IsCode(code int) bool
- func (o *GetOrgNotFound) IsRedirect() bool
- func (o *GetOrgNotFound) IsServerError() bool
- func (o *GetOrgNotFound) IsSuccess() bool
- func (o *GetOrgNotFound) String() string
- type GetOrgNotFoundBody
- type GetOrgNotFoundBodyErrorsItems0
- func (o *GetOrgNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgNotFoundBodyErrorsItems0Links
- func (o *GetOrgNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgNotFoundBodyErrorsItems0Source
- func (o *GetOrgNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgNotFoundBodyJsonapi
- func (o *GetOrgNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type GetOrgOK
- func (o *GetOrgOK) Code() int
- func (o *GetOrgOK) Error() string
- func (o *GetOrgOK) GetPayload() *GetOrgOKBody
- func (o *GetOrgOK) IsClientError() bool
- func (o *GetOrgOK) IsCode(code int) bool
- func (o *GetOrgOK) IsRedirect() bool
- func (o *GetOrgOK) IsServerError() bool
- func (o *GetOrgOK) IsSuccess() bool
- func (o *GetOrgOK) String() string
- type GetOrgOKBody
- type GetOrgParams
- func (o *GetOrgParams) SetContext(ctx context.Context)
- func (o *GetOrgParams) SetDefaults()
- func (o *GetOrgParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgParams) SetOrgID(orgID strfmt.UUID)
- func (o *GetOrgParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgParams) SetVersion(version string)
- func (o *GetOrgParams) WithContext(ctx context.Context) *GetOrgParams
- func (o *GetOrgParams) WithDefaults() *GetOrgParams
- func (o *GetOrgParams) WithHTTPClient(client *http.Client) *GetOrgParams
- func (o *GetOrgParams) WithOrgID(orgID strfmt.UUID) *GetOrgParams
- func (o *GetOrgParams) WithTimeout(timeout time.Duration) *GetOrgParams
- func (o *GetOrgParams) WithVersion(version string) *GetOrgParams
- func (o *GetOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgReader
- type GetOrgUnauthorized
- func (o *GetOrgUnauthorized) Code() int
- func (o *GetOrgUnauthorized) Error() string
- func (o *GetOrgUnauthorized) GetPayload() *GetOrgUnauthorizedBody
- func (o *GetOrgUnauthorized) IsClientError() bool
- func (o *GetOrgUnauthorized) IsCode(code int) bool
- func (o *GetOrgUnauthorized) IsRedirect() bool
- func (o *GetOrgUnauthorized) IsServerError() bool
- func (o *GetOrgUnauthorized) IsSuccess() bool
- func (o *GetOrgUnauthorized) String() string
- type GetOrgUnauthorizedBody
- func (o *GetOrgUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *GetOrgUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *GetOrgUnauthorizedBody) Validate(formats strfmt.Registry) error
- type GetOrgUnauthorizedBodyErrorsItems0
- func (o *GetOrgUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type GetOrgUnauthorizedBodyErrorsItems0Links
- func (o *GetOrgUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *GetOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type GetOrgUnauthorizedBodyErrorsItems0Source
- func (o *GetOrgUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *GetOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *GetOrgUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type GetOrgUnauthorizedBodyJsonapi
- func (o *GetOrgUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrgUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *GetOrgUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *GetOrgUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgsBadRequest
- func (o *ListOrgsBadRequest) Code() int
- func (o *ListOrgsBadRequest) Error() string
- func (o *ListOrgsBadRequest) GetPayload() *ListOrgsBadRequestBody
- func (o *ListOrgsBadRequest) IsClientError() bool
- func (o *ListOrgsBadRequest) IsCode(code int) bool
- func (o *ListOrgsBadRequest) IsRedirect() bool
- func (o *ListOrgsBadRequest) IsServerError() bool
- func (o *ListOrgsBadRequest) IsSuccess() bool
- func (o *ListOrgsBadRequest) String() string
- type ListOrgsBadRequestBody
- func (o *ListOrgsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgsBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgsBadRequestBody) Validate(formats strfmt.Registry) error
- type ListOrgsBadRequestBodyErrorsItems0
- func (o *ListOrgsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgsBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgsBadRequestBodyErrorsItems0Links
- func (o *ListOrgsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgsBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgsBadRequestBodyErrorsItems0Source
- func (o *ListOrgsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgsBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgsBadRequestBodyJsonapi
- func (o *ListOrgsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgsBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgsForbidden
- func (o *ListOrgsForbidden) Code() int
- func (o *ListOrgsForbidden) Error() string
- func (o *ListOrgsForbidden) GetPayload() *ListOrgsForbiddenBody
- func (o *ListOrgsForbidden) IsClientError() bool
- func (o *ListOrgsForbidden) IsCode(code int) bool
- func (o *ListOrgsForbidden) IsRedirect() bool
- func (o *ListOrgsForbidden) IsServerError() bool
- func (o *ListOrgsForbidden) IsSuccess() bool
- func (o *ListOrgsForbidden) String() string
- type ListOrgsForbiddenBody
- type ListOrgsForbiddenBodyErrorsItems0
- func (o *ListOrgsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgsForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgsForbiddenBodyErrorsItems0Links
- func (o *ListOrgsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgsForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgsForbiddenBodyErrorsItems0Source
- func (o *ListOrgsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgsForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgsForbiddenBodyJsonapi
- func (o *ListOrgsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgsForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgsInternalServerError
- func (o *ListOrgsInternalServerError) Code() int
- func (o *ListOrgsInternalServerError) Error() string
- func (o *ListOrgsInternalServerError) GetPayload() *ListOrgsInternalServerErrorBody
- func (o *ListOrgsInternalServerError) IsClientError() bool
- func (o *ListOrgsInternalServerError) IsCode(code int) bool
- func (o *ListOrgsInternalServerError) IsRedirect() bool
- func (o *ListOrgsInternalServerError) IsServerError() bool
- func (o *ListOrgsInternalServerError) IsSuccess() bool
- func (o *ListOrgsInternalServerError) String() string
- type ListOrgsInternalServerErrorBody
- func (o *ListOrgsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgsInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgsInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type ListOrgsInternalServerErrorBodyErrorsItems0
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgsInternalServerErrorBodyErrorsItems0Links
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgsInternalServerErrorBodyErrorsItems0Source
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgsInternalServerErrorBodyJsonapi
- func (o *ListOrgsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgsInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgsNotFound
- func (o *ListOrgsNotFound) Code() int
- func (o *ListOrgsNotFound) Error() string
- func (o *ListOrgsNotFound) GetPayload() *ListOrgsNotFoundBody
- func (o *ListOrgsNotFound) IsClientError() bool
- func (o *ListOrgsNotFound) IsCode(code int) bool
- func (o *ListOrgsNotFound) IsRedirect() bool
- func (o *ListOrgsNotFound) IsServerError() bool
- func (o *ListOrgsNotFound) IsSuccess() bool
- func (o *ListOrgsNotFound) String() string
- type ListOrgsNotFoundBody
- type ListOrgsNotFoundBodyErrorsItems0
- func (o *ListOrgsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgsNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgsNotFoundBodyErrorsItems0Links
- func (o *ListOrgsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgsNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgsNotFoundBodyErrorsItems0Source
- func (o *ListOrgsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgsNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgsNotFoundBodyJsonapi
- func (o *ListOrgsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgsNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type ListOrgsOK
- func (o *ListOrgsOK) Code() int
- func (o *ListOrgsOK) Error() string
- func (o *ListOrgsOK) GetPayload() *ListOrgsOKBody
- func (o *ListOrgsOK) IsClientError() bool
- func (o *ListOrgsOK) IsCode(code int) bool
- func (o *ListOrgsOK) IsRedirect() bool
- func (o *ListOrgsOK) IsServerError() bool
- func (o *ListOrgsOK) IsSuccess() bool
- func (o *ListOrgsOK) String() string
- type ListOrgsOKBody
- type ListOrgsParams
- func (o *ListOrgsParams) SetContext(ctx context.Context)
- func (o *ListOrgsParams) SetDefaults()
- func (o *ListOrgsParams) SetEndingBefore(endingBefore *string)
- func (o *ListOrgsParams) SetExpand(expand []string)
- func (o *ListOrgsParams) SetGroupID(groupID *strfmt.UUID)
- func (o *ListOrgsParams) SetHTTPClient(client *http.Client)
- func (o *ListOrgsParams) SetIsPersonal(isPersonal *bool)
- func (o *ListOrgsParams) SetLimit(limit *int32)
- func (o *ListOrgsParams) SetName(name *string)
- func (o *ListOrgsParams) SetSlug(slug *string)
- func (o *ListOrgsParams) SetStartingAfter(startingAfter *string)
- func (o *ListOrgsParams) SetTimeout(timeout time.Duration)
- func (o *ListOrgsParams) SetVersion(version string)
- func (o *ListOrgsParams) WithContext(ctx context.Context) *ListOrgsParams
- func (o *ListOrgsParams) WithDefaults() *ListOrgsParams
- func (o *ListOrgsParams) WithEndingBefore(endingBefore *string) *ListOrgsParams
- func (o *ListOrgsParams) WithExpand(expand []string) *ListOrgsParams
- func (o *ListOrgsParams) WithGroupID(groupID *strfmt.UUID) *ListOrgsParams
- func (o *ListOrgsParams) WithHTTPClient(client *http.Client) *ListOrgsParams
- func (o *ListOrgsParams) WithIsPersonal(isPersonal *bool) *ListOrgsParams
- func (o *ListOrgsParams) WithLimit(limit *int32) *ListOrgsParams
- func (o *ListOrgsParams) WithName(name *string) *ListOrgsParams
- func (o *ListOrgsParams) WithSlug(slug *string) *ListOrgsParams
- func (o *ListOrgsParams) WithStartingAfter(startingAfter *string) *ListOrgsParams
- func (o *ListOrgsParams) WithTimeout(timeout time.Duration) *ListOrgsParams
- func (o *ListOrgsParams) WithVersion(version string) *ListOrgsParams
- func (o *ListOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListOrgsReader
- type ListOrgsUnauthorized
- func (o *ListOrgsUnauthorized) Code() int
- func (o *ListOrgsUnauthorized) Error() string
- func (o *ListOrgsUnauthorized) GetPayload() *ListOrgsUnauthorizedBody
- func (o *ListOrgsUnauthorized) IsClientError() bool
- func (o *ListOrgsUnauthorized) IsCode(code int) bool
- func (o *ListOrgsUnauthorized) IsRedirect() bool
- func (o *ListOrgsUnauthorized) IsServerError() bool
- func (o *ListOrgsUnauthorized) IsSuccess() bool
- func (o *ListOrgsUnauthorized) String() string
- type ListOrgsUnauthorizedBody
- func (o *ListOrgsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *ListOrgsUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *ListOrgsUnauthorizedBody) Validate(formats strfmt.Registry) error
- type ListOrgsUnauthorizedBodyErrorsItems0
- func (o *ListOrgsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *ListOrgsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type ListOrgsUnauthorizedBodyErrorsItems0Links
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type ListOrgsUnauthorizedBodyErrorsItems0Source
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type ListOrgsUnauthorizedBodyJsonapi
- func (o *ListOrgsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ListOrgsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *ListOrgsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *ListOrgsUnauthorizedBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgBadRequest
- func (o *UpdateOrgBadRequest) Code() int
- func (o *UpdateOrgBadRequest) Error() string
- func (o *UpdateOrgBadRequest) GetPayload() *UpdateOrgBadRequestBody
- func (o *UpdateOrgBadRequest) IsClientError() bool
- func (o *UpdateOrgBadRequest) IsCode(code int) bool
- func (o *UpdateOrgBadRequest) IsRedirect() bool
- func (o *UpdateOrgBadRequest) IsServerError() bool
- func (o *UpdateOrgBadRequest) IsSuccess() bool
- func (o *UpdateOrgBadRequest) String() string
- type UpdateOrgBadRequestBody
- func (o *UpdateOrgBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgBadRequestBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgBadRequestBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgBadRequestBody) Validate(formats strfmt.Registry) error
- type UpdateOrgBadRequestBodyErrorsItems0
- func (o *UpdateOrgBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgBadRequestBodyErrorsItems0Links
- func (o *UpdateOrgBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgBadRequestBodyErrorsItems0Source
- func (o *UpdateOrgBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgBadRequestBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgBadRequestBodyJsonapi
- func (o *UpdateOrgBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgBadRequestBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgBody
- type UpdateOrgConflict
- func (o *UpdateOrgConflict) Code() int
- func (o *UpdateOrgConflict) Error() string
- func (o *UpdateOrgConflict) GetPayload() *UpdateOrgConflictBody
- func (o *UpdateOrgConflict) IsClientError() bool
- func (o *UpdateOrgConflict) IsCode(code int) bool
- func (o *UpdateOrgConflict) IsRedirect() bool
- func (o *UpdateOrgConflict) IsServerError() bool
- func (o *UpdateOrgConflict) IsSuccess() bool
- func (o *UpdateOrgConflict) String() string
- type UpdateOrgConflictBody
- type UpdateOrgConflictBodyErrorsItems0
- func (o *UpdateOrgConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgConflictBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgConflictBodyErrorsItems0Links
- func (o *UpdateOrgConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgConflictBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgConflictBodyErrorsItems0Source
- func (o *UpdateOrgConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgConflictBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgConflictBodyJsonapi
- func (o *UpdateOrgConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgConflictBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgConflictBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgConflictBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgForbidden
- func (o *UpdateOrgForbidden) Code() int
- func (o *UpdateOrgForbidden) Error() string
- func (o *UpdateOrgForbidden) GetPayload() *UpdateOrgForbiddenBody
- func (o *UpdateOrgForbidden) IsClientError() bool
- func (o *UpdateOrgForbidden) IsCode(code int) bool
- func (o *UpdateOrgForbidden) IsRedirect() bool
- func (o *UpdateOrgForbidden) IsServerError() bool
- func (o *UpdateOrgForbidden) IsSuccess() bool
- func (o *UpdateOrgForbidden) String() string
- type UpdateOrgForbiddenBody
- func (o *UpdateOrgForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgForbiddenBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgForbiddenBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgForbiddenBody) Validate(formats strfmt.Registry) error
- type UpdateOrgForbiddenBodyErrorsItems0
- func (o *UpdateOrgForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgForbiddenBodyErrorsItems0Links
- func (o *UpdateOrgForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgForbiddenBodyErrorsItems0Source
- func (o *UpdateOrgForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgForbiddenBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgForbiddenBodyJsonapi
- func (o *UpdateOrgForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgForbiddenBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgInternalServerError
- func (o *UpdateOrgInternalServerError) Code() int
- func (o *UpdateOrgInternalServerError) Error() string
- func (o *UpdateOrgInternalServerError) GetPayload() *UpdateOrgInternalServerErrorBody
- func (o *UpdateOrgInternalServerError) IsClientError() bool
- func (o *UpdateOrgInternalServerError) IsCode(code int) bool
- func (o *UpdateOrgInternalServerError) IsRedirect() bool
- func (o *UpdateOrgInternalServerError) IsServerError() bool
- func (o *UpdateOrgInternalServerError) IsSuccess() bool
- func (o *UpdateOrgInternalServerError) String() string
- type UpdateOrgInternalServerErrorBody
- func (o *UpdateOrgInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgInternalServerErrorBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgInternalServerErrorBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgInternalServerErrorBody) Validate(formats strfmt.Registry) error
- type UpdateOrgInternalServerErrorBodyErrorsItems0
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgInternalServerErrorBodyErrorsItems0Links
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgInternalServerErrorBodyErrorsItems0Source
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgInternalServerErrorBodyJsonapi
- func (o *UpdateOrgInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgInternalServerErrorBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgNoContent
- func (o *UpdateOrgNoContent) Code() int
- func (o *UpdateOrgNoContent) Error() string
- func (o *UpdateOrgNoContent) IsClientError() bool
- func (o *UpdateOrgNoContent) IsCode(code int) bool
- func (o *UpdateOrgNoContent) IsRedirect() bool
- func (o *UpdateOrgNoContent) IsServerError() bool
- func (o *UpdateOrgNoContent) IsSuccess() bool
- func (o *UpdateOrgNoContent) String() string
- type UpdateOrgNotFound
- func (o *UpdateOrgNotFound) Code() int
- func (o *UpdateOrgNotFound) Error() string
- func (o *UpdateOrgNotFound) GetPayload() *UpdateOrgNotFoundBody
- func (o *UpdateOrgNotFound) IsClientError() bool
- func (o *UpdateOrgNotFound) IsCode(code int) bool
- func (o *UpdateOrgNotFound) IsRedirect() bool
- func (o *UpdateOrgNotFound) IsServerError() bool
- func (o *UpdateOrgNotFound) IsSuccess() bool
- func (o *UpdateOrgNotFound) String() string
- type UpdateOrgNotFoundBody
- type UpdateOrgNotFoundBodyErrorsItems0
- func (o *UpdateOrgNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgNotFoundBodyErrorsItems0Links
- func (o *UpdateOrgNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgNotFoundBodyErrorsItems0Source
- func (o *UpdateOrgNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgNotFoundBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgNotFoundBodyJsonapi
- func (o *UpdateOrgNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgNotFoundBodyJsonapi) Validate(formats strfmt.Registry) error
- type UpdateOrgOK
- func (o *UpdateOrgOK) Code() int
- func (o *UpdateOrgOK) Error() string
- func (o *UpdateOrgOK) GetPayload() *UpdateOrgOKBody
- func (o *UpdateOrgOK) IsClientError() bool
- func (o *UpdateOrgOK) IsCode(code int) bool
- func (o *UpdateOrgOK) IsRedirect() bool
- func (o *UpdateOrgOK) IsServerError() bool
- func (o *UpdateOrgOK) IsSuccess() bool
- func (o *UpdateOrgOK) String() string
- type UpdateOrgOKBody
- type UpdateOrgOKBodyData
- type UpdateOrgParams
- func (o *UpdateOrgParams) SetBody(body UpdateOrgBody)
- func (o *UpdateOrgParams) SetContext(ctx context.Context)
- func (o *UpdateOrgParams) SetDefaults()
- func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrgParams) SetOrgID(orgID strfmt.UUID)
- func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrgParams) SetVersion(version string)
- func (o *UpdateOrgParams) WithBody(body UpdateOrgBody) *UpdateOrgParams
- func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
- func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams
- func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
- func (o *UpdateOrgParams) WithOrgID(orgID strfmt.UUID) *UpdateOrgParams
- func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
- func (o *UpdateOrgParams) WithVersion(version string) *UpdateOrgParams
- func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrgParamsBodyData
- func (o *UpdateOrgParamsBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgParamsBodyData) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgParamsBodyData) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgParamsBodyData) Validate(formats strfmt.Registry) error
- type UpdateOrgReader
- type UpdateOrgUnauthorized
- func (o *UpdateOrgUnauthorized) Code() int
- func (o *UpdateOrgUnauthorized) Error() string
- func (o *UpdateOrgUnauthorized) GetPayload() *UpdateOrgUnauthorizedBody
- func (o *UpdateOrgUnauthorized) IsClientError() bool
- func (o *UpdateOrgUnauthorized) IsCode(code int) bool
- func (o *UpdateOrgUnauthorized) IsRedirect() bool
- func (o *UpdateOrgUnauthorized) IsServerError() bool
- func (o *UpdateOrgUnauthorized) IsSuccess() bool
- func (o *UpdateOrgUnauthorized) String() string
- type UpdateOrgUnauthorizedBody
- func (o *UpdateOrgUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgUnauthorizedBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgUnauthorizedBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgUnauthorizedBody) Validate(formats strfmt.Registry) error
- type UpdateOrgUnauthorizedBodyErrorsItems0
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0) Validate(formats strfmt.Registry) error
- type UpdateOrgUnauthorizedBodyErrorsItems0Links
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) Validate(formats strfmt.Registry) error
- type UpdateOrgUnauthorizedBodyErrorsItems0Source
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) Validate(formats strfmt.Registry) error
- type UpdateOrgUnauthorizedBodyJsonapi
- func (o *UpdateOrgUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrgUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
- func (o *UpdateOrgUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
- func (o *UpdateOrgUnauthorizedBodyJsonapi) 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 orgs API
func (*Client) GetOrg ¶
func (a *Client) GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error)
GetOrg gets organization
Get the full details of an organization.
func (*Client) ListOrgs ¶
func (a *Client) ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error)
ListOrgs lists accessible organizations
Get a paginated list of organizations you have access to.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateOrg ¶
func (a *Client) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, *UpdateOrgNoContent, error)
UpdateOrg updates organization
Update the details of an organization
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetOrg(params *GetOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrgOK, error) ListOrgs(params *ListOrgsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOrgsOK, error) UpdateOrg(params *UpdateOrgParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrgOK, *UpdateOrgNoContent, 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 orgs API client.
type GetOrgBadRequest ¶
type GetOrgBadRequest 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 *GetOrgBadRequestBody }
GetOrgBadRequest 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 NewGetOrgBadRequest ¶
func NewGetOrgBadRequest() *GetOrgBadRequest
NewGetOrgBadRequest creates a GetOrgBadRequest with default headers values
func (*GetOrgBadRequest) Code ¶
func (o *GetOrgBadRequest) Code() int
Code gets the status code for the get org bad request response
func (*GetOrgBadRequest) Error ¶
func (o *GetOrgBadRequest) Error() string
func (*GetOrgBadRequest) GetPayload ¶
func (o *GetOrgBadRequest) GetPayload() *GetOrgBadRequestBody
func (*GetOrgBadRequest) IsClientError ¶
func (o *GetOrgBadRequest) IsClientError() bool
IsClientError returns true when this get org bad request response has a 4xx status code
func (*GetOrgBadRequest) IsCode ¶
func (o *GetOrgBadRequest) IsCode(code int) bool
IsCode returns true when this get org bad request response a status code equal to that given
func (*GetOrgBadRequest) IsRedirect ¶
func (o *GetOrgBadRequest) IsRedirect() bool
IsRedirect returns true when this get org bad request response has a 3xx status code
func (*GetOrgBadRequest) IsServerError ¶
func (o *GetOrgBadRequest) IsServerError() bool
IsServerError returns true when this get org bad request response has a 5xx status code
func (*GetOrgBadRequest) IsSuccess ¶
func (o *GetOrgBadRequest) IsSuccess() bool
IsSuccess returns true when this get org bad request response has a 2xx status code
func (*GetOrgBadRequest) String ¶
func (o *GetOrgBadRequest) String() string
type GetOrgBadRequestBody ¶
type GetOrgBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgBadRequestBodyJsonapi `json:"jsonapi"` }
GetOrgBadRequestBody get org bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgBadRequestBody
func (*GetOrgBadRequestBody) ContextValidate ¶
ContextValidate validate this get org bad request body based on the context it is used
func (*GetOrgBadRequestBody) MarshalBinary ¶
func (o *GetOrgBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgBadRequestBody) UnmarshalBinary ¶
func (o *GetOrgBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgBadRequestBodyErrorsItems0 ¶
type GetOrgBadRequestBodyErrorsItems0 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 *GetOrgBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgBadRequestBodyErrorsItems0Source `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"` }
GetOrgBadRequestBodyErrorsItems0 get org bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgBadRequestBodyErrorsItems0
func (*GetOrgBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org bad request body errors items0 based on the context it is used
func (*GetOrgBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgBadRequestBodyErrorsItems0Links ¶
type GetOrgBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgBadRequestBodyErrorsItems0Links
func (*GetOrgBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org bad request body errors items0 links based on context it is used
func (*GetOrgBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgBadRequestBodyErrorsItems0Source ¶
type GetOrgBadRequestBodyErrorsItems0Source 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"` }
GetOrgBadRequestBodyErrorsItems0Source get org bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgBadRequestBodyErrorsItems0Source
func (*GetOrgBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org bad request body errors items0 source based on context it is used
func (*GetOrgBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgBadRequestBodyJsonapi ¶
type GetOrgBadRequestBodyJsonapi 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"` }
GetOrgBadRequestBodyJsonapi get org bad request body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgBadRequestBodyJsonapi
func (*GetOrgBadRequestBodyJsonapi) ContextValidate ¶
func (o *GetOrgBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org bad request body jsonapi based on context it is used
func (*GetOrgBadRequestBodyJsonapi) MarshalBinary ¶
func (o *GetOrgBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgConflict ¶
type GetOrgConflict 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 *GetOrgConflictBody }
GetOrgConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewGetOrgConflict ¶
func NewGetOrgConflict() *GetOrgConflict
NewGetOrgConflict creates a GetOrgConflict with default headers values
func (*GetOrgConflict) Code ¶
func (o *GetOrgConflict) Code() int
Code gets the status code for the get org conflict response
func (*GetOrgConflict) Error ¶
func (o *GetOrgConflict) Error() string
func (*GetOrgConflict) GetPayload ¶
func (o *GetOrgConflict) GetPayload() *GetOrgConflictBody
func (*GetOrgConflict) IsClientError ¶
func (o *GetOrgConflict) IsClientError() bool
IsClientError returns true when this get org conflict response has a 4xx status code
func (*GetOrgConflict) IsCode ¶
func (o *GetOrgConflict) IsCode(code int) bool
IsCode returns true when this get org conflict response a status code equal to that given
func (*GetOrgConflict) IsRedirect ¶
func (o *GetOrgConflict) IsRedirect() bool
IsRedirect returns true when this get org conflict response has a 3xx status code
func (*GetOrgConflict) IsServerError ¶
func (o *GetOrgConflict) IsServerError() bool
IsServerError returns true when this get org conflict response has a 5xx status code
func (*GetOrgConflict) IsSuccess ¶
func (o *GetOrgConflict) IsSuccess() bool
IsSuccess returns true when this get org conflict response has a 2xx status code
func (*GetOrgConflict) String ¶
func (o *GetOrgConflict) String() string
type GetOrgConflictBody ¶
type GetOrgConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgConflictBodyJsonapi `json:"jsonapi"` }
GetOrgConflictBody get org conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgConflictBody
func (*GetOrgConflictBody) ContextValidate ¶
ContextValidate validate this get org conflict body based on the context it is used
func (*GetOrgConflictBody) MarshalBinary ¶
func (o *GetOrgConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgConflictBody) UnmarshalBinary ¶
func (o *GetOrgConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgConflictBodyErrorsItems0 ¶
type GetOrgConflictBodyErrorsItems0 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 *GetOrgConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgConflictBodyErrorsItems0Source `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"` }
GetOrgConflictBodyErrorsItems0 get org conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgConflictBodyErrorsItems0
func (*GetOrgConflictBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org conflict body errors items0 based on the context it is used
func (*GetOrgConflictBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgConflictBodyErrorsItems0Links ¶
type GetOrgConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgConflictBodyErrorsItems0Links
func (*GetOrgConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org conflict body errors items0 links based on context it is used
func (*GetOrgConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgConflictBodyErrorsItems0Source ¶
type GetOrgConflictBodyErrorsItems0Source 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"` }
GetOrgConflictBodyErrorsItems0Source get org conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgConflictBodyErrorsItems0Source
func (*GetOrgConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org conflict body errors items0 source based on context it is used
func (*GetOrgConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgConflictBodyJsonapi ¶
type GetOrgConflictBodyJsonapi 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"` }
GetOrgConflictBodyJsonapi get org conflict body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgConflictBodyJsonapi
func (*GetOrgConflictBodyJsonapi) ContextValidate ¶
func (o *GetOrgConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org conflict body jsonapi based on context it is used
func (*GetOrgConflictBodyJsonapi) MarshalBinary ¶
func (o *GetOrgConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgConflictBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgForbidden ¶
type GetOrgForbidden 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 *GetOrgForbiddenBody }
GetOrgForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewGetOrgForbidden ¶
func NewGetOrgForbidden() *GetOrgForbidden
NewGetOrgForbidden creates a GetOrgForbidden with default headers values
func (*GetOrgForbidden) Code ¶
func (o *GetOrgForbidden) Code() int
Code gets the status code for the get org forbidden response
func (*GetOrgForbidden) Error ¶
func (o *GetOrgForbidden) Error() string
func (*GetOrgForbidden) GetPayload ¶
func (o *GetOrgForbidden) GetPayload() *GetOrgForbiddenBody
func (*GetOrgForbidden) IsClientError ¶
func (o *GetOrgForbidden) IsClientError() bool
IsClientError returns true when this get org forbidden response has a 4xx status code
func (*GetOrgForbidden) IsCode ¶
func (o *GetOrgForbidden) IsCode(code int) bool
IsCode returns true when this get org forbidden response a status code equal to that given
func (*GetOrgForbidden) IsRedirect ¶
func (o *GetOrgForbidden) IsRedirect() bool
IsRedirect returns true when this get org forbidden response has a 3xx status code
func (*GetOrgForbidden) IsServerError ¶
func (o *GetOrgForbidden) IsServerError() bool
IsServerError returns true when this get org forbidden response has a 5xx status code
func (*GetOrgForbidden) IsSuccess ¶
func (o *GetOrgForbidden) IsSuccess() bool
IsSuccess returns true when this get org forbidden response has a 2xx status code
func (*GetOrgForbidden) String ¶
func (o *GetOrgForbidden) String() string
type GetOrgForbiddenBody ¶
type GetOrgForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgForbiddenBodyJsonapi `json:"jsonapi"` }
GetOrgForbiddenBody get org forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgForbiddenBody
func (*GetOrgForbiddenBody) ContextValidate ¶
ContextValidate validate this get org forbidden body based on the context it is used
func (*GetOrgForbiddenBody) MarshalBinary ¶
func (o *GetOrgForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgForbiddenBody) UnmarshalBinary ¶
func (o *GetOrgForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgForbiddenBodyErrorsItems0 ¶
type GetOrgForbiddenBodyErrorsItems0 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 *GetOrgForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgForbiddenBodyErrorsItems0Source `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"` }
GetOrgForbiddenBodyErrorsItems0 get org forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgForbiddenBodyErrorsItems0
func (*GetOrgForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org forbidden body errors items0 based on the context it is used
func (*GetOrgForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgForbiddenBodyErrorsItems0Links ¶
type GetOrgForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgForbiddenBodyErrorsItems0Links
func (*GetOrgForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org forbidden body errors items0 links based on context it is used
func (*GetOrgForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgForbiddenBodyErrorsItems0Source ¶
type GetOrgForbiddenBodyErrorsItems0Source 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"` }
GetOrgForbiddenBodyErrorsItems0Source get org forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgForbiddenBodyErrorsItems0Source
func (*GetOrgForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org forbidden body errors items0 source based on context it is used
func (*GetOrgForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgForbiddenBodyJsonapi ¶
type GetOrgForbiddenBodyJsonapi 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"` }
GetOrgForbiddenBodyJsonapi get org forbidden body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgForbiddenBodyJsonapi
func (*GetOrgForbiddenBodyJsonapi) ContextValidate ¶
func (o *GetOrgForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org forbidden body jsonapi based on context it is used
func (*GetOrgForbiddenBodyJsonapi) MarshalBinary ¶
func (o *GetOrgForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgInternalServerError ¶
type GetOrgInternalServerError 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 *GetOrgInternalServerErrorBody }
GetOrgInternalServerError 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 NewGetOrgInternalServerError ¶
func NewGetOrgInternalServerError() *GetOrgInternalServerError
NewGetOrgInternalServerError creates a GetOrgInternalServerError with default headers values
func (*GetOrgInternalServerError) Code ¶
func (o *GetOrgInternalServerError) Code() int
Code gets the status code for the get org internal server error response
func (*GetOrgInternalServerError) Error ¶
func (o *GetOrgInternalServerError) Error() string
func (*GetOrgInternalServerError) GetPayload ¶
func (o *GetOrgInternalServerError) GetPayload() *GetOrgInternalServerErrorBody
func (*GetOrgInternalServerError) IsClientError ¶
func (o *GetOrgInternalServerError) IsClientError() bool
IsClientError returns true when this get org internal server error response has a 4xx status code
func (*GetOrgInternalServerError) IsCode ¶
func (o *GetOrgInternalServerError) IsCode(code int) bool
IsCode returns true when this get org internal server error response a status code equal to that given
func (*GetOrgInternalServerError) IsRedirect ¶
func (o *GetOrgInternalServerError) IsRedirect() bool
IsRedirect returns true when this get org internal server error response has a 3xx status code
func (*GetOrgInternalServerError) IsServerError ¶
func (o *GetOrgInternalServerError) IsServerError() bool
IsServerError returns true when this get org internal server error response has a 5xx status code
func (*GetOrgInternalServerError) IsSuccess ¶
func (o *GetOrgInternalServerError) IsSuccess() bool
IsSuccess returns true when this get org internal server error response has a 2xx status code
func (*GetOrgInternalServerError) String ¶
func (o *GetOrgInternalServerError) String() string
type GetOrgInternalServerErrorBody ¶
type GetOrgInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgInternalServerErrorBodyJsonapi `json:"jsonapi"` }
GetOrgInternalServerErrorBody get org internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgInternalServerErrorBody
func (*GetOrgInternalServerErrorBody) ContextValidate ¶
func (o *GetOrgInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org internal server error body based on the context it is used
func (*GetOrgInternalServerErrorBody) MarshalBinary ¶
func (o *GetOrgInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgInternalServerErrorBody) UnmarshalBinary ¶
func (o *GetOrgInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgInternalServerErrorBodyErrorsItems0 ¶
type GetOrgInternalServerErrorBodyErrorsItems0 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 *GetOrgInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgInternalServerErrorBodyErrorsItems0Source `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"` }
GetOrgInternalServerErrorBodyErrorsItems0 get org internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgInternalServerErrorBodyErrorsItems0
func (*GetOrgInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org internal server error body errors items0 based on the context it is used
func (*GetOrgInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgInternalServerErrorBodyErrorsItems0Links ¶
type GetOrgInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgInternalServerErrorBodyErrorsItems0Links
func (*GetOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org internal server error body errors items0 links based on context it is used
func (*GetOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgInternalServerErrorBodyErrorsItems0Source ¶
type GetOrgInternalServerErrorBodyErrorsItems0Source 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"` }
GetOrgInternalServerErrorBodyErrorsItems0Source get org internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgInternalServerErrorBodyErrorsItems0Source
func (*GetOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org internal server error body errors items0 source based on context it is used
func (*GetOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgInternalServerErrorBodyJsonapi ¶
type GetOrgInternalServerErrorBodyJsonapi 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"` }
GetOrgInternalServerErrorBodyJsonapi get org internal server error body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgInternalServerErrorBodyJsonapi
func (*GetOrgInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *GetOrgInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org internal server error body jsonapi based on context it is used
func (*GetOrgInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgNotFound ¶
type GetOrgNotFound 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 *GetOrgNotFoundBody }
GetOrgNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewGetOrgNotFound ¶
func NewGetOrgNotFound() *GetOrgNotFound
NewGetOrgNotFound creates a GetOrgNotFound with default headers values
func (*GetOrgNotFound) Code ¶
func (o *GetOrgNotFound) Code() int
Code gets the status code for the get org not found response
func (*GetOrgNotFound) Error ¶
func (o *GetOrgNotFound) Error() string
func (*GetOrgNotFound) GetPayload ¶
func (o *GetOrgNotFound) GetPayload() *GetOrgNotFoundBody
func (*GetOrgNotFound) IsClientError ¶
func (o *GetOrgNotFound) IsClientError() bool
IsClientError returns true when this get org not found response has a 4xx status code
func (*GetOrgNotFound) IsCode ¶
func (o *GetOrgNotFound) IsCode(code int) bool
IsCode returns true when this get org not found response a status code equal to that given
func (*GetOrgNotFound) IsRedirect ¶
func (o *GetOrgNotFound) IsRedirect() bool
IsRedirect returns true when this get org not found response has a 3xx status code
func (*GetOrgNotFound) IsServerError ¶
func (o *GetOrgNotFound) IsServerError() bool
IsServerError returns true when this get org not found response has a 5xx status code
func (*GetOrgNotFound) IsSuccess ¶
func (o *GetOrgNotFound) IsSuccess() bool
IsSuccess returns true when this get org not found response has a 2xx status code
func (*GetOrgNotFound) String ¶
func (o *GetOrgNotFound) String() string
type GetOrgNotFoundBody ¶
type GetOrgNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *GetOrgNotFoundBodyJsonapi `json:"jsonapi"` }
GetOrgNotFoundBody get org not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgNotFoundBody
func (*GetOrgNotFoundBody) ContextValidate ¶
ContextValidate validate this get org not found body based on the context it is used
func (*GetOrgNotFoundBody) MarshalBinary ¶
func (o *GetOrgNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgNotFoundBody) UnmarshalBinary ¶
func (o *GetOrgNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgNotFoundBodyErrorsItems0 ¶
type GetOrgNotFoundBodyErrorsItems0 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 *GetOrgNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *GetOrgNotFoundBodyErrorsItems0Source `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"` }
GetOrgNotFoundBodyErrorsItems0 get org not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgNotFoundBodyErrorsItems0
func (*GetOrgNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org not found body errors items0 based on the context it is used
func (*GetOrgNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgNotFoundBodyErrorsItems0Links ¶
type GetOrgNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgNotFoundBodyErrorsItems0Links
func (*GetOrgNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org not found body errors items0 links based on context it is used
func (*GetOrgNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgNotFoundBodyErrorsItems0Source ¶
type GetOrgNotFoundBodyErrorsItems0Source 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"` }
GetOrgNotFoundBodyErrorsItems0Source get org not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgNotFoundBodyErrorsItems0Source
func (*GetOrgNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org not found body errors items0 source based on context it is used
func (*GetOrgNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgNotFoundBodyJsonapi ¶
type GetOrgNotFoundBodyJsonapi 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"` }
GetOrgNotFoundBodyJsonapi get org not found body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgNotFoundBodyJsonapi
func (*GetOrgNotFoundBodyJsonapi) ContextValidate ¶
func (o *GetOrgNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org not found body jsonapi based on context it is used
func (*GetOrgNotFoundBodyJsonapi) MarshalBinary ¶
func (o *GetOrgNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgOK ¶
type GetOrgOK 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 *GetOrgOKBody }
GetOrgOK describes a response with status code 200, with default header values.
Returns an instance of an organization
func NewGetOrgOK ¶
func NewGetOrgOK() *GetOrgOK
NewGetOrgOK creates a GetOrgOK with default headers values
func (*GetOrgOK) GetPayload ¶
func (o *GetOrgOK) GetPayload() *GetOrgOKBody
func (*GetOrgOK) IsClientError ¶
IsClientError returns true when this get org o k response has a 4xx status code
func (*GetOrgOK) IsCode ¶
IsCode returns true when this get org o k response a status code equal to that given
func (*GetOrgOK) IsRedirect ¶
IsRedirect returns true when this get org o k response has a 3xx status code
func (*GetOrgOK) IsServerError ¶
IsServerError returns true when this get org o k response has a 5xx status code
type GetOrgOKBody ¶
type GetOrgOKBody struct { // data Data *models.Org `json:"data,omitempty"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.SelfLink `json:"links,omitempty"` }
GetOrgOKBody get org o k body swagger:model GetOrgOKBody
func (*GetOrgOKBody) ContextValidate ¶
ContextValidate validate this get org o k body based on the context it is used
func (*GetOrgOKBody) MarshalBinary ¶
func (o *GetOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgOKBody) UnmarshalBinary ¶
func (o *GetOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgParams ¶
type GetOrgParams struct { /* OrgID. Unique identifier for org Format: uuid */ OrgID 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 }
GetOrgParams contains all the parameters to send to the API endpoint
for the get org operation. Typically these are written to a http.Request.
func NewGetOrgParams ¶
func NewGetOrgParams() *GetOrgParams
NewGetOrgParams creates a new GetOrgParams 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 NewGetOrgParamsWithContext ¶
func NewGetOrgParamsWithContext(ctx context.Context) *GetOrgParams
NewGetOrgParamsWithContext creates a new GetOrgParams object with the ability to set a context for a request.
func NewGetOrgParamsWithHTTPClient ¶
func NewGetOrgParamsWithHTTPClient(client *http.Client) *GetOrgParams
NewGetOrgParamsWithHTTPClient creates a new GetOrgParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrgParamsWithTimeout ¶
func NewGetOrgParamsWithTimeout(timeout time.Duration) *GetOrgParams
NewGetOrgParamsWithTimeout creates a new GetOrgParams object with the ability to set a timeout on a request.
func (*GetOrgParams) SetContext ¶
func (o *GetOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the get org params
func (*GetOrgParams) SetDefaults ¶
func (o *GetOrgParams) SetDefaults()
SetDefaults hydrates default values in the get org params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgParams) SetHTTPClient ¶
func (o *GetOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org params
func (*GetOrgParams) SetOrgID ¶
func (o *GetOrgParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the get org params
func (*GetOrgParams) SetTimeout ¶
func (o *GetOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org params
func (*GetOrgParams) SetVersion ¶
func (o *GetOrgParams) SetVersion(version string)
SetVersion adds the version to the get org params
func (*GetOrgParams) WithContext ¶
func (o *GetOrgParams) WithContext(ctx context.Context) *GetOrgParams
WithContext adds the context to the get org params
func (*GetOrgParams) WithDefaults ¶
func (o *GetOrgParams) WithDefaults() *GetOrgParams
WithDefaults hydrates default values in the get org params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrgParams) WithHTTPClient ¶
func (o *GetOrgParams) WithHTTPClient(client *http.Client) *GetOrgParams
WithHTTPClient adds the HTTPClient to the get org params
func (*GetOrgParams) WithOrgID ¶
func (o *GetOrgParams) WithOrgID(orgID strfmt.UUID) *GetOrgParams
WithOrgID adds the orgID to the get org params
func (*GetOrgParams) WithTimeout ¶
func (o *GetOrgParams) WithTimeout(timeout time.Duration) *GetOrgParams
WithTimeout adds the timeout to the get org params
func (*GetOrgParams) WithVersion ¶
func (o *GetOrgParams) WithVersion(version string) *GetOrgParams
WithVersion adds the version to the get org params
func (*GetOrgParams) WriteToRequest ¶
func (o *GetOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgReader ¶
type GetOrgReader struct {
// contains filtered or unexported fields
}
GetOrgReader is a Reader for the GetOrg structure.
func (*GetOrgReader) ReadResponse ¶
func (o *GetOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgUnauthorized ¶
type GetOrgUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
GetOrgUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewGetOrgUnauthorized ¶
func NewGetOrgUnauthorized() *GetOrgUnauthorized
NewGetOrgUnauthorized creates a GetOrgUnauthorized with default headers values
func (*GetOrgUnauthorized) Code ¶
func (o *GetOrgUnauthorized) Code() int
Code gets the status code for the get org unauthorized response
func (*GetOrgUnauthorized) Error ¶
func (o *GetOrgUnauthorized) Error() string
func (*GetOrgUnauthorized) GetPayload ¶
func (o *GetOrgUnauthorized) GetPayload() *GetOrgUnauthorizedBody
func (*GetOrgUnauthorized) IsClientError ¶
func (o *GetOrgUnauthorized) IsClientError() bool
IsClientError returns true when this get org unauthorized response has a 4xx status code
func (*GetOrgUnauthorized) IsCode ¶
func (o *GetOrgUnauthorized) IsCode(code int) bool
IsCode returns true when this get org unauthorized response a status code equal to that given
func (*GetOrgUnauthorized) IsRedirect ¶
func (o *GetOrgUnauthorized) IsRedirect() bool
IsRedirect returns true when this get org unauthorized response has a 3xx status code
func (*GetOrgUnauthorized) IsServerError ¶
func (o *GetOrgUnauthorized) IsServerError() bool
IsServerError returns true when this get org unauthorized response has a 5xx status code
func (*GetOrgUnauthorized) IsSuccess ¶
func (o *GetOrgUnauthorized) IsSuccess() bool
IsSuccess returns true when this get org unauthorized response has a 2xx status code
func (*GetOrgUnauthorized) String ¶
func (o *GetOrgUnauthorized) String() string
type GetOrgUnauthorizedBody ¶
type GetOrgUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*GetOrgUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *GetOrgUnauthorizedBodyJsonapi `json:"jsonapi"` }
GetOrgUnauthorizedBody get org unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model GetOrgUnauthorizedBody
func (*GetOrgUnauthorizedBody) ContextValidate ¶
func (o *GetOrgUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org unauthorized body based on the context it is used
func (*GetOrgUnauthorizedBody) MarshalBinary ¶
func (o *GetOrgUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgUnauthorizedBody) UnmarshalBinary ¶
func (o *GetOrgUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgUnauthorizedBodyErrorsItems0 ¶
type GetOrgUnauthorizedBodyErrorsItems0 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 *GetOrgUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *GetOrgUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
GetOrgUnauthorizedBodyErrorsItems0 get org unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model GetOrgUnauthorizedBodyErrorsItems0
func (*GetOrgUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get org unauthorized body errors items0 based on the context it is used
func (*GetOrgUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgUnauthorizedBodyErrorsItems0Links ¶
type GetOrgUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
GetOrgUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model GetOrgUnauthorizedBodyErrorsItems0Links
func (*GetOrgUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org unauthorized body errors items0 links based on context it is used
func (*GetOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgUnauthorizedBodyErrorsItems0Source ¶
type GetOrgUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
GetOrgUnauthorizedBodyErrorsItems0Source get org unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model GetOrgUnauthorizedBodyErrorsItems0Source
func (*GetOrgUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org unauthorized body errors items0 source based on context it is used
func (*GetOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *GetOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrgUnauthorizedBodyJsonapi ¶
type GetOrgUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
GetOrgUnauthorizedBodyJsonapi get org unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model GetOrgUnauthorizedBodyJsonapi
func (*GetOrgUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *GetOrgUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get org unauthorized body jsonapi based on context it is used
func (*GetOrgUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *GetOrgUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrgUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *GetOrgUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsBadRequest ¶
type ListOrgsBadRequest 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 *ListOrgsBadRequestBody }
ListOrgsBadRequest 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 NewListOrgsBadRequest ¶
func NewListOrgsBadRequest() *ListOrgsBadRequest
NewListOrgsBadRequest creates a ListOrgsBadRequest with default headers values
func (*ListOrgsBadRequest) Code ¶
func (o *ListOrgsBadRequest) Code() int
Code gets the status code for the list orgs bad request response
func (*ListOrgsBadRequest) Error ¶
func (o *ListOrgsBadRequest) Error() string
func (*ListOrgsBadRequest) GetPayload ¶
func (o *ListOrgsBadRequest) GetPayload() *ListOrgsBadRequestBody
func (*ListOrgsBadRequest) IsClientError ¶
func (o *ListOrgsBadRequest) IsClientError() bool
IsClientError returns true when this list orgs bad request response has a 4xx status code
func (*ListOrgsBadRequest) IsCode ¶
func (o *ListOrgsBadRequest) IsCode(code int) bool
IsCode returns true when this list orgs bad request response a status code equal to that given
func (*ListOrgsBadRequest) IsRedirect ¶
func (o *ListOrgsBadRequest) IsRedirect() bool
IsRedirect returns true when this list orgs bad request response has a 3xx status code
func (*ListOrgsBadRequest) IsServerError ¶
func (o *ListOrgsBadRequest) IsServerError() bool
IsServerError returns true when this list orgs bad request response has a 5xx status code
func (*ListOrgsBadRequest) IsSuccess ¶
func (o *ListOrgsBadRequest) IsSuccess() bool
IsSuccess returns true when this list orgs bad request response has a 2xx status code
func (*ListOrgsBadRequest) String ¶
func (o *ListOrgsBadRequest) String() string
type ListOrgsBadRequestBody ¶
type ListOrgsBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgsBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgsBadRequestBodyJsonapi `json:"jsonapi"` }
ListOrgsBadRequestBody list orgs bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgsBadRequestBody
func (*ListOrgsBadRequestBody) ContextValidate ¶
func (o *ListOrgsBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs bad request body based on the context it is used
func (*ListOrgsBadRequestBody) MarshalBinary ¶
func (o *ListOrgsBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsBadRequestBody) UnmarshalBinary ¶
func (o *ListOrgsBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsBadRequestBodyErrorsItems0 ¶
type ListOrgsBadRequestBodyErrorsItems0 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 *ListOrgsBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgsBadRequestBodyErrorsItems0Source `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"` }
ListOrgsBadRequestBodyErrorsItems0 list orgs bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsBadRequestBodyErrorsItems0
func (*ListOrgsBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgsBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs bad request body errors items0 based on the context it is used
func (*ListOrgsBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsBadRequestBodyErrorsItems0Links ¶
type ListOrgsBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgsBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgsBadRequestBodyErrorsItems0Links
func (*ListOrgsBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs bad request body errors items0 links based on context it is used
func (*ListOrgsBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsBadRequestBodyErrorsItems0Source ¶
type ListOrgsBadRequestBodyErrorsItems0Source 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"` }
ListOrgsBadRequestBodyErrorsItems0Source list orgs bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsBadRequestBodyErrorsItems0Source
func (*ListOrgsBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs bad request body errors items0 source based on context it is used
func (*ListOrgsBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgsBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsBadRequestBodyJsonapi ¶
type ListOrgsBadRequestBodyJsonapi 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"` }
ListOrgsBadRequestBodyJsonapi list orgs bad request body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsBadRequestBodyJsonapi
func (*ListOrgsBadRequestBodyJsonapi) ContextValidate ¶
func (o *ListOrgsBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs bad request body jsonapi based on context it is used
func (*ListOrgsBadRequestBodyJsonapi) MarshalBinary ¶
func (o *ListOrgsBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgsBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsForbidden ¶
type ListOrgsForbidden 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 *ListOrgsForbiddenBody }
ListOrgsForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewListOrgsForbidden ¶
func NewListOrgsForbidden() *ListOrgsForbidden
NewListOrgsForbidden creates a ListOrgsForbidden with default headers values
func (*ListOrgsForbidden) Code ¶
func (o *ListOrgsForbidden) Code() int
Code gets the status code for the list orgs forbidden response
func (*ListOrgsForbidden) Error ¶
func (o *ListOrgsForbidden) Error() string
func (*ListOrgsForbidden) GetPayload ¶
func (o *ListOrgsForbidden) GetPayload() *ListOrgsForbiddenBody
func (*ListOrgsForbidden) IsClientError ¶
func (o *ListOrgsForbidden) IsClientError() bool
IsClientError returns true when this list orgs forbidden response has a 4xx status code
func (*ListOrgsForbidden) IsCode ¶
func (o *ListOrgsForbidden) IsCode(code int) bool
IsCode returns true when this list orgs forbidden response a status code equal to that given
func (*ListOrgsForbidden) IsRedirect ¶
func (o *ListOrgsForbidden) IsRedirect() bool
IsRedirect returns true when this list orgs forbidden response has a 3xx status code
func (*ListOrgsForbidden) IsServerError ¶
func (o *ListOrgsForbidden) IsServerError() bool
IsServerError returns true when this list orgs forbidden response has a 5xx status code
func (*ListOrgsForbidden) IsSuccess ¶
func (o *ListOrgsForbidden) IsSuccess() bool
IsSuccess returns true when this list orgs forbidden response has a 2xx status code
func (*ListOrgsForbidden) String ¶
func (o *ListOrgsForbidden) String() string
type ListOrgsForbiddenBody ¶
type ListOrgsForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgsForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgsForbiddenBodyJsonapi `json:"jsonapi"` }
ListOrgsForbiddenBody list orgs forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgsForbiddenBody
func (*ListOrgsForbiddenBody) ContextValidate ¶
ContextValidate validate this list orgs forbidden body based on the context it is used
func (*ListOrgsForbiddenBody) MarshalBinary ¶
func (o *ListOrgsForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsForbiddenBody) UnmarshalBinary ¶
func (o *ListOrgsForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsForbiddenBodyErrorsItems0 ¶
type ListOrgsForbiddenBodyErrorsItems0 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 *ListOrgsForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgsForbiddenBodyErrorsItems0Source `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"` }
ListOrgsForbiddenBodyErrorsItems0 list orgs forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsForbiddenBodyErrorsItems0
func (*ListOrgsForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgsForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs forbidden body errors items0 based on the context it is used
func (*ListOrgsForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsForbiddenBodyErrorsItems0Links ¶
type ListOrgsForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgsForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgsForbiddenBodyErrorsItems0Links
func (*ListOrgsForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs forbidden body errors items0 links based on context it is used
func (*ListOrgsForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsForbiddenBodyErrorsItems0Source ¶
type ListOrgsForbiddenBodyErrorsItems0Source 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"` }
ListOrgsForbiddenBodyErrorsItems0Source list orgs forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsForbiddenBodyErrorsItems0Source
func (*ListOrgsForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs forbidden body errors items0 source based on context it is used
func (*ListOrgsForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgsForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsForbiddenBodyJsonapi ¶
type ListOrgsForbiddenBodyJsonapi 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"` }
ListOrgsForbiddenBodyJsonapi list orgs forbidden body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsForbiddenBodyJsonapi
func (*ListOrgsForbiddenBodyJsonapi) ContextValidate ¶
func (o *ListOrgsForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs forbidden body jsonapi based on context it is used
func (*ListOrgsForbiddenBodyJsonapi) MarshalBinary ¶
func (o *ListOrgsForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgsForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsInternalServerError ¶
type ListOrgsInternalServerError 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 *ListOrgsInternalServerErrorBody }
ListOrgsInternalServerError 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 NewListOrgsInternalServerError ¶
func NewListOrgsInternalServerError() *ListOrgsInternalServerError
NewListOrgsInternalServerError creates a ListOrgsInternalServerError with default headers values
func (*ListOrgsInternalServerError) Code ¶
func (o *ListOrgsInternalServerError) Code() int
Code gets the status code for the list orgs internal server error response
func (*ListOrgsInternalServerError) Error ¶
func (o *ListOrgsInternalServerError) Error() string
func (*ListOrgsInternalServerError) GetPayload ¶
func (o *ListOrgsInternalServerError) GetPayload() *ListOrgsInternalServerErrorBody
func (*ListOrgsInternalServerError) IsClientError ¶
func (o *ListOrgsInternalServerError) IsClientError() bool
IsClientError returns true when this list orgs internal server error response has a 4xx status code
func (*ListOrgsInternalServerError) IsCode ¶
func (o *ListOrgsInternalServerError) IsCode(code int) bool
IsCode returns true when this list orgs internal server error response a status code equal to that given
func (*ListOrgsInternalServerError) IsRedirect ¶
func (o *ListOrgsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list orgs internal server error response has a 3xx status code
func (*ListOrgsInternalServerError) IsServerError ¶
func (o *ListOrgsInternalServerError) IsServerError() bool
IsServerError returns true when this list orgs internal server error response has a 5xx status code
func (*ListOrgsInternalServerError) IsSuccess ¶
func (o *ListOrgsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list orgs internal server error response has a 2xx status code
func (*ListOrgsInternalServerError) String ¶
func (o *ListOrgsInternalServerError) String() string
type ListOrgsInternalServerErrorBody ¶
type ListOrgsInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgsInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgsInternalServerErrorBodyJsonapi `json:"jsonapi"` }
ListOrgsInternalServerErrorBody list orgs internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgsInternalServerErrorBody
func (*ListOrgsInternalServerErrorBody) ContextValidate ¶
func (o *ListOrgsInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs internal server error body based on the context it is used
func (*ListOrgsInternalServerErrorBody) MarshalBinary ¶
func (o *ListOrgsInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsInternalServerErrorBody) UnmarshalBinary ¶
func (o *ListOrgsInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsInternalServerErrorBodyErrorsItems0 ¶
type ListOrgsInternalServerErrorBodyErrorsItems0 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 *ListOrgsInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgsInternalServerErrorBodyErrorsItems0Source `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"` }
ListOrgsInternalServerErrorBodyErrorsItems0 list orgs internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsInternalServerErrorBodyErrorsItems0
func (*ListOrgsInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs internal server error body errors items0 based on the context it is used
func (*ListOrgsInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsInternalServerErrorBodyErrorsItems0Links ¶
type ListOrgsInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgsInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgsInternalServerErrorBodyErrorsItems0Links
func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs internal server error body errors items0 links based on context it is used
func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsInternalServerErrorBodyErrorsItems0Source ¶
type ListOrgsInternalServerErrorBodyErrorsItems0Source 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"` }
ListOrgsInternalServerErrorBodyErrorsItems0Source list orgs internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsInternalServerErrorBodyErrorsItems0Source
func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs internal server error body errors items0 source based on context it is used
func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsInternalServerErrorBodyJsonapi ¶
type ListOrgsInternalServerErrorBodyJsonapi 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"` }
ListOrgsInternalServerErrorBodyJsonapi list orgs internal server error body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsInternalServerErrorBodyJsonapi
func (*ListOrgsInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *ListOrgsInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs internal server error body jsonapi based on context it is used
func (*ListOrgsInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgsInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsNotFound ¶
type ListOrgsNotFound 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 *ListOrgsNotFoundBody }
ListOrgsNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewListOrgsNotFound ¶
func NewListOrgsNotFound() *ListOrgsNotFound
NewListOrgsNotFound creates a ListOrgsNotFound with default headers values
func (*ListOrgsNotFound) Code ¶
func (o *ListOrgsNotFound) Code() int
Code gets the status code for the list orgs not found response
func (*ListOrgsNotFound) Error ¶
func (o *ListOrgsNotFound) Error() string
func (*ListOrgsNotFound) GetPayload ¶
func (o *ListOrgsNotFound) GetPayload() *ListOrgsNotFoundBody
func (*ListOrgsNotFound) IsClientError ¶
func (o *ListOrgsNotFound) IsClientError() bool
IsClientError returns true when this list orgs not found response has a 4xx status code
func (*ListOrgsNotFound) IsCode ¶
func (o *ListOrgsNotFound) IsCode(code int) bool
IsCode returns true when this list orgs not found response a status code equal to that given
func (*ListOrgsNotFound) IsRedirect ¶
func (o *ListOrgsNotFound) IsRedirect() bool
IsRedirect returns true when this list orgs not found response has a 3xx status code
func (*ListOrgsNotFound) IsServerError ¶
func (o *ListOrgsNotFound) IsServerError() bool
IsServerError returns true when this list orgs not found response has a 5xx status code
func (*ListOrgsNotFound) IsSuccess ¶
func (o *ListOrgsNotFound) IsSuccess() bool
IsSuccess returns true when this list orgs not found response has a 2xx status code
func (*ListOrgsNotFound) String ¶
func (o *ListOrgsNotFound) String() string
type ListOrgsNotFoundBody ¶
type ListOrgsNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgsNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *ListOrgsNotFoundBodyJsonapi `json:"jsonapi"` }
ListOrgsNotFoundBody list orgs not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgsNotFoundBody
func (*ListOrgsNotFoundBody) ContextValidate ¶
ContextValidate validate this list orgs not found body based on the context it is used
func (*ListOrgsNotFoundBody) MarshalBinary ¶
func (o *ListOrgsNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsNotFoundBody) UnmarshalBinary ¶
func (o *ListOrgsNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsNotFoundBodyErrorsItems0 ¶
type ListOrgsNotFoundBodyErrorsItems0 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 *ListOrgsNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *ListOrgsNotFoundBodyErrorsItems0Source `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"` }
ListOrgsNotFoundBodyErrorsItems0 list orgs not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsNotFoundBodyErrorsItems0
func (*ListOrgsNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgsNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs not found body errors items0 based on the context it is used
func (*ListOrgsNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsNotFoundBodyErrorsItems0Links ¶
type ListOrgsNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgsNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgsNotFoundBodyErrorsItems0Links
func (*ListOrgsNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs not found body errors items0 links based on context it is used
func (*ListOrgsNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsNotFoundBodyErrorsItems0Source ¶
type ListOrgsNotFoundBodyErrorsItems0Source 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"` }
ListOrgsNotFoundBodyErrorsItems0Source list orgs not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsNotFoundBodyErrorsItems0Source
func (*ListOrgsNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs not found body errors items0 source based on context it is used
func (*ListOrgsNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgsNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsNotFoundBodyJsonapi ¶
type ListOrgsNotFoundBodyJsonapi 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"` }
ListOrgsNotFoundBodyJsonapi list orgs not found body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsNotFoundBodyJsonapi
func (*ListOrgsNotFoundBodyJsonapi) ContextValidate ¶
func (o *ListOrgsNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs not found body jsonapi based on context it is used
func (*ListOrgsNotFoundBodyJsonapi) MarshalBinary ¶
func (o *ListOrgsNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgsNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsOK ¶
type ListOrgsOK 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 *ListOrgsOKBody }
ListOrgsOK describes a response with status code 200, with default header values.
A list of organizations you have access to.
func NewListOrgsOK ¶
func NewListOrgsOK() *ListOrgsOK
NewListOrgsOK creates a ListOrgsOK with default headers values
func (*ListOrgsOK) Code ¶
func (o *ListOrgsOK) Code() int
Code gets the status code for the list orgs o k response
func (*ListOrgsOK) Error ¶
func (o *ListOrgsOK) Error() string
func (*ListOrgsOK) GetPayload ¶
func (o *ListOrgsOK) GetPayload() *ListOrgsOKBody
func (*ListOrgsOK) IsClientError ¶
func (o *ListOrgsOK) IsClientError() bool
IsClientError returns true when this list orgs o k response has a 4xx status code
func (*ListOrgsOK) IsCode ¶
func (o *ListOrgsOK) IsCode(code int) bool
IsCode returns true when this list orgs o k response a status code equal to that given
func (*ListOrgsOK) IsRedirect ¶
func (o *ListOrgsOK) IsRedirect() bool
IsRedirect returns true when this list orgs o k response has a 3xx status code
func (*ListOrgsOK) IsServerError ¶
func (o *ListOrgsOK) IsServerError() bool
IsServerError returns true when this list orgs o k response has a 5xx status code
func (*ListOrgsOK) IsSuccess ¶
func (o *ListOrgsOK) IsSuccess() bool
IsSuccess returns true when this list orgs o k response has a 2xx status code
func (*ListOrgsOK) String ¶
func (o *ListOrgsOK) String() string
type ListOrgsOKBody ¶
type ListOrgsOKBody struct { // data // Required: true Data []*models.OrgWithRelationships `json:"data"` // jsonapi // Required: true Jsonapi *models.JSONAPI `json:"jsonapi"` // links // Required: true Links *models.PaginatedLinks `json:"links"` }
ListOrgsOKBody list orgs o k body swagger:model ListOrgsOKBody
func (*ListOrgsOKBody) ContextValidate ¶
ContextValidate validate this list orgs o k body based on the context it is used
func (*ListOrgsOKBody) MarshalBinary ¶
func (o *ListOrgsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsOKBody) UnmarshalBinary ¶
func (o *ListOrgsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsParams ¶
type ListOrgsParams struct { /* EndingBefore. Return the page of results immediately before this cursor */ EndingBefore *string /* Expand. Expand the specified related resources in the response to include their attributes. */ Expand []string /* GroupID. If set, only return organizations within the specified group Format: uuid */ GroupID *strfmt.UUID /* IsPersonal. If true, only return organizations that are not part of a group. */ IsPersonal *bool /* Limit. Number of results to return per page Format: int32 Default: 10 */ Limit *int32 /* Name. Only return orgs whose name contains this value. */ Name *string /* Slug. Only return orgs whose slug exactly matches this value. */ Slug *string /* StartingAfter. Return the page of results immediately after this cursor */ StartingAfter *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 }
ListOrgsParams contains all the parameters to send to the API endpoint
for the list orgs operation. Typically these are written to a http.Request.
func NewListOrgsParams ¶
func NewListOrgsParams() *ListOrgsParams
NewListOrgsParams creates a new ListOrgsParams 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 NewListOrgsParamsWithContext ¶
func NewListOrgsParamsWithContext(ctx context.Context) *ListOrgsParams
NewListOrgsParamsWithContext creates a new ListOrgsParams object with the ability to set a context for a request.
func NewListOrgsParamsWithHTTPClient ¶
func NewListOrgsParamsWithHTTPClient(client *http.Client) *ListOrgsParams
NewListOrgsParamsWithHTTPClient creates a new ListOrgsParams object with the ability to set a custom HTTPClient for a request.
func NewListOrgsParamsWithTimeout ¶
func NewListOrgsParamsWithTimeout(timeout time.Duration) *ListOrgsParams
NewListOrgsParamsWithTimeout creates a new ListOrgsParams object with the ability to set a timeout on a request.
func (*ListOrgsParams) SetContext ¶
func (o *ListOrgsParams) SetContext(ctx context.Context)
SetContext adds the context to the list orgs params
func (*ListOrgsParams) SetDefaults ¶
func (o *ListOrgsParams) SetDefaults()
SetDefaults hydrates default values in the list orgs params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgsParams) SetEndingBefore ¶
func (o *ListOrgsParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the list orgs params
func (*ListOrgsParams) SetExpand ¶
func (o *ListOrgsParams) SetExpand(expand []string)
SetExpand adds the expand to the list orgs params
func (*ListOrgsParams) SetGroupID ¶
func (o *ListOrgsParams) SetGroupID(groupID *strfmt.UUID)
SetGroupID adds the groupId to the list orgs params
func (*ListOrgsParams) SetHTTPClient ¶
func (o *ListOrgsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list orgs params
func (*ListOrgsParams) SetIsPersonal ¶
func (o *ListOrgsParams) SetIsPersonal(isPersonal *bool)
SetIsPersonal adds the isPersonal to the list orgs params
func (*ListOrgsParams) SetLimit ¶
func (o *ListOrgsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list orgs params
func (*ListOrgsParams) SetName ¶
func (o *ListOrgsParams) SetName(name *string)
SetName adds the name to the list orgs params
func (*ListOrgsParams) SetSlug ¶
func (o *ListOrgsParams) SetSlug(slug *string)
SetSlug adds the slug to the list orgs params
func (*ListOrgsParams) SetStartingAfter ¶
func (o *ListOrgsParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the list orgs params
func (*ListOrgsParams) SetTimeout ¶
func (o *ListOrgsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list orgs params
func (*ListOrgsParams) SetVersion ¶
func (o *ListOrgsParams) SetVersion(version string)
SetVersion adds the version to the list orgs params
func (*ListOrgsParams) WithContext ¶
func (o *ListOrgsParams) WithContext(ctx context.Context) *ListOrgsParams
WithContext adds the context to the list orgs params
func (*ListOrgsParams) WithDefaults ¶
func (o *ListOrgsParams) WithDefaults() *ListOrgsParams
WithDefaults hydrates default values in the list orgs params (not the query body).
All values with no default are reset to their zero value.
func (*ListOrgsParams) WithEndingBefore ¶
func (o *ListOrgsParams) WithEndingBefore(endingBefore *string) *ListOrgsParams
WithEndingBefore adds the endingBefore to the list orgs params
func (*ListOrgsParams) WithExpand ¶
func (o *ListOrgsParams) WithExpand(expand []string) *ListOrgsParams
WithExpand adds the expand to the list orgs params
func (*ListOrgsParams) WithGroupID ¶
func (o *ListOrgsParams) WithGroupID(groupID *strfmt.UUID) *ListOrgsParams
WithGroupID adds the groupID to the list orgs params
func (*ListOrgsParams) WithHTTPClient ¶
func (o *ListOrgsParams) WithHTTPClient(client *http.Client) *ListOrgsParams
WithHTTPClient adds the HTTPClient to the list orgs params
func (*ListOrgsParams) WithIsPersonal ¶
func (o *ListOrgsParams) WithIsPersonal(isPersonal *bool) *ListOrgsParams
WithIsPersonal adds the isPersonal to the list orgs params
func (*ListOrgsParams) WithLimit ¶
func (o *ListOrgsParams) WithLimit(limit *int32) *ListOrgsParams
WithLimit adds the limit to the list orgs params
func (*ListOrgsParams) WithName ¶
func (o *ListOrgsParams) WithName(name *string) *ListOrgsParams
WithName adds the name to the list orgs params
func (*ListOrgsParams) WithSlug ¶
func (o *ListOrgsParams) WithSlug(slug *string) *ListOrgsParams
WithSlug adds the slug to the list orgs params
func (*ListOrgsParams) WithStartingAfter ¶
func (o *ListOrgsParams) WithStartingAfter(startingAfter *string) *ListOrgsParams
WithStartingAfter adds the startingAfter to the list orgs params
func (*ListOrgsParams) WithTimeout ¶
func (o *ListOrgsParams) WithTimeout(timeout time.Duration) *ListOrgsParams
WithTimeout adds the timeout to the list orgs params
func (*ListOrgsParams) WithVersion ¶
func (o *ListOrgsParams) WithVersion(version string) *ListOrgsParams
WithVersion adds the version to the list orgs params
func (*ListOrgsParams) WriteToRequest ¶
func (o *ListOrgsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListOrgsReader ¶
type ListOrgsReader struct {
// contains filtered or unexported fields
}
ListOrgsReader is a Reader for the ListOrgs structure.
func (*ListOrgsReader) ReadResponse ¶
func (o *ListOrgsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListOrgsUnauthorized ¶
type ListOrgsUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
ListOrgsUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewListOrgsUnauthorized ¶
func NewListOrgsUnauthorized() *ListOrgsUnauthorized
NewListOrgsUnauthorized creates a ListOrgsUnauthorized with default headers values
func (*ListOrgsUnauthorized) Code ¶
func (o *ListOrgsUnauthorized) Code() int
Code gets the status code for the list orgs unauthorized response
func (*ListOrgsUnauthorized) Error ¶
func (o *ListOrgsUnauthorized) Error() string
func (*ListOrgsUnauthorized) GetPayload ¶
func (o *ListOrgsUnauthorized) GetPayload() *ListOrgsUnauthorizedBody
func (*ListOrgsUnauthorized) IsClientError ¶
func (o *ListOrgsUnauthorized) IsClientError() bool
IsClientError returns true when this list orgs unauthorized response has a 4xx status code
func (*ListOrgsUnauthorized) IsCode ¶
func (o *ListOrgsUnauthorized) IsCode(code int) bool
IsCode returns true when this list orgs unauthorized response a status code equal to that given
func (*ListOrgsUnauthorized) IsRedirect ¶
func (o *ListOrgsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list orgs unauthorized response has a 3xx status code
func (*ListOrgsUnauthorized) IsServerError ¶
func (o *ListOrgsUnauthorized) IsServerError() bool
IsServerError returns true when this list orgs unauthorized response has a 5xx status code
func (*ListOrgsUnauthorized) IsSuccess ¶
func (o *ListOrgsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list orgs unauthorized response has a 2xx status code
func (*ListOrgsUnauthorized) String ¶
func (o *ListOrgsUnauthorized) String() string
type ListOrgsUnauthorizedBody ¶
type ListOrgsUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*ListOrgsUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *ListOrgsUnauthorizedBodyJsonapi `json:"jsonapi"` }
ListOrgsUnauthorizedBody list orgs unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model ListOrgsUnauthorizedBody
func (*ListOrgsUnauthorizedBody) ContextValidate ¶
func (o *ListOrgsUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs unauthorized body based on the context it is used
func (*ListOrgsUnauthorizedBody) MarshalBinary ¶
func (o *ListOrgsUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsUnauthorizedBody) UnmarshalBinary ¶
func (o *ListOrgsUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsUnauthorizedBodyErrorsItems0 ¶
type ListOrgsUnauthorizedBodyErrorsItems0 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 *ListOrgsUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *ListOrgsUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
ListOrgsUnauthorizedBodyErrorsItems0 list orgs unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model ListOrgsUnauthorizedBodyErrorsItems0
func (*ListOrgsUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list orgs unauthorized body errors items0 based on the context it is used
func (*ListOrgsUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsUnauthorizedBodyErrorsItems0Links ¶
type ListOrgsUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
ListOrgsUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model ListOrgsUnauthorizedBodyErrorsItems0Links
func (*ListOrgsUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs unauthorized body errors items0 links based on context it is used
func (*ListOrgsUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsUnauthorizedBodyErrorsItems0Source ¶
type ListOrgsUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
ListOrgsUnauthorizedBodyErrorsItems0Source list orgs unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model ListOrgsUnauthorizedBodyErrorsItems0Source
func (*ListOrgsUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs unauthorized body errors items0 source based on context it is used
func (*ListOrgsUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListOrgsUnauthorizedBodyJsonapi ¶
type ListOrgsUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
ListOrgsUnauthorizedBodyJsonapi list orgs unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model ListOrgsUnauthorizedBodyJsonapi
func (*ListOrgsUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *ListOrgsUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list orgs unauthorized body jsonapi based on context it is used
func (*ListOrgsUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListOrgsUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *ListOrgsUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBadRequest ¶
type UpdateOrgBadRequest 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 *UpdateOrgBadRequestBody }
UpdateOrgBadRequest 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 NewUpdateOrgBadRequest ¶
func NewUpdateOrgBadRequest() *UpdateOrgBadRequest
NewUpdateOrgBadRequest creates a UpdateOrgBadRequest with default headers values
func (*UpdateOrgBadRequest) Code ¶
func (o *UpdateOrgBadRequest) Code() int
Code gets the status code for the update org bad request response
func (*UpdateOrgBadRequest) Error ¶
func (o *UpdateOrgBadRequest) Error() string
func (*UpdateOrgBadRequest) GetPayload ¶
func (o *UpdateOrgBadRequest) GetPayload() *UpdateOrgBadRequestBody
func (*UpdateOrgBadRequest) IsClientError ¶
func (o *UpdateOrgBadRequest) IsClientError() bool
IsClientError returns true when this update org bad request response has a 4xx status code
func (*UpdateOrgBadRequest) IsCode ¶
func (o *UpdateOrgBadRequest) IsCode(code int) bool
IsCode returns true when this update org bad request response a status code equal to that given
func (*UpdateOrgBadRequest) IsRedirect ¶
func (o *UpdateOrgBadRequest) IsRedirect() bool
IsRedirect returns true when this update org bad request response has a 3xx status code
func (*UpdateOrgBadRequest) IsServerError ¶
func (o *UpdateOrgBadRequest) IsServerError() bool
IsServerError returns true when this update org bad request response has a 5xx status code
func (*UpdateOrgBadRequest) IsSuccess ¶
func (o *UpdateOrgBadRequest) IsSuccess() bool
IsSuccess returns true when this update org bad request response has a 2xx status code
func (*UpdateOrgBadRequest) String ¶
func (o *UpdateOrgBadRequest) String() string
type UpdateOrgBadRequestBody ¶
type UpdateOrgBadRequestBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgBadRequestBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgBadRequestBodyJsonapi `json:"jsonapi"` }
UpdateOrgBadRequestBody update org bad request body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgBadRequestBody
func (*UpdateOrgBadRequestBody) ContextValidate ¶
func (o *UpdateOrgBadRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org bad request body based on the context it is used
func (*UpdateOrgBadRequestBody) MarshalBinary ¶
func (o *UpdateOrgBadRequestBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBadRequestBody) UnmarshalBinary ¶
func (o *UpdateOrgBadRequestBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBadRequestBodyErrorsItems0 ¶
type UpdateOrgBadRequestBodyErrorsItems0 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 *UpdateOrgBadRequestBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgBadRequestBodyErrorsItems0Source `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"` }
UpdateOrgBadRequestBodyErrorsItems0 update org bad request body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgBadRequestBodyErrorsItems0
func (*UpdateOrgBadRequestBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org bad request body errors items0 based on the context it is used
func (*UpdateOrgBadRequestBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBadRequestBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBadRequestBodyErrorsItems0Links ¶
type UpdateOrgBadRequestBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgBadRequestBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgBadRequestBodyErrorsItems0Links
func (*UpdateOrgBadRequestBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org bad request body errors items0 links based on context it is used
func (*UpdateOrgBadRequestBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBadRequestBodyErrorsItems0Source ¶
type UpdateOrgBadRequestBodyErrorsItems0Source 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"` }
UpdateOrgBadRequestBodyErrorsItems0Source update org bad request body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgBadRequestBodyErrorsItems0Source
func (*UpdateOrgBadRequestBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org bad request body errors items0 source based on context it is used
func (*UpdateOrgBadRequestBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgBadRequestBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBadRequestBodyJsonapi ¶
type UpdateOrgBadRequestBodyJsonapi 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"` }
UpdateOrgBadRequestBodyJsonapi update org bad request body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgBadRequestBodyJsonapi
func (*UpdateOrgBadRequestBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgBadRequestBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org bad request body jsonapi based on context it is used
func (*UpdateOrgBadRequestBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgBadRequestBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBadRequestBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgBadRequestBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgBody ¶
type UpdateOrgBody struct { // data // Required: true Data *UpdateOrgParamsBodyData `json:"data"` }
UpdateOrgBody update org body swagger:model UpdateOrgBody
func (*UpdateOrgBody) ContextValidate ¶
ContextValidate validate this update org body based on the context it is used
func (*UpdateOrgBody) MarshalBinary ¶
func (o *UpdateOrgBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgBody) UnmarshalBinary ¶
func (o *UpdateOrgBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgConflict ¶
type UpdateOrgConflict 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 *UpdateOrgConflictBody }
UpdateOrgConflict describes a response with status code 409, with default header values.
Conflict: The requested operation conflicts with the current state of the resource in some way.
func NewUpdateOrgConflict ¶
func NewUpdateOrgConflict() *UpdateOrgConflict
NewUpdateOrgConflict creates a UpdateOrgConflict with default headers values
func (*UpdateOrgConflict) Code ¶
func (o *UpdateOrgConflict) Code() int
Code gets the status code for the update org conflict response
func (*UpdateOrgConflict) Error ¶
func (o *UpdateOrgConflict) Error() string
func (*UpdateOrgConflict) GetPayload ¶
func (o *UpdateOrgConflict) GetPayload() *UpdateOrgConflictBody
func (*UpdateOrgConflict) IsClientError ¶
func (o *UpdateOrgConflict) IsClientError() bool
IsClientError returns true when this update org conflict response has a 4xx status code
func (*UpdateOrgConflict) IsCode ¶
func (o *UpdateOrgConflict) IsCode(code int) bool
IsCode returns true when this update org conflict response a status code equal to that given
func (*UpdateOrgConflict) IsRedirect ¶
func (o *UpdateOrgConflict) IsRedirect() bool
IsRedirect returns true when this update org conflict response has a 3xx status code
func (*UpdateOrgConflict) IsServerError ¶
func (o *UpdateOrgConflict) IsServerError() bool
IsServerError returns true when this update org conflict response has a 5xx status code
func (*UpdateOrgConflict) IsSuccess ¶
func (o *UpdateOrgConflict) IsSuccess() bool
IsSuccess returns true when this update org conflict response has a 2xx status code
func (*UpdateOrgConflict) String ¶
func (o *UpdateOrgConflict) String() string
type UpdateOrgConflictBody ¶
type UpdateOrgConflictBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgConflictBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgConflictBodyJsonapi `json:"jsonapi"` }
UpdateOrgConflictBody update org conflict body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgConflictBody
func (*UpdateOrgConflictBody) ContextValidate ¶
ContextValidate validate this update org conflict body based on the context it is used
func (*UpdateOrgConflictBody) MarshalBinary ¶
func (o *UpdateOrgConflictBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgConflictBody) UnmarshalBinary ¶
func (o *UpdateOrgConflictBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgConflictBodyErrorsItems0 ¶
type UpdateOrgConflictBodyErrorsItems0 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 *UpdateOrgConflictBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgConflictBodyErrorsItems0Source `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"` }
UpdateOrgConflictBodyErrorsItems0 update org conflict body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgConflictBodyErrorsItems0
func (*UpdateOrgConflictBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgConflictBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org conflict body errors items0 based on the context it is used
func (*UpdateOrgConflictBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgConflictBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgConflictBodyErrorsItems0Links ¶
type UpdateOrgConflictBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgConflictBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgConflictBodyErrorsItems0Links
func (*UpdateOrgConflictBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgConflictBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org conflict body errors items0 links based on context it is used
func (*UpdateOrgConflictBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgConflictBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgConflictBodyErrorsItems0Source ¶
type UpdateOrgConflictBodyErrorsItems0Source 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"` }
UpdateOrgConflictBodyErrorsItems0Source update org conflict body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgConflictBodyErrorsItems0Source
func (*UpdateOrgConflictBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgConflictBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org conflict body errors items0 source based on context it is used
func (*UpdateOrgConflictBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgConflictBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgConflictBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgConflictBodyJsonapi ¶
type UpdateOrgConflictBodyJsonapi 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"` }
UpdateOrgConflictBodyJsonapi update org conflict body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgConflictBodyJsonapi
func (*UpdateOrgConflictBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgConflictBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org conflict body jsonapi based on context it is used
func (*UpdateOrgConflictBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgConflictBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgConflictBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgConflictBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForbidden ¶
type UpdateOrgForbidden 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 *UpdateOrgForbiddenBody }
UpdateOrgForbidden describes a response with status code 403, with default header values.
Forbidden: the request requires an authentication token with more or different permissions.
func NewUpdateOrgForbidden ¶
func NewUpdateOrgForbidden() *UpdateOrgForbidden
NewUpdateOrgForbidden creates a UpdateOrgForbidden with default headers values
func (*UpdateOrgForbidden) Code ¶
func (o *UpdateOrgForbidden) Code() int
Code gets the status code for the update org forbidden response
func (*UpdateOrgForbidden) Error ¶
func (o *UpdateOrgForbidden) Error() string
func (*UpdateOrgForbidden) GetPayload ¶
func (o *UpdateOrgForbidden) GetPayload() *UpdateOrgForbiddenBody
func (*UpdateOrgForbidden) IsClientError ¶
func (o *UpdateOrgForbidden) IsClientError() bool
IsClientError returns true when this update org forbidden response has a 4xx status code
func (*UpdateOrgForbidden) IsCode ¶
func (o *UpdateOrgForbidden) IsCode(code int) bool
IsCode returns true when this update org forbidden response a status code equal to that given
func (*UpdateOrgForbidden) IsRedirect ¶
func (o *UpdateOrgForbidden) IsRedirect() bool
IsRedirect returns true when this update org forbidden response has a 3xx status code
func (*UpdateOrgForbidden) IsServerError ¶
func (o *UpdateOrgForbidden) IsServerError() bool
IsServerError returns true when this update org forbidden response has a 5xx status code
func (*UpdateOrgForbidden) IsSuccess ¶
func (o *UpdateOrgForbidden) IsSuccess() bool
IsSuccess returns true when this update org forbidden response has a 2xx status code
func (*UpdateOrgForbidden) String ¶
func (o *UpdateOrgForbidden) String() string
type UpdateOrgForbiddenBody ¶
type UpdateOrgForbiddenBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgForbiddenBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgForbiddenBodyJsonapi `json:"jsonapi"` }
UpdateOrgForbiddenBody update org forbidden body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgForbiddenBody
func (*UpdateOrgForbiddenBody) ContextValidate ¶
func (o *UpdateOrgForbiddenBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org forbidden body based on the context it is used
func (*UpdateOrgForbiddenBody) MarshalBinary ¶
func (o *UpdateOrgForbiddenBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForbiddenBody) UnmarshalBinary ¶
func (o *UpdateOrgForbiddenBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForbiddenBodyErrorsItems0 ¶
type UpdateOrgForbiddenBodyErrorsItems0 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 *UpdateOrgForbiddenBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgForbiddenBodyErrorsItems0Source `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"` }
UpdateOrgForbiddenBodyErrorsItems0 update org forbidden body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgForbiddenBodyErrorsItems0
func (*UpdateOrgForbiddenBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org forbidden body errors items0 based on the context it is used
func (*UpdateOrgForbiddenBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForbiddenBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForbiddenBodyErrorsItems0Links ¶
type UpdateOrgForbiddenBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgForbiddenBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgForbiddenBodyErrorsItems0Links
func (*UpdateOrgForbiddenBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org forbidden body errors items0 links based on context it is used
func (*UpdateOrgForbiddenBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForbiddenBodyErrorsItems0Source ¶
type UpdateOrgForbiddenBodyErrorsItems0Source 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"` }
UpdateOrgForbiddenBodyErrorsItems0Source update org forbidden body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgForbiddenBodyErrorsItems0Source
func (*UpdateOrgForbiddenBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org forbidden body errors items0 source based on context it is used
func (*UpdateOrgForbiddenBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgForbiddenBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgForbiddenBodyJsonapi ¶
type UpdateOrgForbiddenBodyJsonapi 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"` }
UpdateOrgForbiddenBodyJsonapi update org forbidden body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgForbiddenBodyJsonapi
func (*UpdateOrgForbiddenBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgForbiddenBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org forbidden body jsonapi based on context it is used
func (*UpdateOrgForbiddenBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgForbiddenBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgForbiddenBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgForbiddenBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgInternalServerError ¶
type UpdateOrgInternalServerError 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 *UpdateOrgInternalServerErrorBody }
UpdateOrgInternalServerError 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 NewUpdateOrgInternalServerError ¶
func NewUpdateOrgInternalServerError() *UpdateOrgInternalServerError
NewUpdateOrgInternalServerError creates a UpdateOrgInternalServerError with default headers values
func (*UpdateOrgInternalServerError) Code ¶
func (o *UpdateOrgInternalServerError) Code() int
Code gets the status code for the update org internal server error response
func (*UpdateOrgInternalServerError) Error ¶
func (o *UpdateOrgInternalServerError) Error() string
func (*UpdateOrgInternalServerError) GetPayload ¶
func (o *UpdateOrgInternalServerError) GetPayload() *UpdateOrgInternalServerErrorBody
func (*UpdateOrgInternalServerError) IsClientError ¶
func (o *UpdateOrgInternalServerError) IsClientError() bool
IsClientError returns true when this update org internal server error response has a 4xx status code
func (*UpdateOrgInternalServerError) IsCode ¶
func (o *UpdateOrgInternalServerError) IsCode(code int) bool
IsCode returns true when this update org internal server error response a status code equal to that given
func (*UpdateOrgInternalServerError) IsRedirect ¶
func (o *UpdateOrgInternalServerError) IsRedirect() bool
IsRedirect returns true when this update org internal server error response has a 3xx status code
func (*UpdateOrgInternalServerError) IsServerError ¶
func (o *UpdateOrgInternalServerError) IsServerError() bool
IsServerError returns true when this update org internal server error response has a 5xx status code
func (*UpdateOrgInternalServerError) IsSuccess ¶
func (o *UpdateOrgInternalServerError) IsSuccess() bool
IsSuccess returns true when this update org internal server error response has a 2xx status code
func (*UpdateOrgInternalServerError) String ¶
func (o *UpdateOrgInternalServerError) String() string
type UpdateOrgInternalServerErrorBody ¶
type UpdateOrgInternalServerErrorBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgInternalServerErrorBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgInternalServerErrorBodyJsonapi `json:"jsonapi"` }
UpdateOrgInternalServerErrorBody update org internal server error body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgInternalServerErrorBody
func (*UpdateOrgInternalServerErrorBody) ContextValidate ¶
func (o *UpdateOrgInternalServerErrorBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org internal server error body based on the context it is used
func (*UpdateOrgInternalServerErrorBody) MarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgInternalServerErrorBody) UnmarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgInternalServerErrorBodyErrorsItems0 ¶
type UpdateOrgInternalServerErrorBodyErrorsItems0 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 *UpdateOrgInternalServerErrorBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgInternalServerErrorBodyErrorsItems0Source `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"` }
UpdateOrgInternalServerErrorBodyErrorsItems0 update org internal server error body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgInternalServerErrorBodyErrorsItems0
func (*UpdateOrgInternalServerErrorBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org internal server error body errors items0 based on the context it is used
func (*UpdateOrgInternalServerErrorBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgInternalServerErrorBodyErrorsItems0Links ¶
type UpdateOrgInternalServerErrorBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgInternalServerErrorBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgInternalServerErrorBodyErrorsItems0Links
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org internal server error body errors items0 links based on context it is used
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgInternalServerErrorBodyErrorsItems0Source ¶
type UpdateOrgInternalServerErrorBodyErrorsItems0Source 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"` }
UpdateOrgInternalServerErrorBodyErrorsItems0Source update org internal server error body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgInternalServerErrorBodyErrorsItems0Source
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org internal server error body errors items0 source based on context it is used
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgInternalServerErrorBodyJsonapi ¶
type UpdateOrgInternalServerErrorBodyJsonapi 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"` }
UpdateOrgInternalServerErrorBodyJsonapi update org internal server error body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgInternalServerErrorBodyJsonapi
func (*UpdateOrgInternalServerErrorBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgInternalServerErrorBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org internal server error body jsonapi based on context it is used
func (*UpdateOrgInternalServerErrorBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgInternalServerErrorBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgInternalServerErrorBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgNoContent ¶
type UpdateOrgNoContent 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 }
UpdateOrgNoContent describes a response with status code 204, with default header values.
The operation completed successfully with no content
func NewUpdateOrgNoContent ¶
func NewUpdateOrgNoContent() *UpdateOrgNoContent
NewUpdateOrgNoContent creates a UpdateOrgNoContent with default headers values
func (*UpdateOrgNoContent) Code ¶
func (o *UpdateOrgNoContent) Code() int
Code gets the status code for the update org no content response
func (*UpdateOrgNoContent) Error ¶
func (o *UpdateOrgNoContent) Error() string
func (*UpdateOrgNoContent) IsClientError ¶
func (o *UpdateOrgNoContent) IsClientError() bool
IsClientError returns true when this update org no content response has a 4xx status code
func (*UpdateOrgNoContent) IsCode ¶
func (o *UpdateOrgNoContent) IsCode(code int) bool
IsCode returns true when this update org no content response a status code equal to that given
func (*UpdateOrgNoContent) IsRedirect ¶
func (o *UpdateOrgNoContent) IsRedirect() bool
IsRedirect returns true when this update org no content response has a 3xx status code
func (*UpdateOrgNoContent) IsServerError ¶
func (o *UpdateOrgNoContent) IsServerError() bool
IsServerError returns true when this update org no content response has a 5xx status code
func (*UpdateOrgNoContent) IsSuccess ¶
func (o *UpdateOrgNoContent) IsSuccess() bool
IsSuccess returns true when this update org no content response has a 2xx status code
func (*UpdateOrgNoContent) String ¶
func (o *UpdateOrgNoContent) String() string
type UpdateOrgNotFound ¶
type UpdateOrgNotFound 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 *UpdateOrgNotFoundBody }
UpdateOrgNotFound describes a response with status code 404, with default header values.
Not Found: The resource being operated on could not be found.
func NewUpdateOrgNotFound ¶
func NewUpdateOrgNotFound() *UpdateOrgNotFound
NewUpdateOrgNotFound creates a UpdateOrgNotFound with default headers values
func (*UpdateOrgNotFound) Code ¶
func (o *UpdateOrgNotFound) Code() int
Code gets the status code for the update org not found response
func (*UpdateOrgNotFound) Error ¶
func (o *UpdateOrgNotFound) Error() string
func (*UpdateOrgNotFound) GetPayload ¶
func (o *UpdateOrgNotFound) GetPayload() *UpdateOrgNotFoundBody
func (*UpdateOrgNotFound) IsClientError ¶
func (o *UpdateOrgNotFound) IsClientError() bool
IsClientError returns true when this update org not found response has a 4xx status code
func (*UpdateOrgNotFound) IsCode ¶
func (o *UpdateOrgNotFound) IsCode(code int) bool
IsCode returns true when this update org not found response a status code equal to that given
func (*UpdateOrgNotFound) IsRedirect ¶
func (o *UpdateOrgNotFound) IsRedirect() bool
IsRedirect returns true when this update org not found response has a 3xx status code
func (*UpdateOrgNotFound) IsServerError ¶
func (o *UpdateOrgNotFound) IsServerError() bool
IsServerError returns true when this update org not found response has a 5xx status code
func (*UpdateOrgNotFound) IsSuccess ¶
func (o *UpdateOrgNotFound) IsSuccess() bool
IsSuccess returns true when this update org not found response has a 2xx status code
func (*UpdateOrgNotFound) String ¶
func (o *UpdateOrgNotFound) String() string
type UpdateOrgNotFoundBody ¶
type UpdateOrgNotFoundBody struct { // errors // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgNotFoundBodyErrorsItems0 `json:"errors"` // jsonapi // Required: true Jsonapi *UpdateOrgNotFoundBodyJsonapi `json:"jsonapi"` }
UpdateOrgNotFoundBody update org not found body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgNotFoundBody
func (*UpdateOrgNotFoundBody) ContextValidate ¶
ContextValidate validate this update org not found body based on the context it is used
func (*UpdateOrgNotFoundBody) MarshalBinary ¶
func (o *UpdateOrgNotFoundBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgNotFoundBody) UnmarshalBinary ¶
func (o *UpdateOrgNotFoundBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgNotFoundBodyErrorsItems0 ¶
type UpdateOrgNotFoundBodyErrorsItems0 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 *UpdateOrgNotFoundBodyErrorsItems0Links `json:"links,omitempty"` // meta // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` // source Source *UpdateOrgNotFoundBodyErrorsItems0Source `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"` }
UpdateOrgNotFoundBodyErrorsItems0 update org not found body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgNotFoundBodyErrorsItems0
func (*UpdateOrgNotFoundBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org not found body errors items0 based on the context it is used
func (*UpdateOrgNotFoundBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgNotFoundBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgNotFoundBodyErrorsItems0Links ¶
type UpdateOrgNotFoundBodyErrorsItems0Links struct { // about // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgNotFoundBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgNotFoundBodyErrorsItems0Links
func (*UpdateOrgNotFoundBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org not found body errors items0 links based on context it is used
func (*UpdateOrgNotFoundBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgNotFoundBodyErrorsItems0Source ¶
type UpdateOrgNotFoundBodyErrorsItems0Source 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"` }
UpdateOrgNotFoundBodyErrorsItems0Source update org not found body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgNotFoundBodyErrorsItems0Source
func (*UpdateOrgNotFoundBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org not found body errors items0 source based on context it is used
func (*UpdateOrgNotFoundBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgNotFoundBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgNotFoundBodyJsonapi ¶
type UpdateOrgNotFoundBodyJsonapi 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"` }
UpdateOrgNotFoundBodyJsonapi update org not found body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgNotFoundBodyJsonapi
func (*UpdateOrgNotFoundBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgNotFoundBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org not found body jsonapi based on context it is used
func (*UpdateOrgNotFoundBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgNotFoundBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgNotFoundBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgNotFoundBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgOK ¶
type UpdateOrgOK 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 *UpdateOrgOKBody }
UpdateOrgOK describes a response with status code 200, with default header values.
Instance of org is updated
func NewUpdateOrgOK ¶
func NewUpdateOrgOK() *UpdateOrgOK
NewUpdateOrgOK creates a UpdateOrgOK with default headers values
func (*UpdateOrgOK) Code ¶
func (o *UpdateOrgOK) Code() int
Code gets the status code for the update org o k response
func (*UpdateOrgOK) Error ¶
func (o *UpdateOrgOK) Error() string
func (*UpdateOrgOK) GetPayload ¶
func (o *UpdateOrgOK) GetPayload() *UpdateOrgOKBody
func (*UpdateOrgOK) IsClientError ¶
func (o *UpdateOrgOK) IsClientError() bool
IsClientError returns true when this update org o k response has a 4xx status code
func (*UpdateOrgOK) IsCode ¶
func (o *UpdateOrgOK) IsCode(code int) bool
IsCode returns true when this update org o k response a status code equal to that given
func (*UpdateOrgOK) IsRedirect ¶
func (o *UpdateOrgOK) IsRedirect() bool
IsRedirect returns true when this update org o k response has a 3xx status code
func (*UpdateOrgOK) IsServerError ¶
func (o *UpdateOrgOK) IsServerError() bool
IsServerError returns true when this update org o k response has a 5xx status code
func (*UpdateOrgOK) IsSuccess ¶
func (o *UpdateOrgOK) IsSuccess() bool
IsSuccess returns true when this update org o k response has a 2xx status code
func (*UpdateOrgOK) String ¶
func (o *UpdateOrgOK) String() string
type UpdateOrgOKBody ¶
type UpdateOrgOKBody struct { // data Data *UpdateOrgOKBodyData `json:"data,omitempty"` // jsonapi Jsonapi *models.JSONAPI `json:"jsonapi,omitempty"` // links Links *models.SelfLink `json:"links,omitempty"` }
UpdateOrgOKBody update org o k body swagger:model UpdateOrgOKBody
func (*UpdateOrgOKBody) ContextValidate ¶
ContextValidate validate this update org o k body based on the context it is used
func (*UpdateOrgOKBody) MarshalBinary ¶
func (o *UpdateOrgOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgOKBody) UnmarshalBinary ¶
func (o *UpdateOrgOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgOKBodyData ¶
type UpdateOrgOKBodyData struct { // attributes Attributes *models.OrgAttributes `json:"attributes,omitempty"` // id // Example: d5b640e5-d88c-4c17-9bf0-93597b7a1ce2 // Required: true // Format: uuid ID *strfmt.UUID `json:"id"` // relationships Relationships *models.OrgRelationships `json:"relationships,omitempty"` // type // Required: true Type *models.Types `json:"type"` }
UpdateOrgOKBodyData org resource object swagger:model UpdateOrgOKBodyData
func (*UpdateOrgOKBodyData) ContextValidate ¶
ContextValidate validate this update org o k body data based on the context it is used
func (*UpdateOrgOKBodyData) MarshalBinary ¶
func (o *UpdateOrgOKBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgOKBodyData) UnmarshalBinary ¶
func (o *UpdateOrgOKBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgParams ¶
type UpdateOrgParams struct { // Body. Body UpdateOrgBody /* OrgID. Unique identifier for org Format: uuid */ OrgID 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 }
UpdateOrgParams contains all the parameters to send to the API endpoint
for the update org operation. Typically these are written to a http.Request.
func NewUpdateOrgParams ¶
func NewUpdateOrgParams() *UpdateOrgParams
NewUpdateOrgParams creates a new UpdateOrgParams 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 NewUpdateOrgParamsWithContext ¶
func NewUpdateOrgParamsWithContext(ctx context.Context) *UpdateOrgParams
NewUpdateOrgParamsWithContext creates a new UpdateOrgParams object with the ability to set a context for a request.
func NewUpdateOrgParamsWithHTTPClient ¶
func NewUpdateOrgParamsWithHTTPClient(client *http.Client) *UpdateOrgParams
NewUpdateOrgParamsWithHTTPClient creates a new UpdateOrgParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrgParamsWithTimeout ¶
func NewUpdateOrgParamsWithTimeout(timeout time.Duration) *UpdateOrgParams
NewUpdateOrgParamsWithTimeout creates a new UpdateOrgParams object with the ability to set a timeout on a request.
func (*UpdateOrgParams) SetBody ¶
func (o *UpdateOrgParams) SetBody(body UpdateOrgBody)
SetBody adds the body to the update org params
func (*UpdateOrgParams) SetContext ¶
func (o *UpdateOrgParams) SetContext(ctx context.Context)
SetContext adds the context to the update org params
func (*UpdateOrgParams) SetDefaults ¶
func (o *UpdateOrgParams) SetDefaults()
SetDefaults hydrates default values in the update org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgParams) SetHTTPClient ¶
func (o *UpdateOrgParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) SetOrgID ¶
func (o *UpdateOrgParams) SetOrgID(orgID strfmt.UUID)
SetOrgID adds the orgId to the update org params
func (*UpdateOrgParams) SetTimeout ¶
func (o *UpdateOrgParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update org params
func (*UpdateOrgParams) SetVersion ¶
func (o *UpdateOrgParams) SetVersion(version string)
SetVersion adds the version to the update org params
func (*UpdateOrgParams) WithBody ¶
func (o *UpdateOrgParams) WithBody(body UpdateOrgBody) *UpdateOrgParams
WithBody adds the body to the update org params
func (*UpdateOrgParams) WithContext ¶
func (o *UpdateOrgParams) WithContext(ctx context.Context) *UpdateOrgParams
WithContext adds the context to the update org params
func (*UpdateOrgParams) WithDefaults ¶
func (o *UpdateOrgParams) WithDefaults() *UpdateOrgParams
WithDefaults hydrates default values in the update org params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateOrgParams) WithHTTPClient ¶
func (o *UpdateOrgParams) WithHTTPClient(client *http.Client) *UpdateOrgParams
WithHTTPClient adds the HTTPClient to the update org params
func (*UpdateOrgParams) WithOrgID ¶
func (o *UpdateOrgParams) WithOrgID(orgID strfmt.UUID) *UpdateOrgParams
WithOrgID adds the orgID to the update org params
func (*UpdateOrgParams) WithTimeout ¶
func (o *UpdateOrgParams) WithTimeout(timeout time.Duration) *UpdateOrgParams
WithTimeout adds the timeout to the update org params
func (*UpdateOrgParams) WithVersion ¶
func (o *UpdateOrgParams) WithVersion(version string) *UpdateOrgParams
WithVersion adds the version to the update org params
func (*UpdateOrgParams) WriteToRequest ¶
func (o *UpdateOrgParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrgParamsBodyData ¶
type UpdateOrgParamsBodyData struct { // attributes Attributes *models.OrgUpdateAttributes `json:"attributes,omitempty"` // id // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // type Type models.Types `json:"type,omitempty"` }
UpdateOrgParamsBodyData update org params body data swagger:model UpdateOrgParamsBodyData
func (*UpdateOrgParamsBodyData) ContextValidate ¶
func (o *UpdateOrgParamsBodyData) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org params body data based on the context it is used
func (*UpdateOrgParamsBodyData) MarshalBinary ¶
func (o *UpdateOrgParamsBodyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgParamsBodyData) UnmarshalBinary ¶
func (o *UpdateOrgParamsBodyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgReader ¶
type UpdateOrgReader struct {
// contains filtered or unexported fields
}
UpdateOrgReader is a Reader for the UpdateOrg structure.
func (*UpdateOrgReader) ReadResponse ¶
func (o *UpdateOrgReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrgUnauthorized ¶
type UpdateOrgUnauthorized struct { strfmt.DateTime SnykRequestID strfmt.UUID SnykVersionLifecycleStage string SnykVersionRequested string SnykVersionServed string Sunset strfmt.DateTime }Deprecation
UpdateOrgUnauthorized describes a response with status code 401, with default header values.
Unauthorized: the request requires an authentication token.
func NewUpdateOrgUnauthorized ¶
func NewUpdateOrgUnauthorized() *UpdateOrgUnauthorized
NewUpdateOrgUnauthorized creates a UpdateOrgUnauthorized with default headers values
func (*UpdateOrgUnauthorized) Code ¶
func (o *UpdateOrgUnauthorized) Code() int
Code gets the status code for the update org unauthorized response
func (*UpdateOrgUnauthorized) Error ¶
func (o *UpdateOrgUnauthorized) Error() string
func (*UpdateOrgUnauthorized) GetPayload ¶
func (o *UpdateOrgUnauthorized) GetPayload() *UpdateOrgUnauthorizedBody
func (*UpdateOrgUnauthorized) IsClientError ¶
func (o *UpdateOrgUnauthorized) IsClientError() bool
IsClientError returns true when this update org unauthorized response has a 4xx status code
func (*UpdateOrgUnauthorized) IsCode ¶
func (o *UpdateOrgUnauthorized) IsCode(code int) bool
IsCode returns true when this update org unauthorized response a status code equal to that given
func (*UpdateOrgUnauthorized) IsRedirect ¶
func (o *UpdateOrgUnauthorized) IsRedirect() bool
IsRedirect returns true when this update org unauthorized response has a 3xx status code
func (*UpdateOrgUnauthorized) IsServerError ¶
func (o *UpdateOrgUnauthorized) IsServerError() bool
IsServerError returns true when this update org unauthorized response has a 5xx status code
func (*UpdateOrgUnauthorized) IsSuccess ¶
func (o *UpdateOrgUnauthorized) IsSuccess() bool
IsSuccess returns true when this update org unauthorized response has a 2xx status code
func (*UpdateOrgUnauthorized) String ¶
func (o *UpdateOrgUnauthorized) String() string
type UpdateOrgUnauthorizedBody ¶
type UpdateOrgUnauthorizedBody struct { // Example: [{"detail":"Permission denied for this resource","status":"403"}] // Required: true // Min Items: 1 Errors []*UpdateOrgUnauthorizedBodyErrorsItems0 `json:"errors"` // Required: true Jsonapi *UpdateOrgUnauthorizedBodyJsonapi `json:"jsonapi"` }
UpdateOrgUnauthorizedBody update org unauthorized body // Example: {"errors":[{"detail":"Permission denied for this resource","status":"403"}],"jsonapi":{"version":"1.0"}} swagger:model UpdateOrgUnauthorizedBody
func (*UpdateOrgUnauthorizedBody) ContextValidate ¶
func (o *UpdateOrgUnauthorizedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org unauthorized body based on the context it is used
func (*UpdateOrgUnauthorizedBody) MarshalBinary ¶
func (o *UpdateOrgUnauthorizedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUnauthorizedBody) UnmarshalBinary ¶
func (o *UpdateOrgUnauthorizedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgUnauthorizedBodyErrorsItems0 ¶
type UpdateOrgUnauthorizedBodyErrorsItems0 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 *UpdateOrgUnauthorizedBodyErrorsItems0Links `json:"links,omitempty"` // Example: {"key":"value"} Meta interface{} `json:"meta,omitempty"` Source *UpdateOrgUnauthorizedBodyErrorsItems0Source `json:"source,omitempty"` // Example: 400 // Required: true // Pattern: ^[45]\d\d$ Status *string `json:"status"` // Example: Bad request Title string `json:"title,omitempty"` }
UpdateOrgUnauthorizedBodyErrorsItems0 update org unauthorized body errors items0 // Example: {"detail":"Not Found","status":"404"} swagger:model UpdateOrgUnauthorizedBodyErrorsItems0
func (*UpdateOrgUnauthorizedBodyErrorsItems0) ContextValidate ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update org unauthorized body errors items0 based on the context it is used
func (*UpdateOrgUnauthorizedBodyErrorsItems0) MarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgUnauthorizedBodyErrorsItems0Links ¶
type UpdateOrgUnauthorizedBodyErrorsItems0Links struct { // Example: https://example.com/api/resource About interface{} `json:"about,omitempty"` }
UpdateOrgUnauthorizedBodyErrorsItems0Links A link that leads to further details about this particular occurrance of the problem. // Example: {"about":"https://example.com/about_this_error"} swagger:model UpdateOrgUnauthorizedBodyErrorsItems0Links
func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) ContextValidate ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org unauthorized body errors items0 links based on context it is used
func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Links) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgUnauthorizedBodyErrorsItems0Source ¶
type UpdateOrgUnauthorizedBodyErrorsItems0Source struct { // Example: param1 Parameter string `json:"parameter,omitempty"` // Example: /data/attributes Pointer string `json:"pointer,omitempty"` }
UpdateOrgUnauthorizedBodyErrorsItems0Source update org unauthorized body errors items0 source // Example: {"pointer":"/data/attributes"} swagger:model UpdateOrgUnauthorizedBodyErrorsItems0Source
func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) ContextValidate ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org unauthorized body errors items0 source based on context it is used
func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyErrorsItems0Source) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrgUnauthorizedBodyJsonapi ¶
type UpdateOrgUnauthorizedBodyJsonapi struct { // Example: 1.0 // Required: true // Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)$ Version *string `json:"version"` }
UpdateOrgUnauthorizedBodyJsonapi update org unauthorized body jsonapi // Example: {"version":"1.0"} swagger:model UpdateOrgUnauthorizedBodyJsonapi
func (*UpdateOrgUnauthorizedBodyJsonapi) ContextValidate ¶
func (o *UpdateOrgUnauthorizedBodyJsonapi) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update org unauthorized body jsonapi based on context it is used
func (*UpdateOrgUnauthorizedBodyJsonapi) MarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyJsonapi) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrgUnauthorizedBodyJsonapi) UnmarshalBinary ¶
func (o *UpdateOrgUnauthorizedBodyJsonapi) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation