All URIs are relative to http://localhost/rest
Method | HTTP request | Description |
---|---|---|
BulkCreateApplicationPoolEntitlements | Post /entitlements/v1/application-pools | Create the bulk entitlements for a set of application pools |
BulkCreateDesktopPoolEntitlements | Post /entitlements/v1/desktop-pools | Create the bulk entitlements for a set of desktop pools |
BulkCreateGAEEntitlements | Post /entitlements/v1/global-application-entitlements | Create the bulk entitlements for a set of Global Application Entitlements |
BulkCreateGDEEntitlements | Post /entitlements/v1/global-desktop-entitlements | Create the bulk entitlements for a set of Global Desktop Entitlements |
BulkDeleteApplicationPoolEntitlements | Delete /entitlements/v1/application-pools | Delete the bulk entitlements for a set of application pools |
BulkDeleteDesktopPoolEntitlements | Delete /entitlements/v1/desktop-pools | Delete the bulk entitlements for a set of desktop pools |
BulkDeleteGAEEntitlements | Delete /entitlements/v1/global-application-entitlements | Delete the bulk entitlements for a set of Global Application Entitlements |
BulkDeleteGDEEntitlements | Delete /entitlements/v1/global-desktop-entitlements | Delete the bulk entitlements for a set of Global Desktop Entitlements |
GetApplicationPoolEntitlements | Get /entitlements/v1/application-pools/{id} | Returns the IDs of users or groups entitled to a given application pool. |
GetDesktopPoolEntitlements | Get /entitlements/v1/desktop-pools/{id} | Returns the IDs of users or groups entitled to a given desktop pool. |
GetGAEEntitlement | Get /entitlements/v1/global-application-entitlements/{id} | Gets the user or group entitlements for a Global Application Entitlement. |
GetGDEEntitlement | Get /entitlements/v1/global-desktop-entitlements/{id} | Gets the user or group entitlements for a Global Desktop Entitlement. |
ListApplicationPoolEntitlements | Get /entitlements/v1/application-pools | Lists the entitlements for Application Pools in the environment. |
ListDesktopPoolEntitlements | Get /entitlements/v1/desktop-pools | Lists the entitlements for Desktop Pools in the environment. |
ListGAEEntitlements | Get /entitlements/v1/global-application-entitlements | Lists the user or group entitlements for Global Application Entitlements in the environment. |
ListGDEEntitlements | Get /entitlements/v1/global-desktop-entitlements | Lists the user or group entitlements for Global Desktop Entitlements in the environment. |
[]BulkEntitlementResponseInfo BulkCreateApplicationPoolEntitlements(ctx).Body(body).Execute()
Create the bulk entitlements for a set of application pools
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk application entitlements to be created.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkCreateApplicationPoolEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkCreateApplicationPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkCreateApplicationPoolEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkCreateApplicationPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkCreateApplicationPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk application entitlements to be created. |
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkCreateDesktopPoolEntitlements(ctx).Body(body).Execute()
Create the bulk entitlements for a set of desktop pools
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk desktop entitlements to be created.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkCreateDesktopPoolEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkCreateDesktopPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkCreateDesktopPoolEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkCreateDesktopPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkCreateDesktopPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk desktop entitlements to be created. |
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkCreateGAEEntitlements(ctx).Body(body).Execute()
Create the bulk entitlements for a set of Global Application Entitlements
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk GAE Entitlements to be created.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkCreateGAEEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkCreateGAEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkCreateGAEEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkCreateGAEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkCreateGAEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk GAE Entitlements to be created. |
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkCreateGDEEntitlements(ctx).Body(body).Execute()
Create the bulk entitlements for a set of Global Desktop Entitlements
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk GDE Entitlements to be created.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkCreateGDEEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkCreateGDEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkCreateGDEEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkCreateGDEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkCreateGDEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk GDE Entitlements to be created. |
- Content-Type: application/json
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkDeleteApplicationPoolEntitlements(ctx).Body(body).Execute()
Delete the bulk entitlements for a set of application pools
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk application entitlements to be deleted.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkDeleteApplicationPoolEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkDeleteApplicationPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkDeleteApplicationPoolEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkDeleteApplicationPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkDeleteApplicationPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk application entitlements to be deleted. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkDeleteDesktopPoolEntitlements(ctx).Body(body).Execute()
Delete the bulk entitlements for a set of desktop pools
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk desktop entitlements to be deleted.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkDeleteDesktopPoolEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkDeleteDesktopPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkDeleteDesktopPoolEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkDeleteDesktopPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkDeleteDesktopPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk desktop entitlements to be deleted. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkDeleteGAEEntitlements(ctx).Body(body).Execute()
Delete the bulk entitlements for a set of Global Application Entitlements
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk GAE Entitlements to be Deleted.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkDeleteGAEEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkDeleteGAEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkDeleteGAEEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkDeleteGAEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkDeleteGAEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk GAE Entitlements to be Deleted. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]BulkEntitlementResponseInfo BulkDeleteGDEEntitlements(ctx).Body(body).Execute()
Delete the bulk entitlements for a set of Global Desktop Entitlements
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
body := []openapiclient.EntitlementSpec{*openapiclient.NewEntitlementSpec()} // []EntitlementSpec | Specifications for bulk GDE Entitlements to be Deleted.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.BulkDeleteGDEEntitlements(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.BulkDeleteGDEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `BulkDeleteGDEEntitlements`: []BulkEntitlementResponseInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.BulkDeleteGDEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiBulkDeleteGDEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | []EntitlementSpec | Specifications for bulk GDE Entitlements to be Deleted. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EntitlementInfo GetApplicationPoolEntitlements(ctx, id).Execute()
Returns the IDs of users or groups entitled to a given application pool.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | id
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.GetApplicationPoolEntitlements(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.GetApplicationPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetApplicationPoolEntitlements`: EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.GetApplicationPoolEntitlements`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | id |
Other parameters are passed through a pointer to a apiGetApplicationPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EntitlementInfo GetDesktopPoolEntitlements(ctx, id).Execute()
Returns the IDs of users or groups entitled to a given desktop pool.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | id
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.GetDesktopPoolEntitlements(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.GetDesktopPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDesktopPoolEntitlements`: EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.GetDesktopPoolEntitlements`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | id |
Other parameters are passed through a pointer to a apiGetDesktopPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EntitlementInfo GetGAEEntitlement(ctx, id).Execute()
Gets the user or group entitlements for a Global Application Entitlement.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | id
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.GetGAEEntitlement(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.GetGAEEntitlement``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGAEEntitlement`: EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.GetGAEEntitlement`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | id |
Other parameters are passed through a pointer to a apiGetGAEEntitlementRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EntitlementInfo GetGDEEntitlement(ctx, id).Execute()
Gets the user or group entitlements for a Global Desktop Entitlement.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | id
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.GetGDEEntitlement(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.GetGDEEntitlement``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGDEEntitlement`: EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.GetGDEEntitlement`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | id |
Other parameters are passed through a pointer to a apiGetGDEEntitlementRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EntitlementInfo ListApplicationPoolEntitlements(ctx).Filter(filter).Page(page).Size(size).Execute()
Lists the entitlements for Application Pools in the environment.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
filter := "{"type":"And", "filters":[{"type":"Equals", "name":"<>", "value":"<>"}] }" // string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. (optional)
page := int32(1) // int32 | page, if passed should be > 0. (optional)
size := int32(10) // int32 | size, if passed should be > 0. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.ListApplicationPoolEntitlements(context.Background()).Filter(filter).Page(page).Size(size).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.ListApplicationPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListApplicationPoolEntitlements`: []EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.ListApplicationPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListApplicationPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. | |
page | int32 | page, if passed should be > 0. | |
size | int32 | size, if passed should be > 0. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EntitlementInfo ListDesktopPoolEntitlements(ctx).Filter(filter).Page(page).Size(size).Execute()
Lists the entitlements for Desktop Pools in the environment.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
filter := "{"type":"And", "filters":[{"type":"Equals", "name":"<>", "value":"<>"}] }" // string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. (optional)
page := int32(1) // int32 | page, if passed should be > 0. (optional)
size := int32(10) // int32 | size, if passed should be > 0. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.ListDesktopPoolEntitlements(context.Background()).Filter(filter).Page(page).Size(size).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.ListDesktopPoolEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListDesktopPoolEntitlements`: []EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.ListDesktopPoolEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListDesktopPoolEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. | |
page | int32 | page, if passed should be > 0. | |
size | int32 | size, if passed should be > 0. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EntitlementInfo ListGAEEntitlements(ctx).Filter(filter).Page(page).Size(size).Execute()
Lists the user or group entitlements for Global Application Entitlements in the environment.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
filter := "{"type":"And", "filters":[{"type":"Equals", "name":"<>", "value":"<>"}] }" // string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. (optional)
page := int32(1) // int32 | page, if passed should be > 0. (optional)
size := int32(10) // int32 | size, if passed should be > 0. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.ListGAEEntitlements(context.Background()).Filter(filter).Page(page).Size(size).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.ListGAEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListGAEEntitlements`: []EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.ListGAEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListGAEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. | |
page | int32 | page, if passed should be > 0. | |
size | int32 | size, if passed should be > 0. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EntitlementInfo ListGDEEntitlements(ctx).Filter(filter).Page(page).Size(size).Execute()
Lists the user or group entitlements for Global Desktop Entitlements in the environment.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
filter := "{"type":"And", "filters":[{"type":"Equals", "name":"<>", "value":"<>"}] }" // string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. (optional)
page := int32(1) // int32 | page, if passed should be > 0. (optional)
size := int32(10) // int32 | size, if passed should be > 0. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.EntitlementsApi.ListGDEEntitlements(context.Background()).Filter(filter).Page(page).Size(size).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.ListGDEEntitlements``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListGDEEntitlements`: []EntitlementInfo
fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.ListGDEEntitlements`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiListGDEEntitlementsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | filter expression built using fields with <b>'supported filters'</b> as described in output <b>model</b> schema of this API. | |
page | int32 | page, if passed should be > 0. | |
size | int32 | size, if passed should be > 0. |
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]