Documentation ¶
Index ¶
- type EmergencyAccess
- type Service
- func (service *Service) Activate(userID string) (*http.Response, error)
- func (service *Service) Create(emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)
- func (service *Service) Deactivate(userID string) (*http.Response, error)
- func (service *Service) Get(profileID string) (*EmergencyAccess, *http.Response, error)
- func (service *Service) GetAll() ([]EmergencyAccess, *http.Response, error)
- func (service *Service) GetByEmailID(emailID string) (*EmergencyAccess, *http.Response, error)
- func (service *Service) Update(userID string, emergencyAccess *EmergencyAccess) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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"` }
type Service ¶
func (*Service) Activate ¶
PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/activate
func (*Service) Create ¶
func (service *Service) Create(emergencyAccess *EmergencyAccess) (*EmergencyAccess, *http.Response, error)
func (*Service) Deactivate ¶
PUT - /mgmtconfig/v1/admin/customers/{customerId}/emergencyAccess/user/{userId}/deactivate
func (*Service) GetAll ¶
func (service *Service) GetAll() ([]EmergencyAccess, *http.Response, error)
func (*Service) GetByEmailID ¶
Click to show internal directories.
Click to hide internal directories.