-
Notifications
You must be signed in to change notification settings - Fork 2
/
taskservicecreaterevokerequest.go
61 lines (53 loc) · 1.83 KB
/
taskservicecreaterevokerequest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
// TaskServiceCreateRevokeRequest - Create a revoke task.
type TaskServiceCreateRevokeRequest struct {
// The task expand mask is an array of strings that specifes the related objects the requester wishes to have returned when making a request where the expand mask is part of the input. Use '*' to view all possible responses.
TaskExpandMask *TaskExpandMask `json:"expandMask,omitempty"`
// The ID of the app entitlement to revoke access to.
AppEntitlementID string `json:"appEntitlementId"`
// The ID of the app associated with the entitlement.
AppID string `json:"appId"`
// The ID of the app user to revoke access from. This field and identityUserId cannot both be set for a given request.
AppUserID *string `json:"appUserId,omitempty"`
// The description of the request.
Description *string `json:"description,omitempty"`
// The ID of the user associated with the app user we are revoking access from. This field cannot be set if appUserID is also set.
IdentityUserID *string `json:"identityUserId,omitempty"`
}
func (o *TaskServiceCreateRevokeRequest) GetTaskExpandMask() *TaskExpandMask {
if o == nil {
return nil
}
return o.TaskExpandMask
}
func (o *TaskServiceCreateRevokeRequest) GetAppEntitlementID() string {
if o == nil {
return ""
}
return o.AppEntitlementID
}
func (o *TaskServiceCreateRevokeRequest) GetAppID() string {
if o == nil {
return ""
}
return o.AppID
}
func (o *TaskServiceCreateRevokeRequest) GetAppUserID() *string {
if o == nil {
return nil
}
return o.AppUserID
}
func (o *TaskServiceCreateRevokeRequest) GetDescription() *string {
if o == nil {
return nil
}
return o.Description
}
func (o *TaskServiceCreateRevokeRequest) GetIdentityUserID() *string {
if o == nil {
return nil
}
return o.IdentityUserID
}