relationship

package
v0.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delete

type Delete struct {
	/**
	 * PathParams
	 */
	PathParams struct{}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct {
		Entity          string `json:"entity" form:"entity" xml:"entity"`
		ObjectID        string `json:"object_id" form:"object_id" xml:"object_id"`
		Relation        string `json:"relation" form:"relation" xml:"relation"`
		UsersetEntity   string `json:"userset_entity" form:"userset_entity" xml:"userset_entity"`
		UsersetObjectID string `json:"userset_object_id" form:"userset_object_id" xml:"userset_object_id"`
		UsersetRelation string `json:"userset_relation" form:"userset_relation" xml:"userset_relation"`
	}
}

Delete -

func (Delete) Validate

func (r Delete) Validate() (err error)

type Write

type Write struct {
	/**
	 * PathParams
	 */
	PathParams struct{}

	/**
	 * QueryParams
	 */
	QueryParams struct{}

	/**
	 * Body
	 */
	Body struct {
		Entity          string `json:"entity" form:"entity" xml:"entity"`
		ObjectID        string `json:"object_id" form:"object_id" xml:"object_id"`
		Relation        string `json:"relation" form:"relation" xml:"relation"`
		UsersetEntity   string `json:"userset_entity" form:"userset_entity" xml:"userset_entity"`
		UsersetObjectID string `json:"userset_object_id" form:"userset_object_id" xml:"userset_object_id"`
		UsersetRelation string `json:"userset_relation" form:"userset_relation" xml:"userset_relation"`
	}
}

Write -

func (Write) Validate

func (r Write) Validate() (err error)

Validate -

Jump to

Keyboard shortcuts

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