req

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationCreateBody

type OrganizationCreateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type OrganizationUpdateBody

type OrganizationUpdateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type PermissionCreateBody

type PermissionCreateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type PermissionKey

type PermissionKey struct {
	Id string `json:"id"`
}

type PermissionUpdateBody

type PermissionUpdateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type PermissionsCreateBody

type PermissionsCreateBody struct {
	Permissions []PermissionCreateBody `json:"permissions"`
}

type RoleBodyes

type RoleBodyes struct {
	Id string `json:"id"`
}

type RoleCreateBody

type RoleCreateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type RolePermission

type RolePermission struct {
	Permissions []PermissionKey `json:"permissions"`
}

type RoleUpdateBody

type RoleUpdateBody struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type RolesCreateBody

type RolesCreateBody struct {
	Roles []RoleCreateBody `json:"roles"`
}

type UserCreateBody

type UserCreateBody struct {
	Key            string       `json:"key"`
	OrganizationId string       `json:"organization_id"`
	Roles          []RoleBodyes `json:"roles"`
}

type UserUpdateBody

type UserUpdateBody struct {
	Roles []RoleBodyes `json:"roles"`
}

Jump to

Keyboard shortcuts

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