Documentation ¶
Index ¶
- type MicroTenant
- type Roles
- type Service
- func (service *Service) Create(microTenant MicroTenant) (*MicroTenant, *http.Response, error)
- func (service *Service) Delete(microTenantID string) (*http.Response, error)
- func (service *Service) Get(id string) (*MicroTenant, *http.Response, error)
- func (service *Service) GetAll() ([]MicroTenant, *http.Response, error)
- func (service *Service) GetByName(microTenantName string) (*MicroTenant, *http.Response, error)
- func (service *Service) GetMicrotenantSummary() ([]MicroTenant, *http.Response, error)
- func (service *Service) Update(microTenantID string, microTenant *MicroTenant) (*http.Response, error)
- type UserResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MicroTenant ¶
type MicroTenant struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled"` CriteriaAttribute string `json:"criteriaAttribute,omitempty"` CriteriaAttributeValues []string `json:"criteriaAttributeValues,omitempty"` Operator string `json:"operator,omitempty"` Priority string `json:"priority,omitempty"` CreationTime string `json:"creationTime,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Roles []Roles `json:"roles,omitempty"` UserResource *UserResource `json:"user,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (service *Service) Create(microTenant MicroTenant) (*MicroTenant, *http.Response, error)
func (*Service) GetMicrotenantSummary ¶ added in v2.4.0
func (service *Service) GetMicrotenantSummary() ([]MicroTenant, *http.Response, error)
type UserResource ¶
type UserResource struct { ID string `json:"id"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` Comments string `json:"comments,omitempty"` CustomerID string `json:"customerId,omitempty"` DeliveryTag string `json:"deliveryTag,omitempty"` DisplayName string `json:"displayName,omitempty"` Email string `json:"email,omitempty"` Eula string `json:"eula,omitempty"` ForcePwdChange bool `json:"forcePwdChange,omitempty"` GroupIDs []string `json:"groupIds,omitempty"` IAMUserID string `json:"iamUserId,omitempty"` IsEnabled bool `json:"isEnabled,omitempty"` IsLocked bool `json:"isLocked,omitempty"` LanguageCode string `json:"languageCode,omitempty"` LocalLoginDisabled bool `json:"localLoginDisabled,omitempty"` OneIdentityUser bool `json:"oneIdentityUser,omitempty"` OperationType string `json:"operationType,omitempty"` Password string `json:"password,omitempty"` PhoneNumber string `json:"phoneNumber,omitempty"` PinSession bool `json:"pinSession,omitempty"` RoleID string `json:"roleId,omitempty"` MicrotenantID string `json:"microtenantId,omitempty"` MicrotenantName string `json:"microtenantName,omitempty"` SyncVersion string `json:"syncVersion,omitempty"` Timezone string `json:"timezone,omitempty"` TmpPassword string `json:"tmpPassword,omitempty"` // This field is mandatory if twoFactorAuthEnabled is set. TokenID string `json:"tokenId,omitempty"` TwoFactorAuthEnabled bool `json:"twoFactorAuthEnabled,omitempty"` // This field is mandatory if twoFactorAuthEnabled is set. Accepted values: YUBIKEY/TOTP TwoFactorAuthType string `json:"twoFactorAuthType,omitempty"` // Mandatory only for POST. Not mandatory for PUT/DELETE requests. Username string `json:"username,omitempty"` // Only applicable for a GET request. Ignored in PUT/POST/DELETE requests. CreationTime string `json:"creationTime,omitempty"` // Only applicable for a GET request. Ignored in PUT/POST/DELETE requests. ModifiedBy string `json:"modifiedBy,omitempty"` // Only applicable for a GET request. Ignored in PUT/POST/DELETE requests. ModifiedTime string `json:"modifiedTime,omitempty"` }
Click to show internal directories.
Click to hide internal directories.