Documentation ¶
Index ¶
- Constants
- Variables
- func IsEmptyRecord[T any](t T) bool
- func MarshalBatchEntities[K comparable, V any](entities map[K]V, writer restlicodec.Writer) (err error)
- func UnmarshalBatchEntities[K comparable, V restlicodec.Marshaler](entities map[K]V, reader restlicodec.Reader) (err error)
- type BatchEntityUpdateResponse
- type BatchResponse
- func (b *BatchResponse[K, V]) AddError(key K, value *ErrorResponse)
- func (b *BatchResponse[K, V]) AddResult(key K, value V)
- func (b *BatchResponse[K, V]) AddStatus(key K, value int)
- func (b *BatchResponse[K, V]) MarshalRestLi(writer restlicodec.Writer) error
- func (b *BatchResponse[K, V]) UnmarshalRestLi(reader restlicodec.Reader) error
- func (b *BatchResponse[K, V]) UnmarshalWithKeyLocator(reader restlicodec.Reader, keys KeyLocator[K]) error
- type CollectionMetadata
- func (c *CollectionMetadata) ComputeHash() fnv1a.Hash
- func (c *CollectionMetadata) Equals(other *CollectionMetadata) bool
- func (c *CollectionMetadata) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (c *CollectionMetadata) MarshalJSON() (data []byte, err error)
- func (c *CollectionMetadata) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CollectionMetadata) NewInstance() *CollectionMetadata
- func (c *CollectionMetadata) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (c *CollectionMetadata) UnmarshalJSON(data []byte) error
- func (c *CollectionMetadata) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CollectionMetadata_PartialUpdate
- func (c *CollectionMetadata_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (c *CollectionMetadata_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CollectionMetadata_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (c *CollectionMetadata_PartialUpdate) NewInstance() *CollectionMetadata_PartialUpdate
- func (c *CollectionMetadata_PartialUpdate) UnmarshalJSON(data []byte) error
- func (c *CollectionMetadata_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (c *CollectionMetadata_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type CollectionMetadata_PartialUpdate_Delete_Fields
- func (c *CollectionMetadata_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
- func (c *CollectionMetadata_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CollectionMetadata_PartialUpdate_Delete_Fields) NewInstance() *CollectionMetadata_PartialUpdate_Delete_Fields
- func (c *CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
- func (c *CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CollectionMetadata_PartialUpdate_Set_Fields
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) NewInstance() *CollectionMetadata_PartialUpdate_Set_Fields
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CreateStatus
- func (c *CreateStatus) ComputeHash() fnv1a.Hash
- func (c *CreateStatus) Equals(other *CreateStatus) bool
- func (c *CreateStatus) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (c *CreateStatus) MarshalJSON() (data []byte, err error)
- func (c *CreateStatus) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CreateStatus) NewInstance() *CreateStatus
- func (c *CreateStatus) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (c *CreateStatus) UnmarshalJSON(data []byte) error
- func (c *CreateStatus) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CreateStatus_PartialUpdate
- func (c *CreateStatus_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (c *CreateStatus_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CreateStatus_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (c *CreateStatus_PartialUpdate) NewInstance() *CreateStatus_PartialUpdate
- func (c *CreateStatus_PartialUpdate) UnmarshalJSON(data []byte) error
- func (c *CreateStatus_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (c *CreateStatus_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type CreateStatus_PartialUpdate_Delete_Fields
- func (c *CreateStatus_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
- func (c *CreateStatus_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CreateStatus_PartialUpdate_Delete_Fields) NewInstance() *CreateStatus_PartialUpdate_Delete_Fields
- func (c *CreateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
- func (c *CreateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CreateStatus_PartialUpdate_Set_Fields
- func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (c *CreateStatus_PartialUpdate_Set_Fields) NewInstance() *CreateStatus_PartialUpdate_Set_Fields
- func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type CreatedAndReturnedEntity
- type CreatedEntity
- type Elements
- type ElementsWithMetadata
- type EmptyRecord
- func (e EmptyRecord) ComputeHash() fnv1a.Hash
- func (e EmptyRecord) DecodeQueryParams(restlicodec.QueryParamsReader) error
- func (e EmptyRecord) Equals(EmptyRecord) bool
- func (e EmptyRecord) MarshalRestLi(writer restlicodec.Writer) error
- func (e EmptyRecord) NewInstance() EmptyRecord
- func (e EmptyRecord) UnmarshalRestLi(reader restlicodec.Reader) error
- type ErrorDetails
- func (e *ErrorDetails) ComputeHash() fnv1a.Hash
- func (e *ErrorDetails) Equals(other *ErrorDetails) bool
- func (e *ErrorDetails) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ErrorDetails) MarshalJSON() (data []byte, err error)
- func (e *ErrorDetails) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorDetails) NewInstance() *ErrorDetails
- func (e *ErrorDetails) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ErrorDetails) UnmarshalJSON(data []byte) error
- func (e *ErrorDetails) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ErrorDetails_PartialUpdate
- func (e *ErrorDetails_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (e *ErrorDetails_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorDetails_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (e *ErrorDetails_PartialUpdate) NewInstance() *ErrorDetails_PartialUpdate
- func (e *ErrorDetails_PartialUpdate) UnmarshalJSON(data []byte) error
- func (e *ErrorDetails_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (e *ErrorDetails_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type ErrorDetails_PartialUpdate_Set_Fields
- func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorDetails_PartialUpdate_Set_Fields) NewInstance() *ErrorDetails_PartialUpdate_Set_Fields
- func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ErrorResponse
- func (e *ErrorResponse) ComputeHash() fnv1a.Hash
- func (e *ErrorResponse) Equals(other *ErrorResponse) bool
- func (e *ErrorResponse) Error() string
- func (e *ErrorResponse) Format(s fmt.State, verb rune)
- func (e *ErrorResponse) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ErrorResponse) MarshalJSON() (data []byte, err error)
- func (e *ErrorResponse) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorResponse) NewInstance() *ErrorResponse
- func (e *ErrorResponse) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ErrorResponse) UnmarshalJSON(data []byte) error
- func (e *ErrorResponse) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ErrorResponse_PartialUpdate
- func (e *ErrorResponse_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (e *ErrorResponse_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorResponse_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (e *ErrorResponse_PartialUpdate) NewInstance() *ErrorResponse_PartialUpdate
- func (e *ErrorResponse_PartialUpdate) UnmarshalJSON(data []byte) error
- func (e *ErrorResponse_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (e *ErrorResponse_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type ErrorResponse_PartialUpdate_Delete_Fields
- func (e *ErrorResponse_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
- func (e *ErrorResponse_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorResponse_PartialUpdate_Delete_Fields) NewInstance() *ErrorResponse_PartialUpdate_Delete_Fields
- func (e *ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
- func (e *ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ErrorResponse_PartialUpdate_Set_Fields
- func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ErrorResponse_PartialUpdate_Set_Fields) NewInstance() *ErrorResponse_PartialUpdate_Set_Fields
- func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ExtensionSchemaAnnotation
- func (e *ExtensionSchemaAnnotation) ComputeHash() fnv1a.Hash
- func (e *ExtensionSchemaAnnotation) Equals(other *ExtensionSchemaAnnotation) bool
- func (e *ExtensionSchemaAnnotation) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation) MarshalJSON() (data []byte, err error)
- func (e *ExtensionSchemaAnnotation) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation) NewInstance() *ExtensionSchemaAnnotation
- func (e *ExtensionSchemaAnnotation) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ExtensionSchemaAnnotation) UnmarshalJSON(data []byte) error
- func (e *ExtensionSchemaAnnotation) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ExtensionSchemaAnnotation_PartialUpdate
- func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate) NewInstance() *ExtensionSchemaAnnotation_PartialUpdate
- func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalJSON(data []byte) error
- func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) NewInstance() *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type ExtensionSchemaAnnotation_PartialUpdate_Set_Fields
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) NewInstance() *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type KeyLocator
- type Link
- func (l *Link) ComputeHash() fnv1a.Hash
- func (l *Link) Equals(other *Link) bool
- func (l *Link) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (l *Link) MarshalJSON() (data []byte, err error)
- func (l *Link) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (l *Link) NewInstance() *Link
- func (l *Link) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (l *Link) UnmarshalJSON(data []byte) error
- func (l *Link) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type Link_PartialUpdate
- func (l *Link_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (l *Link_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (l *Link_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (l *Link_PartialUpdate) NewInstance() *Link_PartialUpdate
- func (l *Link_PartialUpdate) UnmarshalJSON(data []byte) error
- func (l *Link_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (l *Link_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type Link_PartialUpdate_Set_Fields
- func (l *Link_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (l *Link_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (l *Link_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (l *Link_PartialUpdate_Set_Fields) NewInstance() *Link_PartialUpdate_Set_Fields
- func (l *Link_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (l *Link_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (l *Link_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type PegasusSchema
- func (p *PegasusSchema) ComputeHash() fnv1a.Hash
- func (p *PegasusSchema) Equals(other *PegasusSchema) bool
- func (p *PegasusSchema) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (p *PegasusSchema) MarshalJSON() (data []byte, err error)
- func (p *PegasusSchema) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (p *PegasusSchema) NewInstance() *PegasusSchema
- func (p *PegasusSchema) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (p *PegasusSchema) UnmarshalJSON(data []byte) error
- func (p *PegasusSchema) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type PegasusSchema_PartialUpdate
- func (p *PegasusSchema_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (p *PegasusSchema_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (p *PegasusSchema_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (p *PegasusSchema_PartialUpdate) NewInstance() *PegasusSchema_PartialUpdate
- func (p *PegasusSchema_PartialUpdate) UnmarshalJSON(data []byte) error
- func (p *PegasusSchema_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (p *PegasusSchema_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type PegasusSchema_PartialUpdate_Set_Fields
- func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (p *PegasusSchema_PartialUpdate_Set_Fields) NewInstance() *PegasusSchema_PartialUpdate_Set_Fields
- func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type UpdateStatus
- func (u *UpdateStatus) ComputeHash() fnv1a.Hash
- func (u *UpdateStatus) Equals(other *UpdateStatus) bool
- func (u *UpdateStatus) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (u *UpdateStatus) MarshalJSON() (data []byte, err error)
- func (u *UpdateStatus) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (u *UpdateStatus) NewInstance() *UpdateStatus
- func (u *UpdateStatus) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (u *UpdateStatus) UnmarshalJSON(data []byte) error
- func (u *UpdateStatus) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type UpdateStatus_PartialUpdate
- func (u *UpdateStatus_PartialUpdate) MarshalJSON() (data []byte, err error)
- func (u *UpdateStatus_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (u *UpdateStatus_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
- func (u *UpdateStatus_PartialUpdate) NewInstance() *UpdateStatus_PartialUpdate
- func (u *UpdateStatus_PartialUpdate) UnmarshalJSON(data []byte) error
- func (u *UpdateStatus_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- func (u *UpdateStatus_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
- type UpdateStatus_PartialUpdate_Delete_Fields
- func (u *UpdateStatus_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
- func (u *UpdateStatus_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (u *UpdateStatus_PartialUpdate_Delete_Fields) NewInstance() *UpdateStatus_PartialUpdate_Delete_Fields
- func (u *UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
- func (u *UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
- type UpdateStatus_PartialUpdate_Set_Fields
- func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
- func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
- func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
- func (u *UpdateStatus_PartialUpdate_Set_Fields) NewInstance() *UpdateStatus_PartialUpdate_Set_Fields
- func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
- func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
- func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
Constants ¶
const ( ElementsField = "elements" ValueField = "value" StatusField = "status" StatusesField = "statuses" ResultsField = "results" ErrorField = "error" ErrorsField = "errors" IdField = "id" LocationField = "location" PagingField = "paging" MetadataField = "metadata" EntityField = "entity" EntitiesField = "entities" )
Variables ¶
var CollectionMetadataRequiredFields = restlicodec.NewRequiredFields().Add(
"start",
"count",
"links",
)
var CollectionMetadata_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var CreateStatusRequiredFields = restlicodec.NewRequiredFields().Add(
"status",
)
var CreateStatus_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var ErrorDetailsRequiredFields = restlicodec.NewRequiredFields()
var ErrorDetails_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var ErrorResponseRequiredFields = restlicodec.NewRequiredFields()
var ErrorResponse_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var ExtensionSchemaAnnotationRequiredFields = restlicodec.NewRequiredFields()
var ExtensionSchemaAnnotation_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var LinkRequiredFields = restlicodec.NewRequiredFields().Add(
"rel",
"href",
"type",
)
var Link_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var PegasusSchemaRequiredFields = restlicodec.NewRequiredFields()
var PegasusSchema_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
var UpdateStatusRequiredFields = restlicodec.NewRequiredFields().Add(
"status",
)
var UpdateStatus_PartialUpdate_Set_FieldsRequiredFields = restlicodec.NewRequiredFields()
Functions ¶
func IsEmptyRecord ¶
func MarshalBatchEntities ¶
func MarshalBatchEntities[K comparable, V any](entities map[K]V, writer restlicodec.Writer) (err error)
func UnmarshalBatchEntities ¶
func UnmarshalBatchEntities[K comparable, V restlicodec.Marshaler](entities map[K]V, reader restlicodec.Reader) (err error)
Types ¶
type BatchEntityUpdateResponse ¶
type BatchEntityUpdateResponse struct {
Status int
}
func (*BatchEntityUpdateResponse) MarshalRestLi ¶
func (b *BatchEntityUpdateResponse) MarshalRestLi(writer restlicodec.Writer) error
func (*BatchEntityUpdateResponse) NewInstance ¶
func (b *BatchEntityUpdateResponse) NewInstance() *BatchEntityUpdateResponse
func (*BatchEntityUpdateResponse) UnmarshalRestLi ¶
func (b *BatchEntityUpdateResponse) UnmarshalRestLi(reader restlicodec.Reader) error
type BatchResponse ¶
type BatchResponse[K comparable, V restlicodec.Marshaler] struct { Statuses map[K]int Results map[K]V Errors map[K]*ErrorResponse }
func (*BatchResponse[K, V]) AddError ¶
func (b *BatchResponse[K, V]) AddError(key K, value *ErrorResponse)
func (*BatchResponse[K, V]) AddResult ¶
func (b *BatchResponse[K, V]) AddResult(key K, value V)
func (*BatchResponse[K, V]) AddStatus ¶
func (b *BatchResponse[K, V]) AddStatus(key K, value int)
func (*BatchResponse[K, V]) MarshalRestLi ¶
func (b *BatchResponse[K, V]) MarshalRestLi(writer restlicodec.Writer) error
func (*BatchResponse[K, V]) UnmarshalRestLi ¶
func (b *BatchResponse[K, V]) UnmarshalRestLi(reader restlicodec.Reader) error
func (*BatchResponse[K, V]) UnmarshalWithKeyLocator ¶
func (b *BatchResponse[K, V]) UnmarshalWithKeyLocator(reader restlicodec.Reader, keys KeyLocator[K]) error
type CollectionMetadata ¶
type CollectionMetadata struct { // The start index of this collection Start int32 // The number of elements in this collection segment Count int32 // The total number of elements in the entire collection (not just this segment) Total *int32 Links []*Link }
Metadata and pagination links for this collection
func NewCollectionMetadataWithDefaultValues ¶
func NewCollectionMetadataWithDefaultValues() (c *CollectionMetadata)
func (*CollectionMetadata) ComputeHash ¶
func (c *CollectionMetadata) ComputeHash() fnv1a.Hash
func (*CollectionMetadata) Equals ¶
func (c *CollectionMetadata) Equals(other *CollectionMetadata) bool
func (*CollectionMetadata) MarshalFields ¶
func (c *CollectionMetadata) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*CollectionMetadata) MarshalJSON ¶
func (c *CollectionMetadata) MarshalJSON() (data []byte, err error)
func (*CollectionMetadata) MarshalRestLi ¶
func (c *CollectionMetadata) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CollectionMetadata) NewInstance ¶
func (c *CollectionMetadata) NewInstance() *CollectionMetadata
func (*CollectionMetadata) UnmarshalField ¶
func (c *CollectionMetadata) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*CollectionMetadata) UnmarshalJSON ¶
func (c *CollectionMetadata) UnmarshalJSON(data []byte) error
func (*CollectionMetadata) UnmarshalRestLi ¶
func (c *CollectionMetadata) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CollectionMetadata_PartialUpdate ¶
type CollectionMetadata_PartialUpdate struct { Delete_Fields CollectionMetadata_PartialUpdate_Delete_Fields Set_Fields CollectionMetadata_PartialUpdate_Set_Fields }
CollectionMetadata_PartialUpdate is used to represent a partial update on CollectionMetadata. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*CollectionMetadata_PartialUpdate) MarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*CollectionMetadata_PartialUpdate) MarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CollectionMetadata_PartialUpdate) MarshalRestLiPatch ¶
func (c *CollectionMetadata_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*CollectionMetadata_PartialUpdate) NewInstance ¶
func (c *CollectionMetadata_PartialUpdate) NewInstance() *CollectionMetadata_PartialUpdate
func (*CollectionMetadata_PartialUpdate) UnmarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate) UnmarshalJSON(data []byte) error
func (*CollectionMetadata_PartialUpdate) UnmarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*CollectionMetadata_PartialUpdate) UnmarshalRestLiPatch ¶
func (c *CollectionMetadata_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type CollectionMetadata_PartialUpdate_Delete_Fields ¶
type CollectionMetadata_PartialUpdate_Delete_Fields struct {
Total bool
}
func (*CollectionMetadata_PartialUpdate_Delete_Fields) MarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
func (*CollectionMetadata_PartialUpdate_Delete_Fields) MarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CollectionMetadata_PartialUpdate_Delete_Fields) NewInstance ¶
func (c *CollectionMetadata_PartialUpdate_Delete_Fields) NewInstance() *CollectionMetadata_PartialUpdate_Delete_Fields
func (*CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
func (*CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CollectionMetadata_PartialUpdate_Set_Fields ¶
type CollectionMetadata_PartialUpdate_Set_Fields struct { // start Start *int32 // count Count *int32 // total Total *int32 // links Links *[]*Link }
func (*CollectionMetadata_PartialUpdate_Set_Fields) MarshalFields ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*CollectionMetadata_PartialUpdate_Set_Fields) MarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*CollectionMetadata_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CollectionMetadata_PartialUpdate_Set_Fields) NewInstance ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) NewInstance() *CollectionMetadata_PartialUpdate_Set_Fields
func (*CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalField ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (c *CollectionMetadata_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CreateStatus ¶
type CreateStatus struct { Status int32 Id *string // The location url to retrieve the newly created entity Location *string Error *ErrorResponse }
A rest.li create status.
func (*CreateStatus) ComputeHash ¶
func (c *CreateStatus) ComputeHash() fnv1a.Hash
func (*CreateStatus) Equals ¶
func (c *CreateStatus) Equals(other *CreateStatus) bool
func (*CreateStatus) MarshalFields ¶
func (c *CreateStatus) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*CreateStatus) MarshalJSON ¶
func (c *CreateStatus) MarshalJSON() (data []byte, err error)
func (*CreateStatus) MarshalRestLi ¶
func (c *CreateStatus) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CreateStatus) NewInstance ¶
func (c *CreateStatus) NewInstance() *CreateStatus
func (*CreateStatus) UnmarshalField ¶
func (c *CreateStatus) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*CreateStatus) UnmarshalJSON ¶
func (c *CreateStatus) UnmarshalJSON(data []byte) error
func (*CreateStatus) UnmarshalRestLi ¶
func (c *CreateStatus) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CreateStatus_PartialUpdate ¶
type CreateStatus_PartialUpdate struct { Delete_Fields CreateStatus_PartialUpdate_Delete_Fields Set_Fields CreateStatus_PartialUpdate_Set_Fields Error *ErrorResponse_PartialUpdate }
CreateStatus_PartialUpdate is used to represent a partial update on CreateStatus. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*CreateStatus_PartialUpdate) MarshalJSON ¶
func (c *CreateStatus_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*CreateStatus_PartialUpdate) MarshalRestLi ¶
func (c *CreateStatus_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CreateStatus_PartialUpdate) MarshalRestLiPatch ¶
func (c *CreateStatus_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*CreateStatus_PartialUpdate) NewInstance ¶
func (c *CreateStatus_PartialUpdate) NewInstance() *CreateStatus_PartialUpdate
func (*CreateStatus_PartialUpdate) UnmarshalJSON ¶
func (c *CreateStatus_PartialUpdate) UnmarshalJSON(data []byte) error
func (*CreateStatus_PartialUpdate) UnmarshalRestLi ¶
func (c *CreateStatus_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*CreateStatus_PartialUpdate) UnmarshalRestLiPatch ¶
func (c *CreateStatus_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type CreateStatus_PartialUpdate_Delete_Fields ¶
func (*CreateStatus_PartialUpdate_Delete_Fields) MarshalJSON ¶
func (c *CreateStatus_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
func (*CreateStatus_PartialUpdate_Delete_Fields) MarshalRestLi ¶
func (c *CreateStatus_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CreateStatus_PartialUpdate_Delete_Fields) NewInstance ¶
func (c *CreateStatus_PartialUpdate_Delete_Fields) NewInstance() *CreateStatus_PartialUpdate_Delete_Fields
func (*CreateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON ¶
func (c *CreateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
func (*CreateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi ¶
func (c *CreateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CreateStatus_PartialUpdate_Set_Fields ¶
type CreateStatus_PartialUpdate_Set_Fields struct { // status Status *int32 // id Id *string // location Location *string // error Error *ErrorResponse }
func (*CreateStatus_PartialUpdate_Set_Fields) MarshalFields ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*CreateStatus_PartialUpdate_Set_Fields) MarshalJSON ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*CreateStatus_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*CreateStatus_PartialUpdate_Set_Fields) NewInstance ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) NewInstance() *CreateStatus_PartialUpdate_Set_Fields
func (*CreateStatus_PartialUpdate_Set_Fields) UnmarshalField ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*CreateStatus_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*CreateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (c *CreateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type CreatedAndReturnedEntity ¶
type CreatedAndReturnedEntity[K any, V restlicodec.Marshaler] struct { CreatedEntity[K] Entity V }
func (*CreatedAndReturnedEntity[K, V]) MarshalRestLi ¶
func (c *CreatedAndReturnedEntity[K, V]) MarshalRestLi(writer restlicodec.Writer) error
func (*CreatedAndReturnedEntity[K, V]) NewInstance ¶
func (c *CreatedAndReturnedEntity[K, V]) NewInstance() *CreatedAndReturnedEntity[K, V]
func (*CreatedAndReturnedEntity[K, V]) UnmarshalRestLi ¶
func (c *CreatedAndReturnedEntity[K, V]) UnmarshalRestLi(reader restlicodec.Reader) error
type CreatedEntity ¶
func (*CreatedEntity[K]) MarshalRestLi ¶
func (c *CreatedEntity[K]) MarshalRestLi(writer restlicodec.Writer) error
func (*CreatedEntity[K]) NewInstance ¶
func (c *CreatedEntity[K]) NewInstance() *CreatedEntity[K]
func (*CreatedEntity[K]) UnmarshalRestLi ¶
func (c *CreatedEntity[K]) UnmarshalRestLi(reader restlicodec.Reader) error
type Elements ¶
type Elements[V restlicodec.Marshaler] struct { Elements []V Paging *CollectionMetadata }
func (*Elements[V]) MarshalRestLi ¶
func (f *Elements[V]) MarshalRestLi(writer restlicodec.Writer) error
func (*Elements[V]) NewInstance ¶
func (*Elements[V]) UnmarshalRestLi ¶
func (f *Elements[V]) UnmarshalRestLi(reader restlicodec.Reader) error
type ElementsWithMetadata ¶
type ElementsWithMetadata[V, M restlicodec.Marshaler] struct { Elements []V Paging *CollectionMetadata Metadata M }
func (*ElementsWithMetadata[V, M]) MarshalRestLi ¶
func (f *ElementsWithMetadata[V, M]) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ElementsWithMetadata[V, M]) NewInstance ¶
func (f *ElementsWithMetadata[V, M]) NewInstance() *ElementsWithMetadata[V, M]
func (*ElementsWithMetadata[V, M]) UnmarshalRestLi ¶
func (f *ElementsWithMetadata[V, M]) UnmarshalRestLi(reader restlicodec.Reader) error
type EmptyRecord ¶
type EmptyRecord struct{}
func (EmptyRecord) ComputeHash ¶
func (e EmptyRecord) ComputeHash() fnv1a.Hash
func (EmptyRecord) DecodeQueryParams ¶
func (e EmptyRecord) DecodeQueryParams(restlicodec.QueryParamsReader) error
func (EmptyRecord) Equals ¶
func (e EmptyRecord) Equals(EmptyRecord) bool
func (EmptyRecord) MarshalRestLi ¶
func (e EmptyRecord) MarshalRestLi(writer restlicodec.Writer) error
func (EmptyRecord) NewInstance ¶
func (e EmptyRecord) NewInstance() EmptyRecord
func (EmptyRecord) UnmarshalRestLi ¶
func (e EmptyRecord) UnmarshalRestLi(reader restlicodec.Reader) error
type ErrorDetails ¶
type ErrorDetails struct{}
func (*ErrorDetails) ComputeHash ¶
func (e *ErrorDetails) ComputeHash() fnv1a.Hash
func (*ErrorDetails) Equals ¶
func (e *ErrorDetails) Equals(other *ErrorDetails) bool
func (*ErrorDetails) MarshalFields ¶
func (e *ErrorDetails) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ErrorDetails) MarshalJSON ¶
func (e *ErrorDetails) MarshalJSON() (data []byte, err error)
func (*ErrorDetails) MarshalRestLi ¶
func (e *ErrorDetails) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorDetails) NewInstance ¶
func (e *ErrorDetails) NewInstance() *ErrorDetails
func (*ErrorDetails) UnmarshalField ¶
func (e *ErrorDetails) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ErrorDetails) UnmarshalJSON ¶
func (e *ErrorDetails) UnmarshalJSON(data []byte) error
func (*ErrorDetails) UnmarshalRestLi ¶
func (e *ErrorDetails) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ErrorDetails_PartialUpdate ¶
type ErrorDetails_PartialUpdate struct{}
ErrorDetails_PartialUpdate is used to represent a partial update on ErrorDetails. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*ErrorDetails_PartialUpdate) MarshalJSON ¶
func (e *ErrorDetails_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*ErrorDetails_PartialUpdate) MarshalRestLi ¶
func (e *ErrorDetails_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorDetails_PartialUpdate) MarshalRestLiPatch ¶
func (e *ErrorDetails_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*ErrorDetails_PartialUpdate) NewInstance ¶
func (e *ErrorDetails_PartialUpdate) NewInstance() *ErrorDetails_PartialUpdate
func (*ErrorDetails_PartialUpdate) UnmarshalJSON ¶
func (e *ErrorDetails_PartialUpdate) UnmarshalJSON(data []byte) error
func (*ErrorDetails_PartialUpdate) UnmarshalRestLi ¶
func (e *ErrorDetails_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*ErrorDetails_PartialUpdate) UnmarshalRestLiPatch ¶
func (e *ErrorDetails_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type ErrorDetails_PartialUpdate_Set_Fields ¶
type ErrorDetails_PartialUpdate_Set_Fields struct{}
func (*ErrorDetails_PartialUpdate_Set_Fields) MarshalFields ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ErrorDetails_PartialUpdate_Set_Fields) MarshalJSON ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*ErrorDetails_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorDetails_PartialUpdate_Set_Fields) NewInstance ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) NewInstance() *ErrorDetails_PartialUpdate_Set_Fields
func (*ErrorDetails_PartialUpdate_Set_Fields) UnmarshalField ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ErrorDetails_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*ErrorDetails_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (e *ErrorDetails_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ErrorResponse ¶
type ErrorResponse struct { // The HTTP status code. Status *int32 // A service-specific error code. ServiceErrorCode *int32 // The canonical error code, e.g. for '400 Bad Request' it can be 'INPUT_VALIDATION_FAILED'. Only predefined codes should be used. Code *string // A human-readable explanation of the error. Message *string // URL to a page that describes this particular error in more detail. DocUrl *string // The unique identifier that would identify this error. For example, it can be used to identify requests in the service's logs. RequestId *string // The FQCN of the exception thrown by the server. ExceptionClass *string // The full stack trace of the exception thrown by the server. StackTrace *string // The type of the error detail model, e.g. com.example.api.BadRequest. Clients can use this field to identify the actual error detail schema. ErrorDetailType *string // This field should be used for communicating extra error details to clients. ErrorDetails *ErrorDetails }
A generic ErrorResponse
func (*ErrorResponse) ComputeHash ¶
func (e *ErrorResponse) ComputeHash() fnv1a.Hash
func (*ErrorResponse) Equals ¶
func (e *ErrorResponse) Equals(other *ErrorResponse) bool
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
func (*ErrorResponse) MarshalFields ¶
func (e *ErrorResponse) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ErrorResponse) MarshalJSON ¶
func (e *ErrorResponse) MarshalJSON() (data []byte, err error)
func (*ErrorResponse) MarshalRestLi ¶
func (e *ErrorResponse) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorResponse) NewInstance ¶
func (e *ErrorResponse) NewInstance() *ErrorResponse
func (*ErrorResponse) UnmarshalField ¶
func (e *ErrorResponse) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
func (*ErrorResponse) UnmarshalRestLi ¶
func (e *ErrorResponse) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ErrorResponse_PartialUpdate ¶
type ErrorResponse_PartialUpdate struct { Delete_Fields ErrorResponse_PartialUpdate_Delete_Fields Set_Fields ErrorResponse_PartialUpdate_Set_Fields ErrorDetails *ErrorDetails_PartialUpdate }
ErrorResponse_PartialUpdate is used to represent a partial update on ErrorResponse. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*ErrorResponse_PartialUpdate) MarshalJSON ¶
func (e *ErrorResponse_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*ErrorResponse_PartialUpdate) MarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorResponse_PartialUpdate) MarshalRestLiPatch ¶
func (e *ErrorResponse_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*ErrorResponse_PartialUpdate) NewInstance ¶
func (e *ErrorResponse_PartialUpdate) NewInstance() *ErrorResponse_PartialUpdate
func (*ErrorResponse_PartialUpdate) UnmarshalJSON ¶
func (e *ErrorResponse_PartialUpdate) UnmarshalJSON(data []byte) error
func (*ErrorResponse_PartialUpdate) UnmarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*ErrorResponse_PartialUpdate) UnmarshalRestLiPatch ¶
func (e *ErrorResponse_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type ErrorResponse_PartialUpdate_Delete_Fields ¶
type ErrorResponse_PartialUpdate_Delete_Fields struct { Status bool ServiceErrorCode bool Code bool Message bool DocUrl bool RequestId bool ExceptionClass bool StackTrace bool ErrorDetailType bool ErrorDetails bool }
func (*ErrorResponse_PartialUpdate_Delete_Fields) MarshalJSON ¶
func (e *ErrorResponse_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
func (*ErrorResponse_PartialUpdate_Delete_Fields) MarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorResponse_PartialUpdate_Delete_Fields) NewInstance ¶
func (e *ErrorResponse_PartialUpdate_Delete_Fields) NewInstance() *ErrorResponse_PartialUpdate_Delete_Fields
func (*ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalJSON ¶
func (e *ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
func (*ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ErrorResponse_PartialUpdate_Set_Fields ¶
type ErrorResponse_PartialUpdate_Set_Fields struct { // status Status *int32 // serviceErrorCode ServiceErrorCode *int32 // code Code *string // message Message *string // docUrl DocUrl *string // requestId RequestId *string // exceptionClass ExceptionClass *string // stackTrace StackTrace *string // errorDetailType ErrorDetailType *string // errorDetails ErrorDetails *ErrorDetails }
func (*ErrorResponse_PartialUpdate_Set_Fields) MarshalFields ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ErrorResponse_PartialUpdate_Set_Fields) MarshalJSON ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*ErrorResponse_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ErrorResponse_PartialUpdate_Set_Fields) NewInstance ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) NewInstance() *ErrorResponse_PartialUpdate_Set_Fields
func (*ErrorResponse_PartialUpdate_Set_Fields) UnmarshalField ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ErrorResponse_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*ErrorResponse_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (e *ErrorResponse_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ExtensionSchemaAnnotation ¶
type ExtensionSchemaAnnotation struct { // Specifies only for one to many relationship. It can use either GET_ALL("get_all") or a FINDER("finder:<method name>"). Using *string // Specifies parameters if any of them are specified. It is also used for FINDER. Params *map[string]string // Specifies versionSuffix in multi-version scenario. If is is not provided, will pick first version by default. VersionSuffix *string }
Specifies the extension schema annotation configuration for defining the entity relationship among entities.
func (*ExtensionSchemaAnnotation) ComputeHash ¶
func (e *ExtensionSchemaAnnotation) ComputeHash() fnv1a.Hash
func (*ExtensionSchemaAnnotation) Equals ¶
func (e *ExtensionSchemaAnnotation) Equals(other *ExtensionSchemaAnnotation) bool
func (*ExtensionSchemaAnnotation) MarshalFields ¶
func (e *ExtensionSchemaAnnotation) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation) MarshalJSON ¶
func (e *ExtensionSchemaAnnotation) MarshalJSON() (data []byte, err error)
func (*ExtensionSchemaAnnotation) MarshalRestLi ¶
func (e *ExtensionSchemaAnnotation) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation) NewInstance ¶
func (e *ExtensionSchemaAnnotation) NewInstance() *ExtensionSchemaAnnotation
func (*ExtensionSchemaAnnotation) UnmarshalField ¶
func (e *ExtensionSchemaAnnotation) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ExtensionSchemaAnnotation) UnmarshalJSON ¶
func (e *ExtensionSchemaAnnotation) UnmarshalJSON(data []byte) error
func (*ExtensionSchemaAnnotation) UnmarshalRestLi ¶
func (e *ExtensionSchemaAnnotation) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ExtensionSchemaAnnotation_PartialUpdate ¶
type ExtensionSchemaAnnotation_PartialUpdate struct { Delete_Fields ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields Set_Fields ExtensionSchemaAnnotation_PartialUpdate_Set_Fields }
ExtensionSchemaAnnotation_PartialUpdate is used to represent a partial update on ExtensionSchemaAnnotation. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*ExtensionSchemaAnnotation_PartialUpdate) MarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLiPatch ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate) NewInstance ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) NewInstance() *ExtensionSchemaAnnotation_PartialUpdate
func (*ExtensionSchemaAnnotation_PartialUpdate) UnmarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalJSON(data []byte) error
func (*ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLiPatch ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields ¶
type ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields struct { Using bool Params bool VersionSuffix bool }
func (*ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) NewInstance ¶
func (*ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
func (*ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type ExtensionSchemaAnnotation_PartialUpdate_Set_Fields ¶
type ExtensionSchemaAnnotation_PartialUpdate_Set_Fields struct { // using Using *string // params Params *map[string]string // versionSuffix VersionSuffix *string }
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalFields ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) NewInstance ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) NewInstance() *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalField ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (e *ExtensionSchemaAnnotation_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type KeyLocator ¶
type KeyLocator[T any] interface { LocateOriginalKeyFromReader(keyReader restlicodec.Reader) (originalKey T, err error) }
type Link ¶
type Link struct { // The link relation e.g. 'self' or 'next' Rel string // The link URI Href string // The type (media type) of the resource Type string }
A atom:link-inspired link
func (*Link) ComputeHash ¶
func (*Link) MarshalFields ¶
func (l *Link) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*Link) MarshalJSON ¶
func (*Link) MarshalRestLi ¶
func (l *Link) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*Link) NewInstance ¶
func (*Link) UnmarshalField ¶
func (*Link) UnmarshalJSON ¶
func (*Link) UnmarshalRestLi ¶
func (l *Link) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type Link_PartialUpdate ¶
type Link_PartialUpdate struct {
Set_Fields Link_PartialUpdate_Set_Fields
}
Link_PartialUpdate is used to represent a partial update on Link. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*Link_PartialUpdate) MarshalJSON ¶
func (l *Link_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*Link_PartialUpdate) MarshalRestLi ¶
func (l *Link_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*Link_PartialUpdate) MarshalRestLiPatch ¶
func (l *Link_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*Link_PartialUpdate) NewInstance ¶
func (l *Link_PartialUpdate) NewInstance() *Link_PartialUpdate
func (*Link_PartialUpdate) UnmarshalJSON ¶
func (l *Link_PartialUpdate) UnmarshalJSON(data []byte) error
func (*Link_PartialUpdate) UnmarshalRestLi ¶
func (l *Link_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*Link_PartialUpdate) UnmarshalRestLiPatch ¶
func (l *Link_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type Link_PartialUpdate_Set_Fields ¶
type Link_PartialUpdate_Set_Fields struct { // rel Rel *string // href Href *string // type Type *string }
func (*Link_PartialUpdate_Set_Fields) MarshalFields ¶
func (l *Link_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*Link_PartialUpdate_Set_Fields) MarshalJSON ¶
func (l *Link_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*Link_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (l *Link_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*Link_PartialUpdate_Set_Fields) NewInstance ¶
func (l *Link_PartialUpdate_Set_Fields) NewInstance() *Link_PartialUpdate_Set_Fields
func (*Link_PartialUpdate_Set_Fields) UnmarshalField ¶
func (l *Link_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*Link_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (l *Link_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*Link_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (l *Link_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type PegasusSchema ¶
type PegasusSchema struct{}
A "marker" data schema for data that is itself a data schema (a "PDSC for PDSCs"). Because PDSC is not expressive enough to describe it's own format, this is only a marker, and has no fields. Despite having no fields, it is required that data marked with this schema be non-empty. Specifically, is required that data marked as using this schema fully conform to the PDSC format (https://github.com/linkedin/rest.li/wiki/DATA-Data-Schema-and-Templates#schema-definition).
func (*PegasusSchema) ComputeHash ¶
func (p *PegasusSchema) ComputeHash() fnv1a.Hash
func (*PegasusSchema) Equals ¶
func (p *PegasusSchema) Equals(other *PegasusSchema) bool
func (*PegasusSchema) MarshalFields ¶
func (p *PegasusSchema) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*PegasusSchema) MarshalJSON ¶
func (p *PegasusSchema) MarshalJSON() (data []byte, err error)
func (*PegasusSchema) MarshalRestLi ¶
func (p *PegasusSchema) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*PegasusSchema) NewInstance ¶
func (p *PegasusSchema) NewInstance() *PegasusSchema
func (*PegasusSchema) UnmarshalField ¶
func (p *PegasusSchema) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*PegasusSchema) UnmarshalJSON ¶
func (p *PegasusSchema) UnmarshalJSON(data []byte) error
func (*PegasusSchema) UnmarshalRestLi ¶
func (p *PegasusSchema) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type PegasusSchema_PartialUpdate ¶
type PegasusSchema_PartialUpdate struct{}
PegasusSchema_PartialUpdate is used to represent a partial update on PegasusSchema. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*PegasusSchema_PartialUpdate) MarshalJSON ¶
func (p *PegasusSchema_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*PegasusSchema_PartialUpdate) MarshalRestLi ¶
func (p *PegasusSchema_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*PegasusSchema_PartialUpdate) MarshalRestLiPatch ¶
func (p *PegasusSchema_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*PegasusSchema_PartialUpdate) NewInstance ¶
func (p *PegasusSchema_PartialUpdate) NewInstance() *PegasusSchema_PartialUpdate
func (*PegasusSchema_PartialUpdate) UnmarshalJSON ¶
func (p *PegasusSchema_PartialUpdate) UnmarshalJSON(data []byte) error
func (*PegasusSchema_PartialUpdate) UnmarshalRestLi ¶
func (p *PegasusSchema_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*PegasusSchema_PartialUpdate) UnmarshalRestLiPatch ¶
func (p *PegasusSchema_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type PegasusSchema_PartialUpdate_Set_Fields ¶
type PegasusSchema_PartialUpdate_Set_Fields struct{}
func (*PegasusSchema_PartialUpdate_Set_Fields) MarshalFields ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*PegasusSchema_PartialUpdate_Set_Fields) MarshalJSON ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*PegasusSchema_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*PegasusSchema_PartialUpdate_Set_Fields) NewInstance ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) NewInstance() *PegasusSchema_PartialUpdate_Set_Fields
func (*PegasusSchema_PartialUpdate_Set_Fields) UnmarshalField ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*PegasusSchema_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*PegasusSchema_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (p *PegasusSchema_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type UpdateStatus ¶
type UpdateStatus struct { Status int32 Error *ErrorResponse }
A rest.li update status.
func (*UpdateStatus) ComputeHash ¶
func (u *UpdateStatus) ComputeHash() fnv1a.Hash
func (*UpdateStatus) Equals ¶
func (u *UpdateStatus) Equals(other *UpdateStatus) bool
func (*UpdateStatus) MarshalFields ¶
func (u *UpdateStatus) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*UpdateStatus) MarshalJSON ¶
func (u *UpdateStatus) MarshalJSON() (data []byte, err error)
func (*UpdateStatus) MarshalRestLi ¶
func (u *UpdateStatus) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*UpdateStatus) NewInstance ¶
func (u *UpdateStatus) NewInstance() *UpdateStatus
func (*UpdateStatus) UnmarshalField ¶
func (u *UpdateStatus) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*UpdateStatus) UnmarshalJSON ¶
func (u *UpdateStatus) UnmarshalJSON(data []byte) error
func (*UpdateStatus) UnmarshalRestLi ¶
func (u *UpdateStatus) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type UpdateStatus_PartialUpdate ¶
type UpdateStatus_PartialUpdate struct { Delete_Fields UpdateStatus_PartialUpdate_Delete_Fields Set_Fields UpdateStatus_PartialUpdate_Set_Fields Error *ErrorResponse_PartialUpdate }
UpdateStatus_PartialUpdate is used to represent a partial update on UpdateStatus. Toggling the value of a field in Delete represents selecting it for deletion in a partial update, while setting the value of a field in Update represents setting that field in the current struct. Other fields in this struct represent record fields that can themselves be partially updated.
func (*UpdateStatus_PartialUpdate) MarshalJSON ¶
func (u *UpdateStatus_PartialUpdate) MarshalJSON() (data []byte, err error)
func (*UpdateStatus_PartialUpdate) MarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*UpdateStatus_PartialUpdate) MarshalRestLiPatch ¶
func (u *UpdateStatus_PartialUpdate) MarshalRestLiPatch(writer restlicodec.Writer) (err error)
func (*UpdateStatus_PartialUpdate) NewInstance ¶
func (u *UpdateStatus_PartialUpdate) NewInstance() *UpdateStatus_PartialUpdate
func (*UpdateStatus_PartialUpdate) UnmarshalJSON ¶
func (u *UpdateStatus_PartialUpdate) UnmarshalJSON(data []byte) error
func (*UpdateStatus_PartialUpdate) UnmarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate) UnmarshalRestLi(reader restlicodec.Reader) (err error)
func (*UpdateStatus_PartialUpdate) UnmarshalRestLiPatch ¶
func (u *UpdateStatus_PartialUpdate) UnmarshalRestLiPatch(reader restlicodec.Reader) (err error)
type UpdateStatus_PartialUpdate_Delete_Fields ¶
type UpdateStatus_PartialUpdate_Delete_Fields struct {
Error bool
}
func (*UpdateStatus_PartialUpdate_Delete_Fields) MarshalJSON ¶
func (u *UpdateStatus_PartialUpdate_Delete_Fields) MarshalJSON() (data []byte, err error)
func (*UpdateStatus_PartialUpdate_Delete_Fields) MarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate_Delete_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*UpdateStatus_PartialUpdate_Delete_Fields) NewInstance ¶
func (u *UpdateStatus_PartialUpdate_Delete_Fields) NewInstance() *UpdateStatus_PartialUpdate_Delete_Fields
func (*UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON ¶
func (u *UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalJSON(data []byte) error
func (*UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate_Delete_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)
type UpdateStatus_PartialUpdate_Set_Fields ¶
type UpdateStatus_PartialUpdate_Set_Fields struct { // status Status *int32 // error Error *ErrorResponse }
func (*UpdateStatus_PartialUpdate_Set_Fields) MarshalFields ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalFields(keyWriter func(string) restlicodec.Writer) (err error)
func (*UpdateStatus_PartialUpdate_Set_Fields) MarshalJSON ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalJSON() (data []byte, err error)
func (*UpdateStatus_PartialUpdate_Set_Fields) MarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) MarshalRestLi(writer restlicodec.Writer) (err error)
func (*UpdateStatus_PartialUpdate_Set_Fields) NewInstance ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) NewInstance() *UpdateStatus_PartialUpdate_Set_Fields
func (*UpdateStatus_PartialUpdate_Set_Fields) UnmarshalField ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalField(reader restlicodec.Reader, field string) (found bool, err error)
func (*UpdateStatus_PartialUpdate_Set_Fields) UnmarshalJSON ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalJSON(data []byte) error
func (*UpdateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi ¶
func (u *UpdateStatus_PartialUpdate_Set_Fields) UnmarshalRestLi(reader restlicodec.Reader) (err error)