github.com/yaegashi/msgraph.go@v0.1.4/beta/ModelPrivileged.go (about) 1 // Code generated by msgraph.go/gen DO NOT EDIT. 2 3 package msgraph 4 5 import "time" 6 7 // PrivilegedAccess undocumented 8 type PrivilegedAccess struct { 9 // Entity is the base model of PrivilegedAccess 10 Entity 11 // DisplayName undocumented 12 DisplayName *string `json:"displayName,omitempty"` 13 // Resources undocumented 14 Resources []GovernanceResource `json:"resources,omitempty"` 15 // RoleDefinitions undocumented 16 RoleDefinitions []GovernanceRoleDefinition `json:"roleDefinitions,omitempty"` 17 // RoleAssignments undocumented 18 RoleAssignments []GovernanceRoleAssignment `json:"roleAssignments,omitempty"` 19 // RoleAssignmentRequests undocumented 20 RoleAssignmentRequests []GovernanceRoleAssignmentRequestObject `json:"roleAssignmentRequests,omitempty"` 21 // RoleSettings undocumented 22 RoleSettings []GovernanceRoleSetting `json:"roleSettings,omitempty"` 23 } 24 25 // PrivilegedApproval undocumented 26 type PrivilegedApproval struct { 27 // Entity is the base model of PrivilegedApproval 28 Entity 29 // UserID undocumented 30 UserID *string `json:"userId,omitempty"` 31 // RoleID undocumented 32 RoleID *string `json:"roleId,omitempty"` 33 // ApprovalType undocumented 34 ApprovalType *string `json:"approvalType,omitempty"` 35 // ApprovalState undocumented 36 ApprovalState *ApprovalState `json:"approvalState,omitempty"` 37 // ApprovalDuration undocumented 38 ApprovalDuration *Duration `json:"approvalDuration,omitempty"` 39 // RequestorReason undocumented 40 RequestorReason *string `json:"requestorReason,omitempty"` 41 // ApproverReason undocumented 42 ApproverReason *string `json:"approverReason,omitempty"` 43 // StartDateTime undocumented 44 StartDateTime *time.Time `json:"startDateTime,omitempty"` 45 // EndDateTime undocumented 46 EndDateTime *time.Time `json:"endDateTime,omitempty"` 47 // RequestNavigation undocumented 48 RequestNavigation *PrivilegedRoleAssignmentRequestObject `json:"request,omitempty"` 49 // RoleInfo undocumented 50 RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"` 51 } 52 53 // PrivilegedOperationEvent undocumented 54 type PrivilegedOperationEvent struct { 55 // Entity is the base model of PrivilegedOperationEvent 56 Entity 57 // UserID undocumented 58 UserID *string `json:"userId,omitempty"` 59 // UserName undocumented 60 UserName *string `json:"userName,omitempty"` 61 // UserMail undocumented 62 UserMail *string `json:"userMail,omitempty"` 63 // RoleID undocumented 64 RoleID *string `json:"roleId,omitempty"` 65 // RoleName undocumented 66 RoleName *string `json:"roleName,omitempty"` 67 // ExpirationDateTime undocumented 68 ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` 69 // CreationDateTime undocumented 70 CreationDateTime *time.Time `json:"creationDateTime,omitempty"` 71 // RequestorID undocumented 72 RequestorID *string `json:"requestorId,omitempty"` 73 // RequestorName undocumented 74 RequestorName *string `json:"requestorName,omitempty"` 75 // TenantID undocumented 76 TenantID *string `json:"tenantId,omitempty"` 77 // RequestType undocumented 78 RequestType *string `json:"requestType,omitempty"` 79 // AdditionalInformation undocumented 80 AdditionalInformation *string `json:"additionalInformation,omitempty"` 81 // ReferenceKey undocumented 82 ReferenceKey *string `json:"referenceKey,omitempty"` 83 // ReferenceSystem undocumented 84 ReferenceSystem *string `json:"referenceSystem,omitempty"` 85 } 86 87 // PrivilegedRole undocumented 88 type PrivilegedRole struct { 89 // Entity is the base model of PrivilegedRole 90 Entity 91 // Name undocumented 92 Name *string `json:"name,omitempty"` 93 // Settings undocumented 94 Settings *PrivilegedRoleSettings `json:"settings,omitempty"` 95 // Assignments undocumented 96 Assignments []PrivilegedRoleAssignment `json:"assignments,omitempty"` 97 // Summary undocumented 98 Summary *PrivilegedRoleSummary `json:"summary,omitempty"` 99 } 100 101 // PrivilegedRoleAssignment undocumented 102 type PrivilegedRoleAssignment struct { 103 // Entity is the base model of PrivilegedRoleAssignment 104 Entity 105 // UserID undocumented 106 UserID *string `json:"userId,omitempty"` 107 // RoleID undocumented 108 RoleID *string `json:"roleId,omitempty"` 109 // IsElevated undocumented 110 IsElevated *bool `json:"isElevated,omitempty"` 111 // ExpirationDateTime undocumented 112 ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"` 113 // ResultMessage undocumented 114 ResultMessage *string `json:"resultMessage,omitempty"` 115 // RoleInfo undocumented 116 RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"` 117 } 118 119 // PrivilegedRoleAssignmentRequestObject undocumented 120 type PrivilegedRoleAssignmentRequestObject struct { 121 // Entity is the base model of PrivilegedRoleAssignmentRequestObject 122 Entity 123 // Schedule undocumented 124 Schedule *GovernanceSchedule `json:"schedule,omitempty"` 125 // UserID undocumented 126 UserID *string `json:"userId,omitempty"` 127 // RoleID undocumented 128 RoleID *string `json:"roleId,omitempty"` 129 // Type undocumented 130 Type *string `json:"type,omitempty"` 131 // AssignmentState undocumented 132 AssignmentState *string `json:"assignmentState,omitempty"` 133 // RequestedDateTime undocumented 134 RequestedDateTime *time.Time `json:"requestedDateTime,omitempty"` 135 // Status undocumented 136 Status *string `json:"status,omitempty"` 137 // Duration undocumented 138 Duration *string `json:"duration,omitempty"` 139 // Reason undocumented 140 Reason *string `json:"reason,omitempty"` 141 // TicketNumber undocumented 142 TicketNumber *string `json:"ticketNumber,omitempty"` 143 // TicketSystem undocumented 144 TicketSystem *string `json:"ticketSystem,omitempty"` 145 // RoleInfo undocumented 146 RoleInfo *PrivilegedRole `json:"roleInfo,omitempty"` 147 } 148 149 // PrivilegedRoleSettings undocumented 150 type PrivilegedRoleSettings struct { 151 // Entity is the base model of PrivilegedRoleSettings 152 Entity 153 // ApproverIDs undocumented 154 ApproverIDs []string `json:"approverIds,omitempty"` 155 // MinElevationDuration undocumented 156 MinElevationDuration *Duration `json:"minElevationDuration,omitempty"` 157 // MaxElavationDuration undocumented 158 MaxElavationDuration *Duration `json:"maxElavationDuration,omitempty"` 159 // ElevationDuration undocumented 160 ElevationDuration *Duration `json:"elevationDuration,omitempty"` 161 // NotificationToUserOnElevation undocumented 162 NotificationToUserOnElevation *bool `json:"notificationToUserOnElevation,omitempty"` 163 // TicketingInfoOnElevation undocumented 164 TicketingInfoOnElevation *bool `json:"ticketingInfoOnElevation,omitempty"` 165 // MFAOnElevation undocumented 166 MFAOnElevation *bool `json:"mfaOnElevation,omitempty"` 167 // LastGlobalAdmin undocumented 168 LastGlobalAdmin *bool `json:"lastGlobalAdmin,omitempty"` 169 // IsMFAOnElevationConfigurable undocumented 170 IsMFAOnElevationConfigurable *bool `json:"isMfaOnElevationConfigurable,omitempty"` 171 // ApprovalOnElevation undocumented 172 ApprovalOnElevation *bool `json:"approvalOnElevation,omitempty"` 173 } 174 175 // PrivilegedRoleSummary undocumented 176 type PrivilegedRoleSummary struct { 177 // Entity is the base model of PrivilegedRoleSummary 178 Entity 179 // Status undocumented 180 Status *RoleSummaryStatus `json:"status,omitempty"` 181 // UsersCount undocumented 182 UsersCount *int `json:"usersCount,omitempty"` 183 // ManagedCount undocumented 184 ManagedCount *int `json:"managedCount,omitempty"` 185 // ElevatedCount undocumented 186 ElevatedCount *int `json:"elevatedCount,omitempty"` 187 // MFAEnabled undocumented 188 MFAEnabled *bool `json:"mfaEnabled,omitempty"` 189 } 190 191 // PrivilegedSignupStatus undocumented 192 type PrivilegedSignupStatus struct { 193 // Entity is the base model of PrivilegedSignupStatus 194 Entity 195 // IsRegistered undocumented 196 IsRegistered *bool `json:"isRegistered,omitempty"` 197 // Status undocumented 198 Status *SetupStatus `json:"status,omitempty"` 199 }