capimodels

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOrgRolesResponse

type ListOrgRolesResponse struct {
	PaginatedResponse
	Resources []OrgUserResource `json:"resources"`
}

type ListOrgsResponse

type ListOrgsResponse struct {
	PaginatedResponse
	Resources []OrgResource `json:"resources"`
}

type ListSpaceRolesResponse

type ListSpaceRolesResponse struct {
	PaginatedResponse
	Resources []SpaceUserResource `json:"resources"`
}

type ListSpacesResponse

type ListSpacesResponse struct {
	PaginatedResponse
	Resources []SpaceResource `json:"resources"`
}

type MetadataResource

type MetadataResource struct {
	GUID string `json:"guid"`
}

type OrgResource

type OrgResource struct {
	Metadata MetadataResource `json:"metadata"`
}

type OrgUserResource

type OrgUserResource struct {
	Metadata MetadataResource      `json:"metadata"`
	Entity   OrgUserResourceEntity `json:"entity"`
}

type OrgUserResourceEntity

type OrgUserResourceEntity struct {
	Roles []string `json:"organization_roles"`
}

type PaginatedResponse

type PaginatedResponse struct {
	NextURL *string `json:"next_url"`
}

type SpaceResource

type SpaceResource struct {
	Metadata MetadataResource `json:"metadata"`
}

type SpaceUserResource

type SpaceUserResource struct {
	Metadata MetadataResource        `json:"metadata"`
	Entity   SpaceUserResourceEntity `json:"entity"`
}

type SpaceUserResourceEntity

type SpaceUserResourceEntity struct {
	Roles []string `json:"space_roles"`
}

Jump to

Keyboard shortcuts

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