emergencyaccess

package
v2.732.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Activate added in v2.61.0

func Activate(service *services.Service, userID string) (*http.Response, error)

PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/activate

func Deactivate added in v2.61.0

func Deactivate(service *services.Service, userID string) (*http.Response, error)

PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/deactivate

func Update added in v2.61.0

func Update(service *services.Service, userID string, emergencyAccess *EmergencyAccess) (*http.Response, error)

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 added in v2.61.0

func Create(service *services.Service, emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)

func Get added in v2.61.0

func Get(service *services.Service, userID string) (*EmergencyAccess, *http.Response, error)

func GetAll added in v2.61.0

func GetAll(service *services.Service) ([]EmergencyAccess, *http.Response, error)

func GetAllEmergencyAccessUsers

func GetAllEmergencyAccessUsers(service *services.Service, baseRelativeURL string, pageSize int, initialPageId string) ([]EmergencyAccess, *http.Response, error)

func GetByEmailID added in v2.61.0

func GetByEmailID(service *services.Service, emailID string) (*EmergencyAccess, *http.Response, error)

Jump to

Keyboard shortcuts

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