Documentation ¶
Index ¶
- func Activate(ctx context.Context, service *zscaler.Service, userID string) (*http.Response, error)
- func Deactivate(ctx context.Context, service *zscaler.Service, userID string) (*http.Response, error)
- func Update(ctx context.Context, service *zscaler.Service, userID string, ...) (*http.Response, error)
- type EmergencyAccess
- func Create(ctx context.Context, service *zscaler.Service, ...) (*EmergencyAccess, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, userID string) (*EmergencyAccess, *http.Response, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]EmergencyAccess, *http.Response, error)
- func GetAllEmergencyAccessUsers(ctx context.Context, service *zscaler.Service, baseRelativeURL string, ...) ([]EmergencyAccess, *http.Response, error)
- func GetByEmailID(ctx context.Context, service *zscaler.Service, emailID string) (*EmergencyAccess, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Activate ¶
PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/activate
Types ¶
type EmergencyAccess ¶
type EmergencyAccess struct { ActivatedOn string `json:"activatedOn,omitempty"` AllowedActivate bool `json:"allowedActivate"` AllowedDeactivate bool `json:"allowedDeactivate"` EmailID string `json:"emailId,omitempty"` FirstName string `json:"firstName,omitempty"` LastLoginTime string `json:"lastLoginTime,omitempty"` LastName string `json:"lastName,omitempty"` UpdateEnabled bool `json:"updateEnabled"` UserID string `json:"userId,omitempty"` UserStatus string `json:"userStatus,omitempty"` ActivateNow bool `json:"activateNow,omitempty" url:"activateNow,omitempty"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.