Documentation ¶
Index ¶
- func PossibleValuesForInheritedPermissions() []string
- func PossibleValuesForPermissions() []string
- func PossibleValuesForSearch() []string
- func PossibleValuesForView() []string
- type EntitiesClient
- func (c EntitiesClient) List(ctx context.Context, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c EntitiesClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
- func (c EntitiesClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type EntityInfo
- type EntityInfoOperationPredicate
- type EntityInfoProperties
- type EntityParentGroupInfo
- type InheritedPermissions
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Permissions
- type Search
- type View
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForInheritedPermissions ¶
func PossibleValuesForInheritedPermissions() []string
func PossibleValuesForPermissions ¶
func PossibleValuesForPermissions() []string
func PossibleValuesForSearch ¶
func PossibleValuesForSearch() []string
func PossibleValuesForView ¶
func PossibleValuesForView() []string
Types ¶
type EntitiesClient ¶
func NewEntitiesClientWithBaseURI ¶
func NewEntitiesClientWithBaseURI(endpoint string) EntitiesClient
func (EntitiesClient) List ¶
func (c EntitiesClient) List(ctx context.Context, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (EntitiesClient) ListComplete ¶
func (c EntitiesClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (EntitiesClient) ListCompleteMatchingPredicate ¶
func (c EntitiesClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate EntityInfoOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type EntityInfo ¶
type EntityInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EntityInfoProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type EntityInfoOperationPredicate ¶
func (EntityInfoOperationPredicate) Matches ¶
func (p EntityInfoOperationPredicate) Matches(input EntityInfo) bool
type EntityInfoProperties ¶
type EntityInfoProperties struct { DisplayName *string `json:"displayName,omitempty"` InheritedPermissions *InheritedPermissions `json:"inheritedPermissions,omitempty"` NumberOfChildGroups *int64 `json:"numberOfChildGroups,omitempty"` NumberOfChildren *int64 `json:"numberOfChildren,omitempty"` NumberOfDescendants *int64 `json:"numberOfDescendants,omitempty"` Parent *EntityParentGroupInfo `json:"parent,omitempty"` ParentDisplayNameChain *[]string `json:"parentDisplayNameChain,omitempty"` ParentNameChain *[]string `json:"parentNameChain,omitempty"` Permissions *Permissions `json:"permissions,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type EntityParentGroupInfo ¶
type EntityParentGroupInfo struct {
Id *string `json:"id,omitempty"`
}
type InheritedPermissions ¶
type InheritedPermissions string
const ( InheritedPermissionsDelete InheritedPermissions = "delete" InheritedPermissionsEdit InheritedPermissions = "edit" InheritedPermissionsNoaccess InheritedPermissions = "noaccess" InheritedPermissionsView InheritedPermissions = "view" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []EntityInfo
}
type ListOperationOptions ¶
type ListOperationOptions struct { CacheControl *string Filter *string GroupName *string Search *Search Select *string Skip *int64 Top *int64 View *View }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]EntityInfo // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Permissions ¶
type Permissions string
const ( PermissionsDelete Permissions = "delete" PermissionsEdit Permissions = "edit" PermissionsNoaccess Permissions = "noaccess" PermissionsView Permissions = "view" )
Click to show internal directories.
Click to hide internal directories.