models

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ODataFields = map[string]struct{}{
	"@odata.context":  {},
	"@odata.id":       {},
	"@odata.count":    {},
	"@odata.nextLink": {},
}

Functions

This section is empty.

Types

type AccessReviewInstance

type AccessReviewInstance struct {
	Id *string `json:"id,omitempty"`
	// DateTime when review instance is scheduled to end.The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// Created based on scope and instanceEnumerationScope at the accessReviewScheduleDefinition level. Defines the scope of users reviewed in a group. In the case of a single-group review, the scope defined at the accessReviewScheduleDefinition level applies to all instances. In the case of all groups review, scope may be different for each group. Read-only.
	Scope *interface{} `json:"scope,omitempty"`
	// DateTime when review instance is scheduled to start. May be in the future. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// Specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed.  Read-only.
	Status *string `json:"status,omitempty"`
	// Each user reviewed in an accessReviewInstance has a decision item representing if their access was approved, denied, or not yet reviewed.
	Decisions *[]AccessReviewInstanceDecisionItem `json:"decisions,omitempty"`
	// There is exactly one accessReviewScheduleDefinition associated with each instance. It is the parent schedule for the instance, where instances are created for each recurrence of a review definition and each group selected to review by the definition.
	Definition *AccessReviewScheduleDefinition `json:"definition,omitempty"`
}

type AccessReviewInstanceDecisionItem

type AccessReviewInstanceDecisionItem struct {
	Id *string `json:"id,omitempty"`
	// The identifier of the accessReviewInstance parent.
	AccessReviewId *string `json:"accessReviewId,omitempty"`
	// The identifier of the user who applied the decision.
	AppliedBy *Identity `json:"appliedBy,omitempty"`
	// The timestamp when the approval decision was applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	AppliedDateTime *time.Time `json:"appliedDateTime,omitempty"`
	// The result of applying the decision. Possible values: NotApplied, Success, Failed, NotFound, or NotSupported.
	ApplyResult *string `json:"applyResult,omitempty"`
	// Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow.
	Decision *string `json:"decision,omitempty"`
	// The review decision justification.
	Justification *string `json:"justification,omitempty"`
	// Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity.
	Principal     *Identity `json:"principal,omitempty"`
	PrincipalLink *string   `json:"principalLink,omitempty"`
	// A system-generated recommendation for the approval decision. Possible values: Approve, Deny, or NotAvailable.
	Recommendation *string `json:"recommendation,omitempty"`
	// Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource
	Resource     *AccessReviewInstanceDecisionItemResource `json:"resource,omitempty"`
	ResourceLink *string                                   `json:"resourceLink,omitempty"`
	// The identifier of the reviewer.
	ReviewedBy *UserIdentity `json:"reviewedBy,omitempty"`
	// The timestamp when the review occurred.
	ReviewedDateTime *time.Time `json:"reviewedDateTime,omitempty"`
	// The target of this specific decision. Decision targets can be of different types – each one with its own specific properties. See accessReviewInstanceDecisionItemTarget.
	Target *interface{} `json:"target,omitempty"`
}

type AccessReviewInstanceDecisionItemResource

type AccessReviewInstanceDecisionItemResource struct {
	// Display name of the resource
	DisplayName *string `json:"displayName,omitempty"`
	// Resource ID
	Id *string `json:"id,omitempty"`
	// Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackageAssignmentPolicy.
	Type *string `json:"type,omitempty"`
}

type AccessReviewReviewerScope

type AccessReviewReviewerScope struct {
	// The query specifying who will be the reviewer. See table for examples.
	Query *string `json:"query,omitempty"`
	// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query (i.e., ./manager) is specified.
	QueryRoot *string `json:"queryRoot,omitempty"`
	// The type of query. Examples include MicrosoftGraph and ARM.
	QueryType *string `json:"queryType,omitempty"`
}

type AccessReviewScheduleDefinition

type AccessReviewScheduleDefinition struct {
	Id *string `json:"id,omitempty"`
	// This collection of reviewer scopes is used to define the list of fallback reviewers. These fallback reviewers will be notified to take action if no users are found from the list of reviewers specified. This could occur when either the group owner is specified as the reviewer but the group owner does not exist, or manager is specified as reviewer but a user's manager does not exist. See accessReviewReviewerScope.
	BackupReviewers *[]AccessReviewReviewerScope `json:"backupReviewers,omitempty"`
	// User who created this review.
	CreatedBy *UserIdentity `json:"createdBy,omitempty"`
	// Timestamp when review series was created.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Description provided by review creators to provide more context of the review to admins.
	DescriptionForAdmins *string `json:"descriptionForAdmins,omitempty"`
	// Description provided  by review creators to provide more context of the review to reviewers. Reviewers will see this description in the email sent to them requesting their review.
	DescriptionForReviewers *string `json:"descriptionForReviewers,omitempty"`
	// Name of access review series. Required on create.
	DisplayName *string `json:"displayName,omitempty"`
	// In the case of a review of guest users across all Microsoft 365 groups, this determines the scope of which groups will be reviewed. Each group will become a unique accessReviewInstance of the access review series.  For supported scopes, see accessReviewScope.
	InstanceEnumerationScope *interface{} `json:"instanceEnumerationScope,omitempty"`
	// Timestamp when review series was last modified.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// This collection of access review scopes is used to define who are the reviewers. See accessReviewReviewerScope. Required on create.
	Reviewers *[]AccessReviewReviewerScope `json:"reviewers,omitempty"`
	// Defines scope of users reviewed. For supported scopes, see accessReviewScope. Required on create.
	Scope *interface{} `json:"scope,omitempty"`
	// The settings for an access review series, see type definition below.
	Settings *AccessReviewScheduleSettings `json:"settings,omitempty"`
	// This read-only field specifies the status of an accessReview. The typical states include Initializing, NotStarted, Starting, InProgress, Completing, Completed, AutoReviewing, and AutoReviewed.
	Status *string `json:"status,omitempty"`
	// Set of access reviews instances for this access review series. Access reviews that do not recur will only have one instance; otherwise, there will be an instance for each recurrence.
	Instances *[]*AccessReviewInstance `json:"instances,omitempty"`
}

type AccessReviewScheduleSettings

type AccessReviewScheduleSettings struct {
	// Optional field. Describes the  actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction. See accessReviewApplyAction.
	ApplyActions *[]interface{} `json:"applyActions,omitempty"`
	// Flag to indicate whether auto-apply feature is enabled.
	AutoApplyDecisionsEnabled *bool `json:"autoApplyDecisionsEnabled,omitempty"`
	// Decision chosen if defaultDecisionEnabled is enabled. Can be one of 'Approve', 'Deny', or 'Recommendation'.
	DefaultDecision *string `json:"defaultDecision,omitempty"`
	// Flag to indicate whether default decision is enabled/disabled when reviewers do not respond.
	DefaultDecisionEnabled *bool `json:"defaultDecisionEnabled,omitempty"`
	// Duration of each recurrence of review (accessReviewInstance) in number of days.
	InstanceDurationInDays *int32 `json:"instanceDurationInDays,omitempty"`
	// Flag to indicate whether reviewers are required to provide justification with their decision.
	JustificationRequiredOnApproval *bool `json:"justificationRequiredOnApproval,omitempty"`
	// Flag to indicate whether emails are enabled/disabled.
	MailNotificationsEnabled *bool `json:"mailNotificationsEnabled,omitempty"`
	// Flag to indicate whether decision recommendations are enabled/disabled.
	RecommendationsEnabled *bool `json:"recommendationsEnabled,omitempty"`
	// Detailed settings for recurrence. Using standard Outlook recurrence object. Note that dayOfMonth is not supported - use property startDate on recurrenceRange to determine the day the review will start on.
	Recurrence *PatternedRecurrence `json:"recurrence,omitempty"`
	// Flag to indicate whether reminders are enabled/disabled.
	ReminderNotificationsEnabled *bool `json:"reminderNotificationsEnabled,omitempty"`
}

type ActivityStatistics

type ActivityStatistics struct {
	// The type of activity for which statistics are returned. The possible values are: call, chat, email, focus, and meeting.
	Activity AnalyticsActivityType `json:"activity,omitempty"`
	// Total hours spent on the activity. The value is represented in ISO 8601 format for durations.
	Duration *string `json:"duration,omitempty"`
	// Date when the activity ended, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-03' that follows the YYYY-MM-DD format.
	EndDate *string `json:"endDate,omitempty"`
	// Date when the activity started, expressed in ISO 8601 format for calendar dates. For example, the property value could be '2019-07-04' that follows the YYYY-MM-DD format.
	StartDate *string `json:"startDate,omitempty"`
	// The time zone that the user sets in Microsoft Outlook is used for the computation. For example, the property value could be 'Pacific Standard Time.'
	TimeZoneUsed *string `json:"timeZoneUsed,omitempty"`
}

type AgreementAcceptance

type AgreementAcceptance struct {
	Id *string `json:"id,omitempty"`
	// ID of the agreement file accepted by the user.
	AgreementFileId *string `json:"agreementFileId,omitempty"`
	// ID of the agreement.
	AgreementId *string `json:"agreementId,omitempty"`
	// The display name of the device used for accepting the agreement.
	DeviceDisplayName *string `json:"deviceDisplayName,omitempty"`
	// The unique identifier of the device used for accepting the agreement.
	DeviceId *string `json:"deviceId,omitempty"`
	// The operating system used for accepting the agreement.
	DeviceOSType *string `json:"deviceOSType,omitempty"`
	// The operating system version of the device used for accepting the agreement.
	DeviceOSVersion *string `json:"deviceOSVersion,omitempty"`
	// The expiration date time of the acceptance. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
	RecordedDateTime *time.Time `json:"recordedDateTime,omitempty"`
	// Possible values are: accepted, declined.
	State *AgreementAcceptanceState `json:"state,omitempty"`
	// Display name of the user when the acceptance was recorded.
	UserDisplayName *string `json:"userDisplayName,omitempty"`
	// Email of the user when the acceptance was recorded.
	UserEmail *string `json:"userEmail,omitempty"`
	// ID of the user who accepted the agreement.
	UserId *string `json:"userId,omitempty"`
	// UPN of the user when the acceptance was recorded.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}

type AgreementAcceptanceState

type AgreementAcceptanceState string
const (
	AgreementAcceptanceState_ACCEPTED             AgreementAcceptanceState = "accepted"
	AgreementAcceptanceState_DECLINED             AgreementAcceptanceState = "declined"
	AgreementAcceptanceState_UNKNOWN_FUTURE_VALUE AgreementAcceptanceState = "unknownFutureValue"
)

func (*AgreementAcceptanceState) UnmarshalJSON

func (v *AgreementAcceptanceState) UnmarshalJSON(src []byte) error

type AnalyticsActivityType

type AnalyticsActivityType string
const (
	EMAIL   AnalyticsActivityType = "Email"
	MEETING AnalyticsActivityType = "Meeting"
	FOCUS   AnalyticsActivityType = "Focus"
	CHAT    AnalyticsActivityType = "Chat"
	CALL    AnalyticsActivityType = "Call"
)

List of microsoft.graph.analyticsActivityType

func (*AnalyticsActivityType) UnmarshalJSON

func (v *AnalyticsActivityType) UnmarshalJSON(src []byte) error

type AppConsentRequest

type AppConsentRequest struct {
	// The display name of the app for which consent is requested. Required. Supports $filter (eq only) and $orderby.
	AppDisplayName *string `json:"appDisplayName,omitempty"`
	// The identifier of the application. Required. Supports $filter (eq only) and $orderby.
	AppId *string `json:"appId,omitempty"`
	// The consent type of the request. Possible values are: Static and Dynamic. These represent static and dynamic permissions, respectively, requested in the consent workflow. Supports $filter (eq only) and $orderby. Required.
	ConsentType *string `json:"consentType,omitempty"`
	// A list of pending scopes waiting for approval. This is empty if the consentType is Static. Required.
	PendingScopes *[]AppConsentRequestScope `json:"pendingScopes,omitempty"`
	// A list of pending user consent requests.
	UserConsentRequests *[]UserConsentRequest `json:"userConsentRequests,omitempty"`
}

type AppConsentRequestScope

type AppConsentRequestScope struct {
	// The name of the scope.
	DisplayName *string `json:"displayName,omitempty"`
}

type AppRoleAssignment

type AppRoleAssignment struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// The identifier (id) for the app role which is assigned to the principal. This app role must be exposed in the appRoles property on the resource application's service principal (resourceId). If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles. Required on create.
	AppRoleId *string `json:"appRoleId,omitempty"`
	// The time when the app role assignment was created.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
	CreationTimestamp *time.Time `json:"creationTimestamp,omitempty"`
	// The display name of the user, group, or service principal that was granted the app role assignment. Read-only. Supports $filter (eq and startswith).
	PrincipalDisplayName *string `json:"principalDisplayName,omitempty"`
	// The unique identifier (id) for the user, group or service principal being granted the app role. Required on create.
	PrincipalId *string `json:"principalId,omitempty"`
	// The type of the assigned principal. This can either be User, Group or ServicePrincipal. Read-only.
	PrincipalType *string `json:"principalType,omitempty"`
	// The display name of the resource app's service principal to which the assignment is made.
	ResourceDisplayName *string `json:"resourceDisplayName,omitempty"`
	// The unique identifier (id) for the resource service principal for which the assignment is made. Required on create. Supports $filter (eq only).
	ResourceId *string `json:"resourceId,omitempty"`
}

AppRoleAssignment struct for AppRoleAssignment

type ApplicationMode

type ApplicationMode string
const (
	APPLICATION_MODE_MANUAL      ApplicationMode = "manual"
	APPLICATION_MODE_AUTOMATIC   ApplicationMode = "automatic"
	APPLICATION_MODE_RECOMMENDED ApplicationMode = "recommended"
)

func (*ApplicationMode) UnmarshalJSON

func (v *ApplicationMode) UnmarshalJSON(src []byte) error

type Approval

type Approval struct {
	Id    *string         `json:"id,omitempty"`
	Steps *[]ApprovalStep `json:"steps,omitempty"`
}

type ApprovalStep

type ApprovalStep struct {
	Id *string `json:"id,omitempty"`
	// Indicates whether the step is assigned to the calling user to review. Read-only.
	AssignedToMe *bool `json:"assignedToMe,omitempty"`
	// The label provided by the policy creator to identify an approval step. Read-only.
	DisplayName *string `json:"displayName,omitempty"`
	// The justification associated with the approval step decision.
	Justification *string `json:"justification,omitempty"`
	// The identifier of the reviewer. Read-only.
	ReviewedBy *Identity `json:"reviewedBy,omitempty"`
	// The date and time when a decision was recorded. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
	ReviewedDateTime *time.Time `json:"reviewedDateTime,omitempty"`
	// The result of this approval record. Possible values include: NotReviewed, Approved, Denied.
	ReviewResult *string `json:"reviewResult,omitempty"`
	// The step status. Possible values: InProgress, Initializing, Completed, Expired. Read-only.
	Status *string `json:"status,omitempty"`
}

type AssignedLicense

type AssignedLicense struct {
	// A collection of the unique identifiers for plans that have been disabled.
	DisabledPlans *[]string `json:"disabledPlans,omitempty"`
	// The unique identifier for the SKU.
	SkuId *string `json:"skuId,omitempty"`
}

AssignedLicense struct for AssignedLicense

type AssignedPlan

type AssignedPlan struct {
	// The date and time at which the plan was assigned; for example: 2013-01-02T19:32:30Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	AssignedDateTime *time.Time `json:"assignedDateTime,omitempty"`
	// Condition of the capability assignment. The possible values are Enabled, Warning, Suspended, Deleted, LockedOut.
	CapabilityStatus *string `json:"capabilityStatus,omitempty"`
	// The name of the service; for example, 'Exchange'.
	Service *string `json:"service,omitempty"`
	// A GUID that identifies the service plan.
	ServicePlanId *string `json:"servicePlanId,omitempty"`
}

AssignedPlan struct for MicrosoftGraphAssignedPlan

type Attachment

type Attachment struct {
	Id *string `json:"id,omitempty"`
	// The MIME type.
	ContentType *string `json:"contentType,omitempty"`
	// true if the attachment is an inline attachment; otherwise, false.
	IsInline *bool `json:"isInline,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The attachment's file name.
	Name *string `json:"name,omitempty"`
	// The length of the attachment in bytes.
	Size *int32 `json:"size,omitempty"`
}

type Attendee

type Attendee struct {
	// The recipient's email address.
	EmailAddress *EmailAddress `json:"emailAddress,omitempty"`
	// The type of attendee. The possible values are: required, optional, resource. Currently if the attendee is a person, findMeetingTimes always considers the person is of the Required type.
	Type *AttendeeType `json:"type,omitempty"`
	// An alternate date/time proposed by the attendee for a meeting request to start and end. If the attendee hasn't proposed another time, then this property is not included in a response of a GET event.
	ProposedNewTime *TimeSlot `json:"proposedNewTime,omitempty"`
	// The attendee's response (none, accepted, declined, etc.) for the event and date-time that the response was sent.
	Status *ResponseStatus `json:"status,omitempty"`
}

type AttendeeType

type AttendeeType string
const (
	AttendeeType_REQUIRED AttendeeType = "required"
	AttendeeType_OPTIONAL AttendeeType = "optional"
	AttendeeType_RESOURCE AttendeeType = "resource"
)

func (*AttendeeType) UnmarshalJSON

func (v *AttendeeType) UnmarshalJSON(src []byte) error

type AutoLabeling

type AutoLabeling struct {
	Message          *string   `json:"message,omitempty"`
	SensitiveTypeIds *[]string `json:"sensitiveTypeIds,omitempty"`
}

type AutomaticRepliesSetting

type AutomaticRepliesSetting struct {
	// The set of audience external to the signed-in user's organization who will receive the ExternalReplyMessage, if Status is AlwaysEnabled or Scheduled. The possible values are: none, contactsOnly, all.
	ExternalAudience *ExternalAudienceScope `json:"externalAudience,omitempty"`
	// The automatic reply to send to the specified external audience, if Status is AlwaysEnabled or Scheduled.
	ExternalReplyMessage *string `json:"externalReplyMessage,omitempty"`
	// The automatic reply to send to the audience internal to the signed-in user's organization, if Status is AlwaysEnabled or Scheduled.
	InternalReplyMessage *string `json:"internalReplyMessage,omitempty"`
	// The date and time that automatic replies are set to end, if Status is set to Scheduled.
	ScheduledEndDateTime *DateTimeTimeZone `json:"scheduledEndDateTime,omitempty"`
	// The date and time that automatic replies are set to begin, if Status is set to Scheduled.
	ScheduledStartDateTime *DateTimeTimeZone `json:"scheduledStartDateTime,omitempty"`
	// Configurations status for automatic replies. The possible values are: disabled, alwaysEnabled, scheduled.
	Status *AutomaticRepliesStatus `json:"status,omitempty"`
}

type AutomaticRepliesStatus

type AutomaticRepliesStatus string
const (
	DISABLED       AutomaticRepliesStatus = "disabled"
	ALWAYS_ENABLED AutomaticRepliesStatus = "alwaysEnabled"
	SCHEDULED      AutomaticRepliesStatus = "scheduled"
)

func (*AutomaticRepliesStatus) UnmarshalJSON

func (v *AutomaticRepliesStatus) UnmarshalJSON(src []byte) error

type BaseItem

type BaseItem struct {
	Id *string `json:"id,omitempty"`
}

type Bitlocker

type Bitlocker struct {
	// The recovery keys associated with the bitlocker entity.
	RecoveryKeys *[]BitlockerRecoveryKey `json:"recoveryKeys,omitempty"`
}

type BitlockerRecoveryKey

type BitlockerRecoveryKey struct {
	// The date and time when the key was originally backed up to Azure Active Directory.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// ID of the device the BitLocker key is originally backed up from.
	DeviceId *string `json:"deviceId,omitempty"`
	// The BitLocker recovery key.
	Key *string `json:"key,omitempty"`
	// Indicates the type of volume the BitLocker key is associated with. Possible values are: operatingSystemVolume, fixedDataVolume, removableDataVolume, unknownFutureValue.
	VolumeType *VolumeType `json:"volumeType,omitempty"`
}

type BodyType

type BodyType string
const (
	BodyType_TEXT BodyType = "text"
	BodyType_HTML BodyType = "html"
)

func (*BodyType) UnmarshalJSON

func (v *BodyType) UnmarshalJSON(src []byte) error

type CalculatedColumn

type CalculatedColumn struct {
	// For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.
	Format *string `json:"format,omitempty"`
	// The formula used to compute the value for this column.
	Formula *string `json:"formula,omitempty"`
	// The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.
	OutputType *string `json:"outputType,omitempty"`
}

type Calendar

type Calendar struct {
	Id *string `json:"id,omitempty"`
	// Represent the online meeting service providers that can be used to create online meetings in this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
	AllowedOnlineMeetingProviders *[]OnlineMeetingProviderType `json:"allowedOnlineMeetingProviders,omitempty"`
	// The calendarGroup in which to create the calendar. If the user has never explicitly set a group for the calendar, this property is  null.
	CalendarGroupId *string `json:"calendarGroupId,omitempty"`
	// True if the user can write to the calendar, false otherwise. This property is true for the user who created the calendar. This property is also true for a user who has been shared a calendar and granted write access.
	CanEdit *bool `json:"canEdit,omitempty"`
	// True if the user has the permission to share the calendar, false otherwise. Only the user who created the calendar can share it.
	CanShare *bool `json:"canShare,omitempty"`
	// True if the user can read calendar items that have been marked private, false otherwise.
	CanViewPrivateItems *bool `json:"canViewPrivateItems,omitempty"`
	// Identifies the version of the calendar object. Every time the calendar is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
	ChangeKey *string `json:"changeKey,omitempty"`
	// Specifies the color theme to distinguish the calendar from other calendars in a UI. The property values are: LightBlue=0, LightGreen=1, LightOrange=2, LightGray=3, LightYellow=4, LightTeal=5, LightPink=6, LightBrown=7, LightRed=8, MaxColor=9, Auto=-1
	Color *CalendarColor `json:"color,omitempty"`
	// The default online meeting provider for meetings sent from this calendar. Possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness.
	DefaultOnlineMeetingProvider *OnlineMeetingProviderType `json:"defaultOnlineMeetingProvider,omitempty"`
	// The calendar color, expressed in a hex color code of three hexidecimal values, each ranging from 00 to FF and representing the red, green, or blue components of the color in the RGB color space. If the user has never explicitly set a color for the calendar, this property is empty. Read-only.
	HexColor *string `json:"hexColor,omitempty"`
	// True if this is the default calendar where new events are created by default, false otherwise.
	IsDefaultCalendar *bool `json:"isDefaultCalendar,omitempty"`
	// Indicates whether this user calendar can be deleted from the user mailbox.
	IsRemovable *bool `json:"isRemovable,omitempty"`
	// true if the user has shared the calendar with other users, false otherwise. Since only the user who created the calendar can share it, isShared and isSharedWithMe cannot be true for the same user. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only.
	IsShared *bool `json:"isShared,omitempty"`
	// true if the user has been shared this calendar, false otherwise. This property is always false for a calendar owner. This property is set when sharing is initiated in an Outlook client, and can be reset when the sharing is cancelled through the client or the corresponding calendarPermission resource. Read-only.
	IsSharedWithMe *bool `json:"isSharedWithMe,omitempty"`
	// Indicates whether this user calendar supports tracking of meeting responses. Only meeting invites sent from users' primary calendars support tracking of meeting responses.
	IsTallyingResponses *bool `json:"isTallyingResponses,omitempty"`
	// The calendar name.
	Name *string `json:"name,omitempty"`
	// If set, this represents the user who created or added the calendar. For a calendar that the user created or added, the owner property is set to the user. For a calendar shared with the user, the owner property is set to the person who shared that calendar with the user.
	Owner *EmailAddress `json:"owner,omitempty"`
	// The permissions of the users with whom the calendar is shared.
	CalendarPermissions *[]CalendarPermission `json:"calendarPermissions,omitempty"`
	// The calendar view for the calendar. Navigation property. Read-only.
	CalendarView *[]Event `json:"calendarView,omitempty"`
	// The events in the calendar. Navigation property. Read-only.
	Events *[]Event `json:"events,omitempty"`
	// The collection of multi-value extended properties defined for the calendar. Read-only. Nullable.
	MultiValueExtendedProperties *[]MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
	// The collection of single-value extended properties defined for the calendar. Read-only. Nullable.
	SingleValueExtendedProperties *[]SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}

type CalendarColor

type CalendarColor string
const (
	CalendarColor_AUTO         CalendarColor = "auto"
	CalendarColor_LIGHT_BLUE   CalendarColor = "lightBlue"
	CalendarColor_LIGHT_GREEN  CalendarColor = "lightGreen"
	CalendarColor_LIGHT_ORANGE CalendarColor = "lightOrange"
	CalendarColor_LIGHT_GRAY   CalendarColor = "lightGray"
	CalendarColor_LIGHT_YELLOW CalendarColor = "lightYellow"
	CalendarColor_LIGHT_TEAL   CalendarColor = "lightTeal"
	CalendarColor_LIGHT_PINK   CalendarColor = "lightPink"
	CalendarColor_LIGHT_BROWN  CalendarColor = "lightBrown"
	CalendarColor_LIGHT_RED    CalendarColor = "lightRed"
	CalendarColor_MAX_COLOR    CalendarColor = "maxColor"
)

func (*CalendarColor) UnmarshalJSON

func (v *CalendarColor) UnmarshalJSON(src []byte) error

type CalendarGroup

type CalendarGroup struct {
	Id *string `json:"id,omitempty"`
	// Identifies the version of the calendar group. Every time the calendar group is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
	ChangeKey *string `json:"changeKey,omitempty"`
	// The class identifier. Read-only.
	ClassId *string `json:"classId,omitempty"`
	// The group name.
	Name *string `json:"name,omitempty"`
	// The calendars in the calendar group. Navigation property. Read-only. Nullable.
	Calendars *[]Calendar `json:"calendars,omitempty"`
}

type CalendarPermission

type CalendarPermission struct {
	Id *string `json:"id,omitempty"`
	// List of allowed sharing or delegating permission levels for the calendar. Possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom.
	AllowedRoles *[]CalendarRoleType `json:"allowedRoles,omitempty"`
	// Represents a sharee or delegate who has access to the calendar. For the 'My Organization' sharee, the address property is null. Read-only.
	EmailAddress *EmailAddress `json:"emailAddress,omitempty"`
	// True if the user in context (sharee or delegate) is inside the same organization as the calendar owner.
	IsInsideOrganization *bool `json:"isInsideOrganization,omitempty"`
	// True if the user can be removed from the list of sharees or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You cannot remove 'My organization' as a sharee to a calendar.
	IsRemovable *bool `json:"isRemovable,omitempty"`
	// Current permission level of the calendar sharee or delegate.
	Role *CalendarRoleType `json:"role,omitempty"`
}

type CalendarRoleType

type CalendarRoleType string
const (
	CalendarRoleType_NONE                                  CalendarRoleType = "none"
	CalendarRoleType_FREE_BUSY_READ                        CalendarRoleType = "freeBusyRead"
	CalendarRoleType_LIMITED_READ                          CalendarRoleType = "limitedRead"
	CalendarRoleType_READ                                  CalendarRoleType = "read"
	CalendarRoleType_WRITE                                 CalendarRoleType = "write"
	CalendarRoleType_DELEGATE_WITHOUT_PRIVATE_EVENT_ACCESS CalendarRoleType = "delegateWithoutPrivateEventAccess"
	CalendarRoleType_DELEGATE_WITH_PRIVATE_EVENT_ACCESS    CalendarRoleType = "delegateWithPrivateEventAccess"
	CalendarRoleType_CUSTOM                                CalendarRoleType = "custom"
)

func (*CalendarRoleType) UnmarshalJSON

func (v *CalendarRoleType) UnmarshalJSON(src []byte) error

type CategoryColor

type CategoryColor string
const (
	CategoryColor_NONE CategoryColor = "none"
	CategoryColor_0    CategoryColor = "preset0"
	CategoryColor_1    CategoryColor = "preset1"
	CategoryColor_2    CategoryColor = "preset2"
	CategoryColor_3    CategoryColor = "preset3"
	CategoryColor_4    CategoryColor = "preset4"
	CategoryColor_5    CategoryColor = "preset5"
	CategoryColor_6    CategoryColor = "preset6"
	CategoryColor_7    CategoryColor = "preset7"
	CategoryColor_8    CategoryColor = "preset8"
	CategoryColor_9    CategoryColor = "preset9"
	CategoryColor_10   CategoryColor = "preset10"
	CategoryColor_11   CategoryColor = "preset11"
	CategoryColor_12   CategoryColor = "preset12"
	CategoryColor_13   CategoryColor = "preset13"
	CategoryColor_14   CategoryColor = "preset14"
	CategoryColor_15   CategoryColor = "preset15"
	CategoryColor_16   CategoryColor = "preset16"
	CategoryColor_17   CategoryColor = "preset17"
	CategoryColor_18   CategoryColor = "preset18"
	CategoryColor_19   CategoryColor = "preset19"
	CategoryColor_20   CategoryColor = "preset20"
	CategoryColor_21   CategoryColor = "preset21"
	CategoryColor_22   CategoryColor = "preset22"
	CategoryColor_24   CategoryColor = "preset24"
)

func (*CategoryColor) UnmarshalJSON

func (v *CategoryColor) UnmarshalJSON(src []byte) error

type ChoiceColumn

type ChoiceColumn struct {
	// If true, allows custom values that aren't in the configured choices.
	AllowTextEntry *bool `json:"allowTextEntry,omitempty"`
	// The list of values available for this column.
	Choices *[]string `json:"choices,omitempty"`
	// How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons
	DisplayAs *string `json:"displayAs,omitempty"`
}

type ColumnDefinition

type ColumnDefinition struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// This column stores boolean values.
	Boolean *interface{} `json:"boolean,omitempty"`
	// This column's data is calculated based on other columns.
	Calculated *CalculatedColumn `json:"calculated,omitempty"`
	// This column stores data from a list of choices.
	Choice *ChoiceColumn `json:"choice,omitempty"`
	// For site columns, the name of the group this column belongs to. Helps organize related columns.
	ColumnGroup *string `json:"columnGroup,omitempty"`
	// This column stores currency values.
	Currency *CurrencyColumn `json:"currency,omitempty"`
	// This column stores DateTime values.
	DateTime *DateTimeColumn `json:"dateTime,omitempty"`
	// The default value for this column.
	DefaultValue *DefaultColumnValue `json:"defaultValue,omitempty"`
	// The user-facing description of the column.
	Description *string `json:"description,omitempty"`
	// The user-facing name of the column.
	DisplayName *string `json:"displayName,omitempty"`
	// If true, no two list items may have the same value for this column.
	EnforceUniqueValues *bool `json:"enforceUniqueValues,omitempty"`
	// This column stores a geolocation.
	Geolocation *interface{} `json:"geolocation,omitempty"`
	// Specifies whether the column is displayed in the user interface.
	Hidden *bool `json:"hidden,omitempty"`
	// Specifies whether the column values can used for sorting and searching.
	Indexed *bool `json:"indexed,omitempty"`
	// This column's data is looked up from another source in the site.
	Lookup *LookupColumn `json:"lookup,omitempty"`
	// The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.
	Name *string `json:"name,omitempty"`
	// This column stores number values.
	Number *NumberColumn `json:"number,omitempty"`
	// This column stores Person or Group values.
	PersonOrGroup *PersonOrGroupColumn `json:"personOrGroup,omitempty"`
	// Specifies whether the column values can be modified.
	ReadOnly *bool `json:"readOnly,omitempty"`
	// Specifies whether the column value is not optional.
	Required *bool `json:"required,omitempty"`
	// This column stores text values.
	Text *TextColumn `json:"text,omitempty"`
}

ColumnDefinition struct for ColumnDefinition

type ColumnLink struct {
	Id *string `json:"id,omitempty"`
	// The name of the column  in this content type.
	Name *string `json:"name,omitempty"`
}

type Contact

type Contact struct {
	Id *string `json:"id,omitempty"`
	// The categories associated with the item
	Categories *[]string `json:"categories,omitempty"`
	// Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
	ChangeKey *string `json:"changeKey,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the contact's assistant.
	AssistantName *string `json:"assistantName,omitempty"`
	// The contact's birthday. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	Birthday *time.Time `json:"birthday,omitempty"`
	// The contact's business address.
	BusinessAddress *PhysicalAddress `json:"businessAddress,omitempty"`
	// The business home page of the contact.
	BusinessHomePage *string `json:"businessHomePage,omitempty"`
	// The contact's business phone numbers.
	BusinessPhones *[]string `json:"businessPhones,omitempty"`
	// The names of the contact's children.
	Children *[]string `json:"children,omitempty"`
	// The name of the contact's company.
	CompanyName *string `json:"companyName,omitempty"`
	// The contact's department.
	Department *string `json:"department,omitempty"`
	// The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation.
	DisplayName *string `json:"displayName,omitempty"`
	// The contact's email addresses.
	EmailAddresses *[]EmailAddress `json:"emailAddresses,omitempty"`
	// The name the contact is filed under.
	FileAs *string `json:"fileAs,omitempty"`
	// The contact's generation.
	Generation *string `json:"generation,omitempty"`
	// The contact's given name.
	GivenName *string `json:"givenName,omitempty"`
	// The contact's home address.
	HomeAddress *PhysicalAddress `json:"homeAddress,omitempty"`
	// The contact's home phone numbers.
	HomePhones *[]string `json:"homePhones,omitempty"`
	// The contact's instant messaging (IM) addresses.
	ImAddresses *[]string `json:"imAddresses,omitempty"`
	// The contact's initials.
	Initials *string `json:"initials,omitempty"`
	// The contact’s job title.
	JobTitle *string `json:"jobTitle,omitempty"`
	// The name of the contact's manager.
	Manager *string `json:"manager,omitempty"`
	// The contact's middle name.
	MiddleName *string `json:"middleName,omitempty"`
	// The contact's mobile phone number.
	MobilePhone *string `json:"mobilePhone,omitempty"`
	// The contact's nickname.
	NickName *string `json:"nickName,omitempty"`
	// The location of the contact's office.
	OfficeLocation *string `json:"officeLocation,omitempty"`
	// Other addresses for the contact.
	OtherAddress PhysicalAddress `json:"otherAddress,omitempty"`
	// The ID of the contact's parent folder.
	ParentFolderId *string `json:"parentFolderId,omitempty"`
	// The user's notes about the contact.
	PersonalNotes *string `json:"personalNotes,omitempty"`
	// The contact's profession.
	Profession *string `json:"profession,omitempty"`
	// The name of the contact's spouse/partner.
	SpouseName *string `json:"spouseName,omitempty"`
	// The contact's surname.
	Surname *string `json:"surname,omitempty"`
	// The contact's title.
	Title *string `json:"title,omitempty"`
	// The phonetic Japanese company name of the contact.
	YomiCompanyName *string `json:"yomiCompanyName,omitempty"`
	// The phonetic Japanese given name (first name) of the contact.
	YomiGivenName *string `json:"yomiGivenName,omitempty"`
	// The phonetic Japanese surname (last name)  of the contact.
	YomiSurname *string `json:"yomiSurname,omitempty"`
	// The collection of open extensions defined for the contact. Read-only. Nullable.
	Extensions *[]Extension `json:"extensions,omitempty"`
	// The collection of multi-value extended properties defined for the contact. Read-only. Nullable.
	MultiValueExtendedProperties *[]MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
	// Optional contact picture. You can get or set a photo for a contact.
	Photo ProfilePhoto `json:"photo,omitempty"`
	// The collection of single-value extended properties defined for the contact. Read-only. Nullable.
	SingleValueExtendedProperties *[]SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}

type ContactFolder

type ContactFolder struct {
	Id *string `json:"id,omitempty"`
	// The folder's display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The ID of the folder's parent folder.
	ParentFolderId *string `json:"parentFolderId,omitempty"`
	// The collection of child folders in the folder. Navigation property. Read-only. Nullable.
	ChildFolders *[]ContactFolder `json:"childFolders,omitempty"`
	// The contacts in the folder. Navigation property. Read-only. Nullable.
	Contacts *[]Contact `json:"contacts,omitempty"`
	// The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
	MultiValueExtendedProperties *[]MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
	// The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
	SingleValueExtendedProperties *[]SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}

type ContentType

type ContentType struct {
	Id *string `json:"id,omitempty"`
	// The descriptive text for the item.
	Description *string `json:"description,omitempty"`
	// The name of the group this content type belongs to. Helps organize related content types.
	Group *string `json:"group,omitempty"`
	// Indicates whether the content type is hidden in the list's 'New' menu.
	Hidden *bool `json:"hidden,omitempty"`
	// If this content type is inherited from another scope (like a site), provides a reference to the item where the content type is defined.
	InheritedFrom *ItemReference `json:"inheritedFrom,omitempty"`
	// The name of the content type.
	Name *string `json:"name,omitempty"`
	// Specifies the order in which the content type appears in the selection UI.
	Order *ContentTypeOrder `json:"order,omitempty"`
	// The unique identifier of the content type.
	ParentId *string `json:"parentId,omitempty"`
	// If true, the content type cannot be modified unless this value is first set to false.
	ReadOnly *bool `json:"readOnly,omitempty"`
	// If true, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types.
	Sealed *bool `json:"sealed,omitempty"`
	// The collection of columns that are required by this content type
	ColumnLinks *[]ColumnLink `json:"columnLinks,omitempty"`
}

type ContentTypeInfo

type ContentTypeInfo struct {
	// The id of the content type.
	Id *string `json:"id,omitempty"`
	// The name of the content type.
	Name *string `json:"name,omitempty"`
}

type ContentTypeOrder

type ContentTypeOrder struct {
	// Whether this is the default Content Type
	Default *bool `json:"default,omitempty"`
	// Specifies the position in which the Content Type appears in the selection UI.
	Position *int `json:"position,omitempty"`
}

type CurrencyColumn

type CurrencyColumn struct {
	// Specifies the locale from which to infer the currency symbol.
	Locale *string `json:"locale,omitempty"`
}

type DataLossPreventionPolicy

type DataLossPreventionPolicy struct {
	Name *string `json:"name,omitempty"`
}

type DateTimeColumn

type DateTimeColumn struct {
	// How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
	DisplayAs *string `json:"displayAs,omitempty"`
	// Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime
	Format *string `json:"format,omitempty"`
}

type DateTimeTimeZone

type DateTimeTimeZone struct {
	// A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).
	DateTime *string `json:"dateTime,omitempty"`
	// Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.
	TimeZone *string `json:"timeZone,omitempty"`
}

type DayOfWeek

type DayOfWeek string

DayOfWeek the model 'DayOfWeek'

const (
	SUNDAY    DayOfWeek = "sunday"
	MONDAY    DayOfWeek = "monday"
	TUESDAY   DayOfWeek = "tuesday"
	WEDNESDAY DayOfWeek = "wednesday"
	THURSDAY  DayOfWeek = "thursday"
	FRIDAY    DayOfWeek = "friday"
	SATURDAY  DayOfWeek = "saturday"
)

List of microsoft.graph.dayOfWeek

func (*DayOfWeek) UnmarshalJSON

func (v *DayOfWeek) UnmarshalJSON(src []byte) error

type DefaultColumnValue

type DefaultColumnValue struct {
	// The formula used to compute the default value for this column.
	Formula *string `json:"formula,omitempty"`
	// The direct value to use as the default value for this column.
	Value *string `json:"value,omitempty"`
}

type DelegateMeetingMessageDeliveryOptions

type DelegateMeetingMessageDeliveryOptions string
const (
	SEND_TO_DELEGATE_AND_INFORMATION_TO_PRINCIPAL DelegateMeetingMessageDeliveryOptions = "sendToDelegateAndInformationToPrincipal"
	SEND_TO_DELEGATE_AND_PRINCIPAL                DelegateMeetingMessageDeliveryOptions = "sendToDelegateAndPrincipal"
	SEND_TO_DELEGATE_ONLY                         DelegateMeetingMessageDeliveryOptions = "sendToDelegateOnly"
)

func (*DelegateMeetingMessageDeliveryOptions) UnmarshalJSON

func (v *DelegateMeetingMessageDeliveryOptions) UnmarshalJSON(src []byte) error

type DeviceKey

type DeviceKey struct {
	DeviceId    *string `json:"deviceId,omitempty"`
	KeyMaterial *string `json:"keyMaterial,omitempty"`
	KeyType     *string `json:"keyType,omitempty"`
}

DeviceKey struct for MicrosoftGraphDeviceKey

type DirectoryObject

type DirectoryObject struct {
	// Read-only.
	Id              *string    `json:"id,omitempty"`
	DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
}

DirectoryObject struct for DirectoryObject

type DirectoryRole

type DirectoryRole struct {
	Id *string `json:"id,omitempty"`
	// The description for the directory role. Read-only.
	Description *string `json:"description,omitempty"`
	// The display name for the directory role. Read-only.
	DisplayName *string `json:"displayName,omitempty"`
	// The id of the directoryRoleTemplate that this role is based on. The property must be specified when activating a directory role in a tenant with a POST operation. After the directory role has been activated, the property is read only.
	RoleTemplateId *string `json:"roleTemplateId,omitempty"`
	// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable.
	Members       *[]DirectoryObject      `json:"members,omitempty"`
	ScopedMembers *[]ScopedRoleMembership `json:"scopedMembers,omitempty"`
}

DirectoryRole Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

type DirectoryRoleTemplate

type DirectoryRoleTemplate struct {
	// Read-only.
	Id              *string    `json:"id,omitempty"`
	DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
	// The description to set for the directory role. Read-only.
	Description *string `json:"description,omitempty"`
	// The display name to set for the directory role. Read-only.
	DisplayName *string `json:"displayName,omitempty"`
}

DirectoryRoleTemplate Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

type Drive

type Drive struct {
	Id *string `json:"id,omitempty"`
	// Identity of the user, device, or application which created the item. Read-only.
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag *string `json:"eTag,omitempty"`
	// Identity of the user, device, and application which last modified the item. Read-only.
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name *string `json:"name,omitempty"`
	// Parent information, if the item has a parent. Read-write.
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,omitempty"`
	// Identity of the user who created the item. Read-only.
	CreatedByUser *User `json:"createdByUser,omitempty"`
	// Identity of the user who last modified the item. Read-only.
	LastModifiedByUser *User `json:"lastModifiedByUser,omitempty"`
	// Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only.
	DriveType *string `json:"driveType,omitempty"`
	// Optional. The user account that owns the drive. Read-only.
	Owner *IdentitySet `json:"owner,omitempty"`
	// Optional. Information about the drive's storage space quota. Read-only.
	Quota         *Quota         `json:"quota,omitempty"`
	SharePointIds *SharepointIds `json:"sharePointIds,omitempty"`
	// If present, indicates that this is a system-managed drive. Read-only.
	System *interface{} `json:"system,omitempty"`
	// The list of items the user is following. Only in OneDrive for Business.
	Following *[]DriveItem `json:"following,omitempty"`
	// All items contained in the drive. Read-only. Nullable.
	Items *[]DriveItem `json:"items,omitempty"`
	// For drives in SharePoint, the underlying document library list. Read-only. Nullable.
	List *List `json:"list,omitempty"`
	// The root folder of the drive. Read-only.
	Root *DriveItem `json:"root,omitempty"`
	// Collection of common folders available in OneDrive. Read-only. Nullable.
	Special *[]DriveItem `json:"special,omitempty"`
}

type DriveItem

type DriveItem struct {
}

type EmailAddress

type EmailAddress struct {
	// The email address of the person or entity.
	Address *string `json:"address,omitempty"`
	// The display name of the person or entity.
	Name *string `json:"name,omitempty"`
}

type EmployeeOrgData

type EmployeeOrgData struct {
	// The cost center associated with the user. Returned only on $select. Supports $filter.
	CostCenter *string `json:"costCenter,omitempty"`
	// The name of the division in which the user works. Returned only on $select. Supports $filter.
	Division *string `json:"division,omitempty"`
}

EmployeeOrgData struct for EmployeeOrgData

type Event

type Event struct {
	Id *string `json:"id,omitempty"`
	// The categories associated with the item
	Categories *[]string `json:"categories,omitempty"`
	// Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.
	ChangeKey *string `json:"changeKey,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true.
	AllowNewTimeProposals *bool `json:"allowNewTimeProposals,omitempty"`
	// The collection of attendees for the event.
	Attendees *[]Attendee `json:"attendees,omitempty"`
	// The body of the message associated with the event. It can be in HTML or text format.
	Body *ItemBody `json:"body,omitempty"`
	// The preview of the message associated with the event. It is in text format.
	BodyPreview *string `json:"bodyPreview,omitempty"`
	// The date, time, and time zone that the event ends. By default, the end time is in UTC.
	End *DateTimeTimeZone `json:"end,omitempty"`
	// Set to true if the event has attachments.
	HasAttachments *bool `json:"hasAttachments,omitempty"`
	// When set to true, each attendee only sees themselves in the meeting request and meeting Tracking list. Default is false.
	HideAttendees *bool `json:"hideAttendees,omitempty"`
	// A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
	ICalUId *string `json:"iCalUId,omitempty"`
	// The importance of the event. The possible values are: low, normal, high.
	Importance *Importance `json:"importance,omitempty"`
	// Set to true if the event lasts all day.
	IsAllDay *bool `json:"isAllDay,omitempty"`
	// Set to true if the event has been canceled.
	IsCancelled *bool `json:"isCancelled,omitempty"`
	// Set to true if the user has updated the meeting in Outlook but has not sent the updates to attendees. Set to false if all changes have been sent, or if the event is an appointment without any attendees.
	IsDraft *bool `json:"isDraft,omitempty"`
	// True if this event has online meeting information, false otherwise. Default is false. Optional.
	IsOnlineMeeting *bool `json:"isOnlineMeeting,omitempty"`
	// Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). This also applies if a delegate organized the event on behalf of the owner.
	IsOrganizer *bool `json:"isOrganizer,omitempty"`
	// Set to true if an alert is set to remind the user of the event.
	IsReminderOn *bool `json:"isReminderOn,omitempty"`
	// The location of the event.
	Location *Location `json:"location,omitempty"`
	// The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection would be removed and replaced by the new location value.
	Locations *[]Location `json:"locations,omitempty"`
	// Details for an attendee to join the meeting online. Read-only.
	OnlineMeeting *OnlineMeetingInfo `json:"onlineMeeting,omitempty"`
	// Represents the online meeting service provider. The possible values are teamsForBusiness, skypeForBusiness, and skypeForConsumer. Optional.
	OnlineMeetingProvider *OnlineMeetingProviderType `json:"onlineMeetingProvider,omitempty"`
	// A URL for an online meeting. The property is set only when an organizer specifies an event as an online meeting such as a Skype meeting. Read-only.
	OnlineMeetingUrl *string `json:"onlineMeetingUrl,omitempty"`
	// The organizer of the event.
	Organizer *Recipient `json:"organizer,omitempty"`
	// The end time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
	OriginalEndTimeZone *string `json:"originalEndTimeZone,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	OriginalStart *time.Time `json:"originalStart,omitempty"`
	// The start time zone that was set when the event was created. A value of tzone://Microsoft/Custom indicates that a legacy custom time zone was set in desktop Outlook.
	OriginalStartTimeZone *string `json:"originalStartTimeZone,omitempty"`
	// The recurrence pattern for the event.
	Recurrence *PatternedRecurrence `json:"recurrence,omitempty"`
	// The number of minutes before the event start time that the reminder alert occurs.
	ReminderMinutesBeforeStart *int `json:"reminderMinutesBeforeStart,omitempty"`
	// Default is true, which represents the organizer would like an invitee to send a response to the event.
	ResponseRequested *bool `json:"responseRequested,omitempty"`
	// Indicates the type of response sent in response to an event message.
	ResponseStatus *ResponseStatus `json:"responseStatus,omitempty"`
	// The possible values are: normal, personal, private, confidential.
	Sensitivity *Sensitivity `json:"sensitivity,omitempty"`
	// The ID for the recurring series master item, if this event is part of a recurring series.
	SeriesMasterId *string `json:"seriesMasterId,omitempty"`
	// The status to show. The possible values are: free, tentative, busy, oof, workingElsewhere, unknown.
	ShowAs *FreeBusyStatus `json:"showAs,omitempty"`
	// The date, time, and time zone that the event starts. By default, the start time is in UTC.
	Start *DateTimeTimeZone `json:"start,omitempty"`
	// The text of the event's subject line.
	Subject *string `json:"subject,omitempty"`
	// A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client's prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.
	TransactionId *string `json:"transactionId,omitempty"`
	// The event type. The possible values are: singleInstance, occurrence, exception, seriesMaster. Read-only.
	Type *EventType `json:"type,omitempty"`
	// The URL to open the event in Outlook on the web.Outlook on the web opens the event in the browser if you are signed in to your mailbox. Otherwise, Outlook on the web prompts you to sign in.This URL cannot be accessed from within an iFrame.
	WebLink *string `json:"webLink,omitempty"`
	// The collection of fileAttachment and itemAttachment attachments for the event. Navigation property. Read-only. Nullable.
	Attachments *[]Attachment `json:"attachments,omitempty"`
	// The calendar that contains the event. Navigation property. Read-only.
	Calendar *Calendar `json:"calendar,omitempty"`
	// The collection of open extensions defined for the event. Read-only. Nullable.
	Extensions *[]Extension `json:"extensions,omitempty"`
	// The instances of the event. Navigation property. Read-only. Nullable.
	Instances *[]Event `json:"instances,omitempty"`
	// The collection of multi-value extended properties defined for the event. Read-only. Nullable.
	MultiValueExtendedProperties *[]MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
	// The collection of single-value extended properties defined for the event. Read-only. Nullable.
	SingleValueExtendedProperties *[]SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}

type EventType

type EventType string

EventType the model 'EventType'

const (
	EventType_SINGLE_INSTANCE EventType = "singleInstance"
	EventType_OCCURRENCE      EventType = "occurrence"
	EventType_EXCEPTION       EventType = "exception"
	EventType_SERIES_MASTER   EventType = "seriesMaster"
)

List of microsoft.graph.eventType

func (*EventType) UnmarshalJSON

func (v *EventType) UnmarshalJSON(src []byte) error

type Extension

type Extension struct {
	Id *string `json:"id,omitempty"`
}

type ExtensionSchemaProperty

type ExtensionSchemaProperty struct {
	// The name of the strongly-typed property defined as part of a schema extension.
	Name *string `json:"name,omitempty"`
	// The type of the property that is defined as part of a schema extension.  Allowed values are Binary, Boolean, DateTime, Integer or String.  See the table below for more details.
	Type *string `json:"type,omitempty"`
}

ExtensionSchemaProperty struct for ExtensionSchemaProperty

type ExternalAudienceScope

type ExternalAudienceScope string
const (
	ExternalAudienceScope_NONE          ExternalAudienceScope = "none"
	ExternalAudienceScope_CONTACTS_ONLY ExternalAudienceScope = "contactsOnly"
	ExternalAudienceScope_ALL           ExternalAudienceScope = "all"
)

func (*ExternalAudienceScope) UnmarshalJSON

func (v *ExternalAudienceScope) UnmarshalJSON(src []byte) error

type FieldValueSet

type FieldValueSet struct {
	Id *string `json:"id,omitempty"`
}

type FreeBusyStatus

type FreeBusyStatus string
const (
	FreeBusyStatus_UNKNOWN           FreeBusyStatus = "unknown"
	FreeBusyStatus_FREE              FreeBusyStatus = "free"
	FreeBusyStatus_TENTATIVE         FreeBusyStatus = "tentative"
	FreeBusyStatus_BUSY              FreeBusyStatus = "busy"
	FreeBusyStatus_OOF               FreeBusyStatus = "oof"
	FreeBusyStatus_WORKING_ELSEWHERE FreeBusyStatus = "workingElsewhere"
)

func (*FreeBusyStatus) UnmarshalJSON

func (v *FreeBusyStatus) UnmarshalJSON(src []byte) error

type Group

type Group struct {
	// Read-only.
	Id              *string    `json:"id,omitempty"`
	DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
	// The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group. Returned only on $select.
	//AssignedLabels *[]AnyOfmicrosoftGraphAssignedLabel `json:"assignedLabels,omitempty"`
	// The licenses that are assigned to the group. Returned only on $select. Read-only.
	//AssignedLicenses *[]AnyOfmicrosoftGraphAssignedLicense `json:"assignedLicenses,omitempty"`
	// Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.
	Classification *string `json:"classification,omitempty"`
	// App ID of the app used to create the group. Can be null for some groups. Returned by default. Read-only. Supports $filter.
	CreatedByAppId *string `json:"createdByAppId,omitempty"`
	// Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// An optional description for the group. Returned by default.
	Description *string `json:"description,omitempty"`
	// The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby.
	DisplayName *string `json:"displayName,omitempty"`
	// Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// Specifies the group type and its membership.  If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static.  Returned by default. Supports $filter.
	GroupTypes *[]string `json:"groupTypes,omitempty"`
	// Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true).
	HasMembersWithLicenseErrors *bool `json:"hasMembersWithLicenseErrors,omitempty"`
	// Identifies the info segments assigned to the group. Returned by default.
	InfoCatalogs *[]string `json:"infoCatalogs,omitempty"`
	// Indicates whether this group can be assigned to an Azure Active Directory role or not.This property can only be set while creating the group and is immutable. Only Global Administrator and Privileged Role Administrator roles can set this property. For more information, see Using a group to manage Azure AD role assignmentsReturned by default.
	IsAssignableToRole *bool `json:"isAssignableToRole,omitempty"`
	// Indicates status of the group license assignment to all members of the group. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete. Returned only on $select. Read-only.
	//LicenseProcessingState NullableAnyOfmicrosoftGraphLicenseProcessingState `json:"licenseProcessingState,omitempty"`
	// The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter.
	Mail *string `json:"mail,omitempty"`
	// Specifies whether the group is mail-enabled. Returned by default.
	MailEnabled *bool `json:"mailEnabled,omitempty"`
	// The mail alias for the group, unique in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.<>,SPACE. Returned by default. Supports $filter.
	MailNickname *string `json:"mailNickname,omitempty"`
	MdmAppId     *string `json:"mdmAppId,omitempty"`
	// The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default.
	MembershipRule *string `json:"membershipRule,omitempty"`
	// Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default.
	MembershipRuleProcessingState *string `json:"membershipRuleProcessingState,omitempty"`
	// Contains the on-premises domain FQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
	OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
	// Indicates the last time at which the group was synced with the on-premises directory.The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only. Supports $filter.
	OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
	// Contains the on-premises netBios name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
	OnPremisesNetBiosName *string `json:"onPremisesNetBiosName,omitempty"`
	// Errors when using Microsoft synchronization product during provisioning. Returned by default.
	//OnPremisesProvisioningErrors *[]AnyOfmicrosoftGraphOnPremisesProvisioningError `json:"onPremisesProvisioningErrors,omitempty"`
	// Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.
	OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"`
	// Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.
	OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"`
	// true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter.
	OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"`
	// The preferred data location for the group. For more information, see  OneDrive Online Multi-Geo. Returned by default.
	PreferredDataLocation *string `json:"preferredDataLocation,omitempty"`
	// The preferred language for a Microsoft 365 group. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.
	PreferredLanguage *string `json:"preferredLanguage,omitempty"`
	// Email addresses for the group that direct to the same group mailbox. For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The any operator is required for filter expressions on multi-valued properties. Returned by default. Read-only. Not nullable. Supports $filter.
	ProxyAddresses *[]string `json:"proxyAddresses,omitempty"`
	// Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned by default. Read-only.
	RenewedDateTime *time.Time `json:"renewedDateTime,omitempty"`
	// Specifies the group behaviors that can be set for a Microsoft 365 group during creation. This can be set only as part of creation (POST). Possible values are AllowOnlyMembersToPost, HideGroupInOutlook, SubscribeNewGroupMembers, WelcomeEmailDisabled. For more information, see Set Microsoft 365 group behaviors and provisioning options.
	ResourceBehaviorOptions *[]string `json:"resourceBehaviorOptions,omitempty"`
	// Specifies the group resources that are provisioned as part of Microsoft 365 group creation, that are not normally part of default group creation. Possible value is Team. For more information, see Set Microsoft 365 group behaviors and provisioning options.
	ResourceProvisioningOptions *[]string `json:"resourceProvisioningOptions,omitempty"`
	// Specifies whether the group is a security group. Returned by default. Supports $filter.
	SecurityEnabled *bool `json:"securityEnabled,omitempty"`
	// Security identifier of the group, used in Windows scenarios. Returned by default.
	SecurityIdentifier *string `json:"securityIdentifier,omitempty"`
	// Specifies a Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.
	Theme *string `json:"theme,omitempty"`
	// Specifies the group join policy and group content visibility for groups. Possible values are: Private, Public, or Hiddenmembership. Hiddenmembership can be set only for Microsoft 365 groups, when the groups are created. It can't be updated later. Other values of visibility can be updated after group creation. If visibility value is not specified during group creation on Microsoft Graph, a security group is created as Private by default and Microsoft 365 group is Public. See group visibility options to learn more. Returned by default.
	Visibility *string `json:"visibility,omitempty"`
	//AccessType NullableAnyOfmicrosoftGraphGroupAccessType `json:"accessType,omitempty"`
	// Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	AllowExternalSenders *bool `json:"allowExternalSenders,omitempty"`
	// Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	AutoSubscribeNewMembers *bool `json:"autoSubscribeNewMembers,omitempty"`
	// true if the group is not displayed in certain parts of the Outlook user interface: in the Address Book, in address lists for selecting message recipients, and in the Browse Groups dialog for searching groups; false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	HideFromAddressLists *bool `json:"hideFromAddressLists,omitempty"`
	// true if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web, false otherwise. Default value is false. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	HideFromOutlookClients *bool `json:"hideFromOutlookClients,omitempty"`
	IsFavorite             *bool `json:"isFavorite,omitempty"`
	// Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	IsSubscribedByMail *bool `json:"isSubscribedByMail,omitempty"`
	// Count of conversations that have been delivered one or more new posts since the signed-in user's last visit to the group. This property is the same as unseenCount. Returned only on $select.
	UnseenConversationsCount *int `json:"unseenConversationsCount,omitempty"`
	// Count of conversations that have received new posts since the signed-in user last visited the group. This property is the same as unseenConversationsCount.Returned only on $select. Supported only on the Get group API (GET /groups/{ID}).
	UnseenCount *int `json:"unseenCount,omitempty"`
	// Count of new posts that have been delivered to the group's conversations since the signed-in user's last visit to the group. Returned only on $select.
	UnseenMessagesCount *int `json:"unseenMessagesCount,omitempty"`
	// Describes the processing status for rules-based dynamic groups. The property is null for non-rule based dynamic groups or if the dynamic group processing has been paused. Returned only on $select. Supports $filter. Read-only.
	//MembershipRuleProcessingStatus NullableAnyOfmicrosoftGraphMembershipRuleProcessingStatus `json:"membershipRuleProcessingStatus,omitempty"`
	IsArchived *bool `json:"isArchived,omitempty"`
}

Group struct for MicrosoftGraphGroup

type Identity

type Identity struct {
	// The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
	DisplayName *string `json:"displayName,omitempty"`
	// Unique identifier for the identity.
	Id *string `json:"id,omitempty"`
}

Identity struct for Identity

type IdentitySet

type IdentitySet struct {
	// Optional. The application associated with this action.
	Application *Identity `json:"application,omitempty"`
	// Optional. The device associated with this action.
	Device *Identity `json:"device,omitempty"`
	// Optional. The user associated with this action.
	User *Identity `json:"user,omitempty"`
}

type Importance

type Importance string
const (
	Importance_LOW    Importance = "low"
	Importance_NORMAL Importance = "normal"
	Importance_HIGH   Importance = "high"
)

func (*Importance) UnmarshalJSON

func (v *Importance) UnmarshalJSON(src []byte) error

type IncompleteData

type IncompleteData struct {
	// The service does not have source data before the specified time.
	MissingDataBeforeDateTime *time.Time `json:"missingDataBeforeDateTime,omitempty"`
	// Some data was not recorded due to excessive activity.
	WasThrottled *bool `json:"wasThrottled,omitempty"`
}

type InferenceClassification

type InferenceClassification struct {
	Id *string `json:"id,omitempty"`
	// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.
	Overrides *[]InferenceClassificationOverride `json:"overrides,omitempty"`
}

type InferenceClassificationOverride

type InferenceClassificationOverride struct {
	Id *string `json:"id,omitempty"`
	// Specifies how incoming messages from a specific sender should always be classified as. The possible values are: focused, other.
	ClassifyAs *InferenceClassificationType `json:"classifyAs,omitempty"`
	// The email address information of the sender for whom the override is created.
	SenderEmailAddress *EmailAddress `json:"senderEmailAddress,omitempty"`
}

type InferenceClassificationType

type InferenceClassificationType string
const (
	InferenceClassificationType_FOCUSED InferenceClassificationType = "focused"
	InferenceClassificationType_OTHER   InferenceClassificationType = "other"
)

func (*InferenceClassificationType) UnmarshalJSON

func (v *InferenceClassificationType) UnmarshalJSON(src []byte) error

type InformationProtection

type InformationProtection struct {
	Bitlocker                  *Bitlocker                   `json:"bitlocker,omitempty"`
	DataLossPreventionPolicies *[]DataLossPreventionPolicy  `json:"dataLossPreventionPolicies,omitempty"`
	SensitivityLabels          *[]SensitivityLabel          `json:"sensitivityLabels,omitempty"`
	SensitivityPolicySettings  *SensitivityPolicySettings   `json:"sensitivityPolicySettings,omitempty"`
	Policy                     *InformationProtectionPolicy `json:"policy,omitempty"`
	ThreatAssessmentRequests   *[]ThreatAssessmentRequest   `json:"threatAssessmentRequests,omitempty"`
}

type InformationProtectionLabel

type InformationProtectionLabel struct {
	// The color that the UI should display for the label, if configured.
	Color *string `json:"color,omitempty"`
	// The admin-defined description for the label.
	Description *string `json:"description,omitempty"`
	// Indicates whether the label is active or not. Active labels should be hidden or disabled in UI.
	IsActive *bool `json:"isActive,omitempty"`
	// The plaintext name of the label.
	Name   *string             `json:"name,omitempty"`
	Parent *ParentLabelDetails `json:"parent,omitempty"`
	// The sensitivity value of the label, where lower is less sensitive.
	Sensitivity *int32 `json:"sensitivity,omitempty"`
	// The tooltip that should be displayed for the label in a UI.
	Tooltip *string `json:"tooltip,omitempty"`
}

type InformationProtectionPolicy

type InformationProtectionPolicy struct {
	Labels *[]InformationProtectionLabel `json:"labels,omitempty"`
}

type ItemActionStat

type ItemActionStat struct {
	// The number of times the action took place. Read-only.
	ActionCount *int `json:"actionCount,omitempty"`
	// The number of distinct actors that performed the action. Read-only.
	ActorCount *int `json:"actorCount,omitempty"`
}

type ItemActivity

type ItemActivity struct {
	Id *string `json:"id,omitempty"`
	// An item was accessed.
	Access *interface{} `json:"access,omitempty"`
	// Details about when the activity took place. Read-only.
	ActivityDateTime *time.Time `json:"activityDateTime,omitempty"`
	// Identity of who performed the action. Read-only.
	Actor *IdentitySet `json:"actor,omitempty"`
	// Exposes the driveItem that was the target of this activity.
	DriveItem *DriveItem `json:"driveItem,omitempty"`
}

type ItemActivityStat

type ItemActivityStat struct {
	Id *string `json:"id,omitempty"`
	// Statistics about the access actions in this interval. Read-only.
	Access *ItemActionStat `json:"access,omitempty"`
	// Statistics about the create actions in this interval. Read-only.
	Create *ItemActionStat `json:"create,omitempty"`
	// Statistics about the delete actions in this interval. Read-only.
	Delete *ItemActionStat `json:"delete,omitempty"`
	// Statistics about the edit actions in this interval. Read-only.
	Edit *ItemActionStat `json:"edit,omitempty"`
	// When the interval ends. Read-only.
	EndDateTime *time.Time `json:"endDateTime,omitempty"`
	// Indicates that the statistics in this interval are based on incomplete data. Read-only.
	IncompleteData *IncompleteData `json:"incompleteData,omitempty"`
	// Indicates whether the item is 'trending.' Read-only.
	IsTrending *bool `json:"isTrending,omitempty"`
	// Statistics about the move actions in this interval. Read-only.
	Move *ItemActionStat `json:"move,omitempty"`
	// When the interval starts. Read-only.
	StartDateTime *time.Time `json:"startDateTime,omitempty"`
	// Exposes the itemActivities represented in this itemActivityStat resource.
	Activities *[]ItemActivity `json:"activities,omitempty"`
}

type ItemAnalytics

type ItemAnalytics struct {
	Id                *string             `json:"id,omitempty"`
	AllTime           *ItemActivityStat   `json:"allTime,omitempty"`
	ItemActivityStats *[]ItemActivityStat `json:"itemActivityStats,omitempty"`
	LastSevenDays     *ItemActivityStat   `json:"lastSevenDays,omitempty"`
}

type ItemBody

type ItemBody struct {
	// The content of the item.
	Content *string `json:"content,omitempty"`
	// The type of the content. Possible values are text and html.
	ContentType *BodyType `json:"contentType,omitempty"`
}

type ItemReference

type ItemReference struct {
	// Unique identifier of the drive instance that contains the item. Read-only.
	DriveId *string `json:"driveId,omitempty"`
	// Identifies the type of drive. See [drive][] resource for values.
	DriveType *string `json:"driveType,omitempty"`
	// Unique identifier of the item in the drive. Read-only.
	Id *string `json:"id,omitempty"`
	// The name of the item being referenced. Read-only.
	Name *string `json:"name,omitempty"`
	// Path that can be used to navigate to the item. Read-only.
	Path *string `json:"path,omitempty"`
	// A unique identifier for a shared resource that can be accessed via the [Shares][] API.
	ShareId *string `json:"shareId,omitempty"`
	// Returns identifiers useful for SharePoint REST compatibility. Read-only.
	SharepointIds *SharepointIds `json:"sharepointIds,omitempty"`
	// For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated.
	SiteId *string `json:"siteId,omitempty"`
}

type LabelActionBase

type LabelActionBase struct {
	Name *string `json:"name,omitempty"`
}

type LabelPolicy

type LabelPolicy struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

type LicenseAssignmentState

type LicenseAssignmentState struct {
	// The id of the group that assigns this license. If the assignment is a direct-assigned license, this field will be Null. Read-Only.
	AssignedByGroup *string `json:"assignedByGroup,omitempty"`
	// The service plans that are disabled in this assignment. Read-Only.
	DisabledPlans *[]string `json:"disabledPlans,omitempty"`
	// License assignment failure error. If the license is assigned successfully, this field will be Null. Read-Only. Possible values: CountViolation, MutuallyExclusiveViolation, DependencyViolation, ProhibitedInUsageLocationViolation, UniquenessViolation, and Others. For more information on how to identify and resolve license assignment errors see here.
	Error *string `json:"error,omitempty"`
	// The unique identifier for the SKU. Read-Only.
	SkuId *string `json:"skuId,omitempty"`
	// Indicate the current state of this assignment. Read-Only. Possible values: Active, ActiveWithError, Disabled and Error.
	State *string `json:"state,omitempty"`
}

type LicenseDetails

type LicenseDetails struct {
	Id *string `json:"id,omitempty"`
	// Information about the service plans assigned with the license. Read-only, Not nullable
	ServicePlans *[]ServicePlanInfo `json:"servicePlans,omitempty"`
	// Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only
	SkuId *string `json:"skuId,omitempty"`
	// Unique SKU display name. Equal to the skuPartNumber on the related SubscribedSku object; for example: 'AAD_Premium'. Read-only
	SkuPartNumber *string `json:"skuPartNumber,omitempty"`
}

type List

type List struct {
	Id *string `json:"id,omitempty"`
	// Identity of the user, device, or application which created the item. Read-only.
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag *string `json:"eTag,omitempty"`
	// Identity of the user, device, and application which last modified the item. Read-only.
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name *string `json:"name,omitempty"`
	// Parent information, if the item has a parent. Read-write.
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,omitempty"`
	// Identity of the user who created the item. Read-only.
	CreatedByUser *User `json:"createdByUser,omitempty"`
	// Identity of the user who last modified the item. Read-only.
	LastModifiedByUser *User `json:"lastModifiedByUser,omitempty"`
	// The displayable title of the list.
	DisplayName *string `json:"displayName,omitempty"`
	// Provides additional details about the list.
	List *ListInfo `json:"list,omitempty"`
	// Returns identifiers useful for SharePoint REST compatibility. Read-only.
	SharepointIds *SharepointIds `json:"sharepointIds,omitempty"`
	// If present, indicates that this is a system-managed list. Read-only.
	System *interface{} `json:"system,omitempty"`
	// The collection of field definitions for this list.
	Columns *[]ColumnDefinition `json:"columns,omitempty"`
	// The collection of content types present in this list.
	ContentTypes *[]ContentType `json:"contentTypes,omitempty"`
	// Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem].
	Drive *Drive `json:"drive,omitempty"`
	// All items contained in the list.
	Items *[]ListItem `json:"items,omitempty"`
	// The set of subscriptions on the list.
	Subscriptions *[]Subscription `json:"subscriptions,omitempty"`
}

type ListInfo

type ListInfo struct {
	// If true, indicates that content types are enabled for this list.
	ContentTypesEnabled *bool `json:"contentTypesEnabled,omitempty"`
	// If true, indicates that the list is not normally visible in the SharePoint user experience.
	Hidden *bool `json:"hidden,omitempty"`
	// An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more.
	Template *string `json:"template,omitempty"`
}

ListInfo struct for ListInfo

type ListItem

type ListItem struct {
	Id *string `json:"id,omitempty"`
	// Identity of the user, device, or application which created the item. Read-only.
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag *string `json:"eTag,omitempty"`
	// Identity of the user, device, and application which last modified the item. Read-only.
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name *string `json:"name,omitempty"`
	// Parent information, if the item has a parent. Read-write.
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,omitempty"`
	// Identity of the user who created the item. Read-only.
	CreatedByUser *User `json:"createdByUser,omitempty"`
	// Identity of the user who last modified the item. Read-only.
	LastModifiedByUser *User `json:"lastModifiedByUser,omitempty"`
	// The content type of this list item
	ContentType *ContentTypeInfo `json:"contentType,omitempty"`
	// Returns identifiers useful for SharePoint REST compatibility. Read-only.
	SharepointIds *SharepointIds `json:"sharepointIds,omitempty"`
	// Analytics about the view activities that took place on this item.
	Analytics *ItemAnalytics `json:"analytics,omitempty"`
	// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][]
	DriveItem *DriveItem `json:"driveItem,omitempty"`
	// The values of the columns set on this list item.
	Fields *FieldValueSet `json:"fields,omitempty"`
	// The list of previous versions of the list item.
	Versions *[]ListItemVersion `json:"versions,omitempty"`
}

type ListItemVersion

type ListItemVersion struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// Identity of the user which last modified the version. Read-only.
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the version was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// Indicates the publication status of this particular version. Read-only.
	Publication *PublicationFacet `json:"publication,omitempty"`
	// A collection of the fields and values for this version of the list item.
	Fields *FieldValueSet `json:"fields,omitempty"`
}

type ListOptions

type ListOptions struct {
	// The $count and $search parameters are currently not available in Azure AD B2C tenants.
	//Search string `url:"$search,omitempty"`
	//Count  bool   `url:"$count,omitempty"`
	Filter   string `url:"$filter,omitempty"`
	Select   string `url:"$select,omitempty"`
	Top      int    `url:"$top,omitempty"`
	NextLink string `url:"-"`
}

type LocaleInfo

type LocaleInfo struct {
	// A name representing the user's locale in natural language, for example, 'English (United States)'.
	DisplayName *string `json:"displayName,omitempty"`
	// A locale representation for the user, which includes the user's preferred language and country/region. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2.
	Locale *string `json:"locale,omitempty"`
}

type Location

type Location struct {
	// The street address of the location.
	Address *PhysicalAddress `json:"address,omitempty"`
	// The geographic coordinates and elevation of the location.
	Coordinates *OutlookGeoCoordinates `json:"coordinates,omitempty"`
	// The name associated with the location.
	DisplayName *string `json:"displayName,omitempty"`
	// Optional email address of the location.
	LocationEmailAddress *string `json:"locationEmailAddress,omitempty"`
	// The type of location. The possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only.
	LocationType *LocationType `json:"locationType,omitempty"`
	// Optional URI representing the location.
	LocationUri *string `json:"locationUri,omitempty"`
	// For internal use only.
	UniqueId *string `json:"uniqueId,omitempty"`
	// For internal use only.
	UniqueIdType *LocationUniqueIdType `json:"uniqueIdType,omitempty"`
}

type LocationType

type LocationType string
const (
	LocationType_DEFAULT          LocationType = "default"
	LocationType_CONFERENCE_ROOM  LocationType = "conferenceRoom"
	LocationType_HOME_ADDRESS     LocationType = "homeAddress"
	LocationType_BUSINESS_ADDRESS LocationType = "businessAddress"
	LocationType_GEO_COORDINATES  LocationType = "geoCoordinates"
	LocationType_STREET_ADDRESS   LocationType = "streetAddress"
	LocationType_HOTEL            LocationType = "hotel"
	LocationType_RESTAURANT       LocationType = "restaurant"
	LocationType_LOCAL_BUSINESS   LocationType = "localBusiness"
	LocationType_POSTAL_ADDRESS   LocationType = "postalAddress"
)

func (*LocationType) UnmarshalJSON

func (v *LocationType) UnmarshalJSON(src []byte) error

type LocationUniqueIdType

type LocationUniqueIdType string
const (
	LocationUniqueIdType_UNKNOWN        LocationUniqueIdType = "unknown"
	LocationUniqueIdType_LOCATION_STORE LocationUniqueIdType = "locationStore"
	LocationUniqueIdType_DIRECTORY      LocationUniqueIdType = "directory"
	LocationUniqueIdType_PRIVATE        LocationUniqueIdType = "private"
	LocationUniqueIdType_BING           LocationUniqueIdType = "bing"
)

func (*LocationUniqueIdType) UnmarshalJSON

func (v *LocationUniqueIdType) UnmarshalJSON(src []byte) error

type LookupColumn

type LookupColumn struct {
	// Indicates whether multiple values can be selected from the source.
	AllowMultipleValues *bool `json:"allowMultipleValues,omitempty"`
	// Indicates whether values in the column should be able to exceed the standard limit of 255 characters.
	AllowUnlimitedLength *bool `json:"allowUnlimitedLength,omitempty"`
	// The name of the lookup source column.
	ColumnName *string `json:"columnName,omitempty"`
	// The unique identifier of the lookup source list.
	ListId *string `json:"listId,omitempty"`
	// If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here.
	PrimaryLookupColumnId *string `json:"primaryLookupColumnId,omitempty"`
}

type MailFolder

type MailFolder struct {
	Id *string `json:"id,omitempty"`
	// The number of immediate child mailFolders in the current mailFolder.
	ChildFolderCount *int `json:"childFolderCount,omitempty"`
	// The mailFolder's display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The unique identifier for the mailFolder's parent mailFolder.
	ParentFolderId *string `json:"parentFolderId,omitempty"`
	// The number of items in the mailFolder.
	TotalItemCount *int `json:"totalItemCount,omitempty"`
	// The number of items in the mailFolder marked as unread.
	UnreadItemCount *int `json:"unreadItemCount,omitempty"`
	// The collection of child folders in the mailFolder.
	ChildFolders *[]MailFolder `json:"childFolders,omitempty"`
	// The collection of rules that apply to the user's Inbox folder.
	MessageRules *[]MessageRule `json:"messageRules,omitempty"`
	// The collection of messages in the mailFolder.
	Messages *[]Message `json:"messages,omitempty"`
	// The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
	MultiValueExtendedProperties *[]MultiValueLegacyExtendedProperty `json:"multiValueExtendedProperties,omitempty"`
	// The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
	SingleValueExtendedProperties *[]SingleValueLegacyExtendedProperty `json:"singleValueExtendedProperties,omitempty"`
}

type MailboxRecipientType

type MailboxRecipientType string
const (
	MAILBOXRECIPIENTTYPE_UNKNOWN   MailboxRecipientType = "unknown"
	MAILBOXRECIPIENTTYPE_USER      MailboxRecipientType = "user"
	MAILBOXRECIPIENTTYPE_LINKED    MailboxRecipientType = "linked"
	MAILBOXRECIPIENTTYPE_SHARED    MailboxRecipientType = "shared"
	MAILBOXRECIPIENTTYPE_ROOM      MailboxRecipientType = "room"
	MAILBOXRECIPIENTTYPE_EQUIPMENT MailboxRecipientType = "equipment"
	MAILBOXRECIPIENTTYPE_OTHERS    MailboxRecipientType = "others"
)

func (*MailboxRecipientType) UnmarshalJSON

func (v *MailboxRecipientType) UnmarshalJSON(src []byte) error

type MailboxSettings

type MailboxSettings struct {
	// Folder ID of an archive folder for the user.
	ArchiveFolder *string `json:"archiveFolder,omitempty"`
	// Configuration settings to automatically notify the sender of an incoming email with a message from the signed-in user.
	AutomaticRepliesSetting *AutomaticRepliesSetting `json:"automaticRepliesSetting,omitempty"`
	// The date format for the user's mailbox.
	DateFormat *string `json:"dateFormat,omitempty"`
	// If the user has a calendar delegate, this specifies whether the delegate, mailbox owner, or both receive meeting messages and meeting responses. Possible values are: sendToDelegateAndInformationToPrincipal, sendToDelegateAndPrincipal, sendToDelegateOnly.
	DelegateMeetingMessageDeliveryOptions *DelegateMeetingMessageDeliveryOptions `json:"delegateMeetingMessageDeliveryOptions,omitempty"`
	// The locale information for the user, including the preferred language and country/region.
	Language *LocaleInfo `json:"language,omitempty"`
	// The time format for the user's mailbox.
	TimeFormat *string `json:"timeFormat,omitempty"`
	// The default time zone for the user's mailbox.
	TimeZone *string `json:"timeZone,omitempty"`
	// The purpose of the mailbox. Used to differentiate a mailbox for a single user from a shared mailbox and equipment mailbox in Exchange Online. Read only.
	UserPurpose   *UserPurpose          `json:"userPurpose,omitempty"`
	UserPurposeV2 *MailboxRecipientType `json:"userPurposeV2,omitempty"`
	// The days of the week and hours in a specific time zone that the user works.
	WorkingHours *WorkingHours `json:"workingHours,omitempty"`
}

type Message

type Message struct {
	Id *string `json:"id,omitempty"`
}

type MessageActionFlag

type MessageActionFlag string
const (
	MessageActionFlag_ANY                   MessageActionFlag = "any"
	MessageActionFlag_CALL                  MessageActionFlag = "call"
	MessageActionFlag_DO_NOT_FORWARD        MessageActionFlag = "doNotForward"
	MessageActionFlag_FOLLOW_UP             MessageActionFlag = "followUp"
	MessageActionFlag_FYI                   MessageActionFlag = "fyi"
	MessageActionFlag_FORWARD               MessageActionFlag = "forward"
	MessageActionFlag_NO_RESPONSE_NECESSARY MessageActionFlag = "noResponseNecessary"
	MessageActionFlag_READ                  MessageActionFlag = "read"
	MessageActionFlag_REPLY                 MessageActionFlag = "reply"
	MessageActionFlag_REPLY_TO_ALL          MessageActionFlag = "replyToAll"
	MessageActionFlag_REVIEW                MessageActionFlag = "review"
)

func (*MessageActionFlag) UnmarshalJSON

func (v *MessageActionFlag) UnmarshalJSON(src []byte) error

type MessageRule

type MessageRule struct {
	Id *string `json:"id,omitempty"`
	// Actions to be taken on a message when the corresponding conditions are fulfilled.
	Actions *MessageRuleActions `json:"actions,omitempty"`
	// Conditions that when fulfilled, will trigger the corresponding actions for that rule.
	Conditions *MessageRulePredicates `json:"conditions,omitempty"`
	// The display name of the rule.
	DisplayName *string `json:"displayName,omitempty"`
	// Exception conditions for the rule.
	Exceptions *MessageRulePredicates `json:"exceptions,omitempty"`
	// Indicates whether the rule is in an error condition. Read-only.
	HasError *bool `json:"hasError,omitempty"`
	// Indicates whether the rule is enabled to be applied to messages.
	IsEnabled *bool `json:"isEnabled,omitempty"`
	// Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.
	IsReadOnly *bool `json:"isReadOnly,omitempty"`
	// Indicates the order in which the rule is executed, among other rules.
	Sequence *int `json:"sequence,omitempty"`
}

type MessageRuleActions

type MessageRuleActions struct {
	// A list of categories to be assigned to a message.
	AssignCategories *[]string `json:"assignCategories,omitempty"`
	// The ID of a folder that a message is to be copied to.
	CopyToFolder *string `json:"copyToFolder,omitempty"`
	// Indicates whether a message should be moved to the Deleted Items folder.
	Delete *bool `json:"delete,omitempty"`
	// The email addresses of the recipients to which a message should be forwarded as an attachment.
	ForwardAsAttachmentTo *[]Recipient `json:"forwardAsAttachmentTo,omitempty"`
	// The email addresses of the recipients to which a message should be forwarded.
	ForwardTo *[]Recipient `json:"forwardTo,omitempty"`
	// Indicates whether a message should be marked as read.
	MarkAsRead *bool `json:"markAsRead,omitempty"`
	// Sets the importance of the message, which can be: low, normal, high.
	MarkImportance *Importance `json:"markImportance,omitempty"`
	// The ID of the folder that a message will be moved to.
	MoveToFolder *string `json:"moveToFolder,omitempty"`
	// Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
	PermanentDelete *bool `json:"permanentDelete,omitempty"`
	// The email addresses to which a message should be redirected.
	RedirectTo *[]Recipient `json:"redirectTo,omitempty"`
	// Indicates whether subsequent rules should be evaluated.
	StopProcessingRules *bool `json:"stopProcessingRules,omitempty"`
}

type MessageRulePredicates

type MessageRulePredicates struct {
	// Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
	BodyContains *[]string `json:"bodyContains,omitempty"`
	// Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
	BodyOrSubjectContains *[]string `json:"bodyOrSubjectContains,omitempty"`
	// Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
	Categories *[]string `json:"categories,omitempty"`
	// Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
	FromAddresses *[]Recipient `json:"fromAddresses,omitempty"`
	// Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
	HasAttachments *bool `json:"hasAttachments,omitempty"`
	// Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
	HeaderContains *[]string `json:"headerContains,omitempty"`
	// The importance that is stamped on an incoming message in order for the condition or exception to apply: low, normal, high.
	Importance *Importance `json:"importance,omitempty"`
	// Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
	IsApprovalRequest *bool `json:"isApprovalRequest,omitempty"`
	// Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
	IsAutomaticForward *bool `json:"isAutomaticForward,omitempty"`
	// Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
	IsAutomaticReply *bool `json:"isAutomaticReply,omitempty"`
	// Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
	IsEncrypted *bool `json:"isEncrypted,omitempty"`
	// Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
	IsMeetingRequest *bool `json:"isMeetingRequest,omitempty"`
	// Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
	IsMeetingResponse *bool `json:"isMeetingResponse,omitempty"`
	// Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
	IsNonDeliveryReport *bool `json:"isNonDeliveryReport,omitempty"`
	// Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
	IsPermissionControlled *bool `json:"isPermissionControlled,omitempty"`
	// Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
	IsReadReceipt *bool `json:"isReadReceipt,omitempty"`
	// Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
	IsSigned *bool `json:"isSigned,omitempty"`
	// Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
	IsVoicemail *bool `json:"isVoicemail,omitempty"`
	// Represents the flag-for-action value that appears on an incoming message in order for the condition or exception to apply. The possible values are: any, call, doNotForward, followUp, fyi, forward, noResponseNecessary, read, reply, replyToAll, review.
	MessageActionFlag *MessageActionFlag `json:"messageActionFlag,omitempty"`
	// Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply.
	NotSentToMe *bool `json:"notSentToMe,omitempty"`
	// Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply.
	RecipientContains *[]string `json:"recipientContains,omitempty"`
	// Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
	SenderContains *[]string `json:"senderContains,omitempty"`
	// Represents the sensitivity level that must be stamped on an incoming message in order for the condition or exception to apply. The possible values are: normal, personal, private, confidential.
	Sensitivity *Sensitivity `json:"sensitivity,omitempty"`
	// Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply.
	SentCcMe *bool `json:"sentCcMe,omitempty"`
	// Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply.
	SentOnlyToMe *bool `json:"sentOnlyToMe,omitempty"`
	// Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
	SentToAddresses *[]Recipient `json:"sentToAddresses,omitempty"`
	// Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply.
	SentToMe *bool `json:"sentToMe,omitempty"`
	// Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply.
	SentToOrCcMe *bool `json:"sentToOrCcMe,omitempty"`
	// Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
	SubjectContains *[]string `json:"subjectContains,omitempty"`
	// Represents the minimum and maximum sizes (in kilobytes) that an incoming message must fall in between in order for the condition or exception to apply.
	WithinSizeRange *SizeRange `json:"withinSizeRange,omitempty"`
}

MessageRulePredicates struct for MessageRulePredicates

type MicrosoftGraphAccessReviewInstanceDecisionItem

type MicrosoftGraphAccessReviewInstanceDecisionItem struct {
	Id *string `json:"id,omitempty"`
	// The identifier of the accessReviewInstance parent.
	AccessReviewId *string `json:"accessReviewId,omitempty"`
	// The identifier of the user who applied the decision.
	AppliedBy *UserIdentity `json:"appliedBy,omitempty"`
	// The timestamp when the approval decision was applied. The DatetimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	AppliedDateTime *time.Time `json:"appliedDateTime,omitempty"`
	// The result of applying the decision. Possible values: NotApplied, Success, Failed, NotFound, or NotSupported.
	ApplyResult *string `json:"applyResult,omitempty"`
	// Result of the review. Possible values: Approve, Deny, NotReviewed, or DontKnow.
	Decision *string `json:"decision,omitempty"`
	// The review decision justification.
	Justification *string `json:"justification,omitempty"`
	// Every decision item in an access review represents a principal's access to a resource. This property represents details of the principal. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is 'Bob' and the resource is 'Sales'. Principals can be of two types - userIdentity and servicePrincipalIdentity.
	Principal     *Identity `json:"principal,omitempty"`
	PrincipalLink *string   `json:"principalLink,omitempty"`
	// A system-generated recommendation for the approval decision. Possible values: Approve, Deny, or NotAvailable.
	Recommendation *string `json:"recommendation,omitempty"`
	// Every decision item in an access review represents a principal's access to a resource. This property represents details of the resource. For example, if a decision item represents access of User 'Bob' to Group 'Sales' - The principal is Bob and the resource is 'Sales'. Resources can be of multiple types. See accessReviewInstanceDecisionItemResource
	Resource     *AccessReviewInstanceDecisionItemResource `json:"resource,omitempty"`
	ResourceLink *string                                   `json:"resourceLink,omitempty"`
	// The identifier of the reviewer.
	ReviewedBy *UserIdentity `json:"reviewedBy,omitempty"`
	// The timestamp when the review occurred.
	ReviewedDateTime *time.Time `json:"reviewedDateTime,omitempty"`
	// The target of this specific decision. Decision targets can be of different types – each one with its own specific properties. See accessReviewInstanceDecisionItemTarget.
	Target *interface{} `json:"target,omitempty"`
}

type MultiValueLegacyExtendedProperty

type MultiValueLegacyExtendedProperty struct {
	Id *string `json:"id,omitempty"`
	// A collection of property values.
	Value *[]string `json:"value,omitempty"`
}

type NumberColumn

type NumberColumn struct {
	// How many decimal places to display. See below for information about the possible values.
	DecimalPlaces *string `json:"decimalPlaces,omitempty"`
	// How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number.
	DisplayAs *string `json:"displayAs,omitempty"`
	// The maximum permitted value.
	Maximum *int `json:"maximum,omitempty"`
	// The minimum permitted value.
	Minimum *int `json:"minimum,omitempty"`
}

type OAuth2PermissionGrant

type OAuth2PermissionGrant struct {
	Id *string `json:"id,omitempty"`
	// The id of the client service principal for the application which is authorized to act on behalf of a signed-in user when accessing an API. Required. Supports $filter (eq only).
	ClientId *string `json:"clientId,omitempty"`
	// Indicates if authorization is granted for the client application to impersonate all users or only a specific user. AllPrincipals indicates authorization to impersonate all users. Principal indicates authorization to impersonate a specific user. Consent on behalf of all users can be granted by an administrator. Non-admin users may be authorized to consent on behalf of themselves in some cases, for some delegated permissions. Required. Supports $filter (eq only).
	ConsentType *string `json:"consentType,omitempty"`
	// Currently, the end time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required.
	ExpiryTime *time.Time `json:"expiryTime,omitempty"`
	// The id of the user on behalf of whom the client is authorized to access the resource, when consentType is Principal. If consentType is AllPrincipals this value is null. Required when consentType is Principal.
	PrincipalId *string `json:"principalId,omitempty"`
	// The id of the resource service principal to which access is authorized. This identifies the API which the client is authorized to attempt to call on behalf of a signed-in user.
	ResourceId *string `json:"resourceId,omitempty"`
	// A space-separated list of the claim values for delegated permissions which should be included in access tokens for the resource application (the API). For example, openid User.Read GroupMember.Read.All. Each claim value should match the value field of one of the delegated permissions defined by the API, listed in the publishedPermissionScopes property of the resource service principal.
	Scope *string `json:"scope,omitempty"`
	// Currently, the start time value is ignored, but a value is required when creating an oAuth2PermissionGrant. Required.
	StartTime *time.Time `json:"startTime,omitempty"`
}

type OData

type OData struct {
	Context  *string `json:"@odata.context,omitempty"`
	ID       *string `json:"@odata.id,omitempty"`
	Count    *int    `json:"@odata.count,omitempty"`
	NextLink *string `json:"@odata.nextLink,omitempty"`
}

type ObjectIdentity

type ObjectIdentity struct {
	// Specifies the issuer of the identity, for example facebook.com.For local accounts (where signInType is not federated), this property is the local B2C tenant default domain name, for example contoso.onmicrosoft.com.For external users from other Azure AD organization, this will be the domain of the federated organization, for example contoso.com.Supports $filter. 512 character limit.
	Issuer *string `json:"issuer,omitempty"`
	// Specifies the unique identifier assigned to the user by the issuer. The combination of issuer and issuerAssignedId must be unique within the organization. Represents the sign-in name for the user, when signInType is set to emailAddress or userName (also known as local accounts).When signInType is set to: emailAddress, (or starts with emailAddress like emailAddress1) issuerAssignedId must be a valid email addressuserName, issuerAssignedId must be a valid local part of an email addressSupports $filter. 512 character limit.
	IssuerAssignedId *string `json:"issuerAssignedId,omitempty"`
	// Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can also be set to any custom string.
	SignInType *string `json:"signInType,omitempty"`
}

ObjectIdentity struct for ObjectIdentity

type OnPremisesExtensionAttributes

type OnPremisesExtensionAttributes struct {
	// First customizable extension attribute.
	ExtensionAttribute1 *string `json:"extensionAttribute1,omitempty"`
	// Tenth customizable extension attribute.
	ExtensionAttribute10 *string `json:"extensionAttribute10,omitempty"`
	// Eleventh customizable extension attribute.
	ExtensionAttribute11 *string `json:"extensionAttribute11,omitempty"`
	// Twelfth customizable extension attribute.
	ExtensionAttribute12 *string `json:"extensionAttribute12,omitempty"`
	// Thirteenth customizable extension attribute.
	ExtensionAttribute13 *string `json:"extensionAttribute13,omitempty"`
	// Fourteenth customizable extension attribute.
	ExtensionAttribute14 *string `json:"extensionAttribute14,omitempty"`
	// Fifteenth customizable extension attribute.
	ExtensionAttribute15 *string `json:"extensionAttribute15,omitempty"`
	// Second customizable extension attribute.
	ExtensionAttribute2 *string `json:"extensionAttribute2,omitempty"`
	// Third customizable extension attribute.
	ExtensionAttribute3 *string `json:"extensionAttribute3,omitempty"`
	// Fourth customizable extension attribute.
	ExtensionAttribute4 *string `json:"extensionAttribute4,omitempty"`
	// Fifth customizable extension attribute.
	ExtensionAttribute5 *string `json:"extensionAttribute5,omitempty"`
	// Sixth customizable extension attribute.
	ExtensionAttribute6 *string `json:"extensionAttribute6,omitempty"`
	// Seventh customizable extension attribute.
	ExtensionAttribute7 *string `json:"extensionAttribute7,omitempty"`
	// Eighth customizable extension attribute.
	ExtensionAttribute8 *string `json:"extensionAttribute8,omitempty"`
	// Ninth customizable extension attribute.
	ExtensionAttribute9 *string `json:"extensionAttribute9,omitempty"`
}

type OnPremisesProvisioningError

type OnPremisesProvisioningError struct {
	// Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.
	Category *string `json:"category,omitempty"`
	// The date and time at which the error occurred.
	OccurredDateTime *time.Time `json:"occurredDateTime,omitempty"`
	// Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress
	PropertyCausingError *string `json:"propertyCausingError,omitempty"`
	// Value of the property causing the error.
	Value *string `json:"value,omitempty"`
}

type Onenote

type Onenote struct {
	Id *string `json:"id,omitempty"`
}

type OnlineMeetingInfo

type OnlineMeetingInfo struct {
	// The ID of the conference.
	ConferenceId *string `json:"conferenceId,omitempty"`
	// The external link that launches the online meeting. This is a URL that clients will launch into a browser and will redirect the user to join the meeting.
	JoinUrl *string `json:"joinUrl,omitempty"`
	// All of the phone numbers associated with this conference.
	Phones *[]Phone `json:"phones,omitempty"`
	// The pre-formatted quickdial for this call.
	QuickDial *string `json:"quickDial,omitempty"`
	// The toll free numbers that can be used to join the conference.
	TollFreeNumbers *[]string `json:"tollFreeNumbers,omitempty"`
	// The toll number that can be used to join the conference.
	TollNumber *string `json:"tollNumber,omitempty"`
}

type OnlineMeetingProviderType

type OnlineMeetingProviderType string
const (
	ONLINE_MEETING_PROVIDER_TYPE_UNKNOWN            OnlineMeetingProviderType = "unknown"
	ONLINE_MEETING_PROVIDER_TYPE_SKYPE_FOR_BUSINESS OnlineMeetingProviderType = "skypeForBusiness"
	ONLINE_MEETING_PROVIDER_TYPE_SKYPE_FOR_CONSUMER OnlineMeetingProviderType = "skypeForConsumer"
	ONLINE_MEETING_PROVIDER_TYPE_TEAMS_FOR_BUSINESS OnlineMeetingProviderType = "teamsForBusiness"
)

func (*OnlineMeetingProviderType) UnmarshalJSON

func (v *OnlineMeetingProviderType) UnmarshalJSON(src []byte) error

type OutlookCategory

type OutlookCategory struct {
	Id *string `json:"id,omitempty"`
	// A pre-set color constant that characterizes a category, and that is mapped to one of 25 predefined colors. See the note below.
	Color *CategoryColor `json:"color,omitempty"`
	// A unique name that identifies a category in the user's mailbox. After a category is created, the name cannot be changed. Read-only.
	DisplayName *string `json:"displayName,omitempty"`
}

type OutlookGeoCoordinates

type OutlookGeoCoordinates struct {
	// The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters.
	Accuracy *float32 `json:"accuracy,omitempty"`
	// The altitude of the location.
	Altitude *float32 `json:"altitude,omitempty"`
	// The accuracy of the altitude.
	AltitudeAccuracy *float32 `json:"altitudeAccuracy,omitempty"`
	// The latitude of the location.
	Latitude *float32 `json:"latitude,omitempty"`
	// The longitude of the location.
	Longitude *float32 `json:"longitude,omitempty"`
}

type OutlookUser

type OutlookUser struct {
	Id *string `json:"id,omitempty"`
	// A list of categories defined for the user.
	MasterCategories *[]OutlookCategory `json:"masterCategories,omitempty"`
}

type ParentLabelDetails

type ParentLabelDetails struct {
	Color       *string             `json:"color,omitempty"`
	Description *string             `json:"description,omitempty"`
	Id          *string             `json:"id,omitempty"`
	IsActive    *bool               `json:"isActive,omitempty"`
	Name        *string             `json:"name,omitempty"`
	Parent      *ParentLabelDetails `json:"parent,omitempty"`
	Sensitivity *int32              `json:"sensitivity,omitempty"`
	Tooltip     *string             `json:"tooltip,omitempty"`
}

type PasswordProfile

type PasswordProfile struct {
	// If true, at next sign-in, the user must change their password. After a password change, this property will be automatically reset to false. If not set, default is false.
	ForceChangePasswordNextSignIn *bool `json:"forceChangePasswordNextSignIn,omitempty"`
	// If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
	ForceChangePasswordNextSignInWithMfa *bool `json:"forceChangePasswordNextSignInWithMfa,omitempty"`
	// The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.
	Password *string `json:"password,omitempty"`
}

PasswordProfile struct for MicrosoftGraphPasswordProfile

type PatternedRecurrence

type PatternedRecurrence struct {
	// The frequency of an event.
	Pattern *RecurrencePattern `json:"pattern,omitempty"`
	// The duration of an event.
	Range *RecurrenceRange `json:"range,omitempty"`
}

type Person

type Person struct {
	Id *string `json:"id,omitempty"`
	// The person's birthday.
	Birthday *string `json:"birthday,omitempty"`
	// The name of the person's company.
	CompanyName *string `json:"companyName,omitempty"`
	// The person's department.
	Department *string `json:"department,omitempty"`
	// The person's display name.
	DisplayName *string `json:"displayName,omitempty"`
	// The person's given name.
	GivenName *string `json:"givenName,omitempty"`
	// The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only.
	ImAddress *string `json:"imAddress,omitempty"`
	// true if the user has flagged this person as a favorite.
	IsFavorite *bool `json:"isFavorite,omitempty"`
	// The person's job title.
	JobTitle *string `json:"jobTitle,omitempty"`
	// The location of the person's office.
	OfficeLocation *string `json:"officeLocation,omitempty"`
	// Free-form notes that the user has taken about this person.
	PersonNotes *string `json:"personNotes,omitempty"`
	// The type of person.
	PersonType *PersonType `json:"personType,omitempty"`
	// The person's phone numbers.
	Phones *[]Phone `json:"phones,omitempty"`
	// The person's addresses.
	PostalAddresses *[]Location `json:"postalAddresses,omitempty"`
	// The person's profession.
	Profession *string `json:"profession,omitempty"`
	// The person's email addresses.
	ScoredEmailAddresses *[]ScoredEmailAddress `json:"scoredEmailAddresses,omitempty"`
	// The person's surname.
	Surname *string `json:"surname,omitempty"`
	// The user principal name (UPN) of the person. The UPN is an Internet-style login name for the person based on the Internet standard RFC 822. By convention, this should map to the person's email name. The general format is alias@domain.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
	// The person's websites.
	Websites *[]Website `json:"websites,omitempty"`
	// The phonetic Japanese name of the person's company.
	YomiCompany *string `json:"yomiCompany,omitempty"`
}

type PersonOrGroupColumn

type PersonOrGroupColumn struct {
	// Indicates whether multiple values can be selected from the source.
	AllowMultipleSelection *bool `json:"allowMultipleSelection,omitempty"`
	// Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.
	ChooseFromType *string `json:"chooseFromType,omitempty"`
	// How to display the information about the person or group chosen. See below.
	DisplayAs *string `json:"displayAs,omitempty"`
}

type PersonType

type PersonType struct {
	// The type of data source, such as Person.
	Class *string `json:"class,omitempty"`
	// The secondary type of data source, such as OrganizationUser.
	Subclass *string `json:"subclass,omitempty"`
}

PersonType struct for PersonType

type Phone

type Phone struct {
	Language *string `json:"language,omitempty"`
	// The phone number.
	Number *string `json:"number,omitempty"`
	Region *string `json:"region,omitempty"`
	// The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax, otherFax, pager, radio.
	Type *PhoneType `json:"type,omitempty"`
}

type PhoneType

type PhoneType string
const (
	PhoneType_HOME         PhoneType = "home"
	PhoneType_BUSINESS     PhoneType = "business"
	PhoneType_MOBILE       PhoneType = "mobile"
	PhoneType_OTHER        PhoneType = "other"
	PhoneType_ASSISTANT    PhoneType = "assistant"
	PhoneType_HOME_FAX     PhoneType = "homeFax"
	PhoneType_BUSINESS_FAX PhoneType = "businessFax"
	PhoneType_OTHER_FAX    PhoneType = "otherFax"
	PhoneType_PAGER        PhoneType = "pager"
	PhoneType_RADIO        PhoneType = "radio"
)

func (*PhoneType) UnmarshalJSON

func (v *PhoneType) UnmarshalJSON(src []byte) error

type PhysicalAddress

type PhysicalAddress struct {
	// The city.
	City *string `json:"city,omitempty"`
	// The country or region. It's a free-format string value, for example, 'United States'.
	CountryOrRegion *string `json:"countryOrRegion,omitempty"`
	// The postal code.
	PostalCode *string `json:"postalCode,omitempty"`
	// The state.
	State *string `json:"state,omitempty"`
	// The street.
	Street *string `json:"street,omitempty"`
}

type ProfilePhoto

type ProfilePhoto struct {
	Id *string `json:"id,omitempty"`
	// The height of the photo. Read-only.
	Height *int `json:"height,omitempty"`
	// The width of the photo. Read-only.
	Width *int `json:"width,omitempty"`
}

type ProvisionedPlan

type ProvisionedPlan struct {
	// For example, 'Enabled'.
	CapabilityStatus *string `json:"capabilityStatus,omitempty"`
	// For example, 'Success'.
	ProvisioningStatus *string `json:"provisioningStatus,omitempty"`
	// The name of the service; for example, 'AccessControlS2S'
	Service *string `json:"service,omitempty"`
}

type PublicError

type PublicError struct {
}

type PublicationFacet

type PublicationFacet struct {
	// The state of publication for this document. Either published or checkout. Read-only.
	Level *string `json:"level,omitempty"`
	// The unique identifier for the version that is visible to the current caller. Read-only.
	VersionId *string `json:"versionId,omitempty"`
}

type Quota

type Quota struct {
	// Total space consumed by files in the recycle bin, in bytes. Read-only.
	Deleted *int64 `json:"deleted,omitempty"`
	// Total space remaining before reaching the quota limit, in bytes. Read-only.
	Remaining *int64 `json:"remaining,omitempty"`
	// Enumeration value that indicates the state of the storage space. Read-only.
	State *string `json:"state,omitempty"`
	// Information about the drive's storage quota plans. Only in Personal OneDrive.
	StoragePlanInformation *StoragePlanInformation `json:"storagePlanInformation,omitempty"`
	// Total allowed storage space, in bytes. Read-only.
	Total *int64 `json:"total,omitempty"`
	// Total space used, in bytes. Read-only.
	Used *int64 `json:"used,omitempty"`
}

type Recipient

type Recipient struct {
	// The recipient's email address.
	EmailAddress *EmailAddress `json:"emailAddress,omitempty"`
}

type RecurrencePattern

type RecurrencePattern struct {
	// The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.
	DayOfMonth *int32 `json:"dayOfMonth,omitempty"`
	// A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern.  Required if type is weekly, relativeMonthly, or relativeYearly.
	DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"`
	// The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly.
	FirstDayOfWeek *DayOfWeek `json:"firstDayOfWeek,omitempty"`
	// Specifies on which instance of the allowed days specified in daysOfsWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly.
	Index *WeekIndex `json:"index,omitempty"`
	// The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.
	Interval *int32 `json:"interval,omitempty"`
	// The month in which the event occurs.  This is a number from 1 to 12.
	Month *int32 `json:"month,omitempty"`
	// The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required.
	Type *RecurrencePatternType `json:"type,omitempty"`
}

type RecurrencePatternType

type RecurrencePatternType string
const (
	RecurrencePatternType_DAILY            RecurrencePatternType = "daily"
	RecurrencePatternType_WEEKLY           RecurrencePatternType = "weekly"
	RecurrencePatternType_ABSOLUTE_MONTHLY RecurrencePatternType = "absoluteMonthly"
	RecurrencePatternType_RELATIVE_MONTHLY RecurrencePatternType = "relativeMonthly"
	RecurrencePatternType_ABSOLUTE_YEARLY  RecurrencePatternType = "absoluteYearly"
	RecurrencePatternType_RELATIVE_YEARLY  RecurrencePatternType = "relativeYearly"
)

func (*RecurrencePatternType) UnmarshalJSON

func (v *RecurrencePatternType) UnmarshalJSON(src []byte) error

type RecurrenceRange

type RecurrenceRange struct {
	// The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate.
	EndDate *string `json:"endDate,omitempty"`
	// The number of times to repeat the event. Required and must be positive if type is numbered.
	NumberOfOccurrences *int32 `json:"numberOfOccurrences,omitempty"`
	// Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used.
	RecurrenceTimeZone *string `json:"recurrenceTimeZone,omitempty"`
	// The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required.
	StartDate *string `json:"startDate,omitempty"`
	// The recurrence range. The possible values are: endDate, noEnd, numbered. Required.
	Type *RecurrenceRangeType `json:"type,omitempty"`
}

type RecurrenceRangeType

type RecurrenceRangeType string
const (
	RecurrenceRangeType_END_DATE RecurrenceRangeType = "endDate"
	RecurrenceRangeType_NO_END   RecurrenceRangeType = "noEnd"
	RecurrenceRangeType_NUMBERED RecurrenceRangeType = "numbered"
)

func (*RecurrenceRangeType) UnmarshalJSON

func (v *RecurrenceRangeType) UnmarshalJSON(src []byte) error

type ResponseStatus

type ResponseStatus struct {
	// The response type. The possible values are: None, Organizer, TentativelyAccepted, Accepted, Declined, NotResponded.
	Response *ResponseType `json:"response,omitempty"`
	// The date and time that the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
	Time *time.Time `json:"time,omitempty"`
}

type ResponseType

type ResponseType string

ResponseType the model 'ResponseType'

const (
	ResponseType_NONE                 ResponseType = "none"
	ResponseType_ORGANIZER            ResponseType = "organizer"
	ResponseType_TENTATIVELY_ACCEPTED ResponseType = "tentativelyAccepted"
	ResponseType_ACCEPTED             ResponseType = "accepted"
	ResponseType_DECLINED             ResponseType = "declined"
	ResponseType_NOT_RESPONDED        ResponseType = "notResponded"
)

List of microsoft.graph.responseType

func (*ResponseType) UnmarshalJSON

func (v *ResponseType) UnmarshalJSON(src []byte) error

type SchemaExtension

type SchemaExtension struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// Description for the schema extension.
	Description *string `json:"description,omitempty"`
	// The appId of the application that is the owner of the schema extension. This property can be supplied on creation, to set the owner.  If not supplied, then the calling application's appId will be set as the owner. In either case, the signed-in user must be the owner of the application. So, for example, if creating a new schema extension definition using Graph Explorer, you must supply the owner property. Once set, this property is read-only and cannot be changed.
	Owner *string `json:"owner,omitempty"`
	// The collection of property names and types that make up the schema extension definition.
	Properties *[]ExtensionSchemaProperty `json:"properties,omitempty"`
	// The lifecycle state of the schema extension. Possible states are InDevelopment, Available, and Deprecated. Automatically set to InDevelopment on creation. Schema extensions provides more information on the possible state transitions and behaviors.
	Status *string `json:"status,omitempty"`
	// Set of Microsoft Graph types (that can support extensions) that the schema extension can be applied to. Select from contact, device, event, group, message, organization, post, or user.
	TargetTypes *[]string `json:"targetTypes,omitempty"`
}

SchemaExtension struct for SchemaExtension

type SchemaExtensionRawDataType

type SchemaExtensionRawDataType map[string]map[string]string

type ScopedRoleMembership

type ScopedRoleMembership struct {
	// Read-only.
	Id *string `json:"id,omitempty"`
	// Unique identifier for the administrative unit that the directory role is scoped to
	AdministrativeUnitId *string `json:"administrativeUnitId,omitempty"`
	// Unique identifier for the directory role that the member is in.
	RoleId         *string   `json:"roleId,omitempty"`
	RoleMemberInfo *Identity `json:"roleMemberInfo,omitempty"`
}

ScopedRoleMembership struct for ScopedRoleMembership

type ScoredEmailAddress

type ScoredEmailAddress struct {
	// The email address.
	Address *string `json:"address,omitempty"`
	ItemId  *string `json:"itemId,omitempty"`
	// The relevance score of the email address. A relevance score is used as a sort key, in relation to the other returned results. A higher relevance score value corresponds to a more relevant result. Relevance is determined by the user’s communication and collaboration patterns and business relationships.
	RelevanceScore      *float32 `json:"relevanceScore,omitempty"`
	SelectionLikelihood *float32 `json:"selectionLikelihood,omitempty"`
}

type Sensitivity

type Sensitivity string
const (
	Sensitivity_NORMAL       Sensitivity = "normal"
	Sensitivity_PERSONAL     Sensitivity = "personal"
	Sensitivity_PRIVATE      Sensitivity = "private"
	Sensitivity_CONFIDENTIAL Sensitivity = "confidential"
)

func (*Sensitivity) UnmarshalJSON

func (v *Sensitivity) UnmarshalJSON(src []byte) error

type SensitivityLabel

type SensitivityLabel struct {
	ApplicableTo                *SensitivityLabelTarget `json:"applicableTo,omitempty"`
	ApplicationMode             *ApplicationMode        `json:"applicationMode,omitempty"`
	AssignedPolicies            *[]LabelPolicy          `json:"assignedPolicies,omitempty"`
	AutoLabeling                *AutoLabeling           `json:"autoLabeling,omitempty"`
	Description                 *string                 `json:"description,omitempty"`
	DisplayName                 *string                 `json:"displayName,omitempty"`
	IsDefault                   *bool                   `json:"isDefault,omitempty"`
	IsEndpointProtectionEnabled *bool                   `json:"isEndpointProtectionEnabled,omitempty"`
	LabelActions                *[]LabelActionBase      `json:"labelActions,omitempty"`
	Name                        *string                 `json:"name,omitempty"`
	Priority                    *int                    `json:"priority,omitempty"`
	ToolTip                     *string                 `json:"toolTip,omitempty"`
	Sublabels                   *[]SensitivityLabel     `json:"sublabels,omitempty"`
}

type SensitivityLabelTarget

type SensitivityLabelTarget string
const (
	SensitivityLabelTarget_EMAIL                SensitivityLabelTarget = "email"
	SensitivityLabelTarget_SITE                 SensitivityLabelTarget = "site"
	SensitivityLabelTarget_UNIFIED_GROUP        SensitivityLabelTarget = "unifiedGroup"
	SensitivityLabelTarget_UNKNOWN_FUTURE_VALUE SensitivityLabelTarget = "unknownFutureValue"
)

List of microsoft.graph.sensitivityLabelTarget

func (*SensitivityLabelTarget) UnmarshalJSON

func (v *SensitivityLabelTarget) UnmarshalJSON(src []byte) error

type SensitivityPolicySettings

type SensitivityPolicySettings struct {
	ApplicableTo                              *SensitivityLabelTarget `json:"applicableTo,omitempty"`
	DowngradeSensitivityRequiresJustification *bool                   `json:"downgradeSensitivityRequiresJustification,omitempty"`
	HelpWebUrl                                *string                 `json:"helpWebUrl,omitempty"`
	IsMandatory                               *bool                   `json:"isMandatory,omitempty"`
}

type ServicePlanInfo

type ServicePlanInfo struct {
	// The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant.
	AppliesTo *string `json:"appliesTo,omitempty"`
	// The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.
	ProvisioningStatus *string `json:"provisioningStatus,omitempty"`
	// The unique identifier of the service plan.
	ServicePlanId *string `json:"servicePlanId,omitempty"`
	// The name of the service plan.
	ServicePlanName *string `json:"servicePlanName,omitempty"`
}

type Settings

type Settings struct {
	// Specifies if the user's primary mailbox is hosted in the cloud and is enabled for Microsoft Graph.
	HasGraphMailbox *bool `json:"hasGraphMailbox,omitempty"`
	// Specifies if the user has a MyAnalytics license assigned.
	HasLicense *bool `json:"hasLicense,omitempty"`
	// Specifies if the user opted out of MyAnalytics.
	HasOptedOut *bool `json:"hasOptedOut,omitempty"`
}

type SharepointIds

type SharepointIds struct {
	// The unique identifier (guid) for the item's list in SharePoint.
	ListId *string `json:"listId,omitempty"`
	// An integer identifier for the item within the containing list.
	ListItemId *string `json:"listItemId,omitempty"`
	// The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.
	ListItemUniqueId *string `json:"listItemUniqueId,omitempty"`
	// The unique identifier (guid) for the item's site collection (SPSite).
	SiteId *string `json:"siteId,omitempty"`
	// The SharePoint URL for the site that contains the item.
	SiteUrl *string `json:"siteUrl,omitempty"`
	// The unique identifier (guid) for the tenancy.
	TenantId *string `json:"tenantId,omitempty"`
	// The unique identifier (guid) for the item's site (SPWeb).
	WebId *string `json:"webId,omitempty"`
}

type SignInActivity

type SignInActivity struct {
	// The last interactive sign-in date for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is: '2014-01-01T00:00:00Z'. For more information about using the value of this property, see Manage inactive user accounts in Azure AD.
	LastSignInDateTime *time.Time `json:"lastSignInDateTime,omitempty"`
	// Request ID of the last sign-in performed by this user.
	LastSignInRequestId *string `json:"lastSignInRequestId,omitempty"`
}

SignInActivity struct for MicrosoftGraphSignInActivity

type SingleValueLegacyExtendedProperty

type SingleValueLegacyExtendedProperty struct {
	Id *string `json:"id,omitempty"`
	// A property value.
	Value *string `json:"value,omitempty"`
}

type Site

type Site struct {
	Id *string `json:"id,omitempty"`
	// Identity of the user, device, or application which created the item. Read-only.
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// Date and time of item creation. Read-only.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Provides a user-visible description of the item. Optional.
	Description *string `json:"description,omitempty"`
	// ETag for the item. Read-only.
	ETag *string `json:"eTag,omitempty"`
	// Identity of the user, device, and application which last modified the item. Read-only.
	LastModifiedBy *IdentitySet `json:"lastModifiedBy,omitempty"`
	// Date and time the item was last modified. Read-only.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// The name of the item. Read-write.
	Name *string `json:"name,omitempty"`
	// Parent information, if the item has a parent. Read-write.
	ParentReference *ItemReference `json:"parentReference,omitempty"`
	// URL that displays the resource in the browser. Read-only.
	WebUrl *string `json:"webUrl,omitempty"`
	// Identity of the user who created the item. Read-only.
	CreatedByUser *User `json:"createdByUser,omitempty"`
	// Identity of the user who last modified the item. Read-only.
	LastModifiedByUser *User `json:"lastModifiedByUser,omitempty"`
	// The full title for the site. Read-only.
	DisplayName *string      `json:"displayName,omitempty"`
	Error       *PublicError `json:"error,omitempty"`
	// If present, indicates that this is the root site in the site collection. Read-only.
	Root *interface{} `json:"root,omitempty"`
	// Returns identifiers useful for SharePoint REST compatibility. Read-only.
	SharepointIds *SharepointIds `json:"sharepointIds,omitempty"`
	// Provides details about the site's site collection. Available only on the root site. Read-only.
	SiteCollection *SiteCollection `json:"siteCollection,omitempty"`
	// Analytics about the view activities that took place in this site.
	Analytics *ItemAnalytics `json:"analytics,omitempty"`
	// The collection of column definitions reusable across lists under this site.
	Columns *[]ColumnDefinition `json:"columns,omitempty"`
	// The collection of content types defined for this site.
	ContentTypes *[]ContentType `json:"contentTypes,omitempty"`
	// The default drive (document library) for this site.
	Drive *Drive `json:"drive,omitempty"`
	// The collection of drives (document libraries) under this site.
	Drives *[]Drive `json:"drives,omitempty"`
	// Used to address any item contained in this site. This collection cannot be enumerated.
	Items *[]BaseItem `json:"items,omitempty"`
	// The collection of lists under this site.
	Lists *[]List `json:"lists,omitempty"`
	// The collection of the sub-sites under this site.
	Sites *[]Site `json:"sites,omitempty"`
	// Calls the OneNote service for notebook related operations.
	Onenote *Onenote `json:"onenote,omitempty"`
}

type SiteCollection

type SiteCollection struct {
}

type SizeRange

type SizeRange struct {
	// The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
	MaximumSize *int `json:"maximumSize,omitempty"`
	// The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
	MinimumSize *int `json:"minimumSize,omitempty"`
}

type StoragePlanInformation

type StoragePlanInformation struct {
	// Indicates whether there are higher storage quota plans available. Read-only.
	UpgradeAvailable *bool `json:"upgradeAvailable,omitempty"`
}

type Subscription

type Subscription struct {
	Id *string `json:"id,omitempty"`
	// Identifier of the application used to create the subscription. Read-only.
	ApplicationId *string `json:"applicationId,omitempty"`
	// Required. Indicates the type of change in the subscribed resource that will raise a change notification. The supported values are: created, updated, deleted. Multiple values can be combined using a comma-separated list.Note: Drive root item and list change notifications support only the updated changeType. User and group change notifications support updated and deleted changeType.
	ChangeType *string `json:"changeType,omitempty"`
	// Optional. Specifies the value of the clientState property sent by the service in each change notification. The maximum length is 128 characters. The client can check that the change notification came from the service by comparing the value of the clientState property sent with the subscription with the value of the clientState property received with each change notification.
	ClientState *string `json:"clientState,omitempty"`
	// Identifier of the user or service principal that created the subscription. If the app used delegated permissions to create the subscription, this field contains the id of the signed-in user the app called on behalf of. If the app used application permissions, this field contains the id of the service principal corresponding to the app. Read-only.
	CreatorId *string `json:"creatorId,omitempty"`
	// A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. Required when includeResourceData is true.
	EncryptionCertificate *string `json:"encryptionCertificate,omitempty"`
	// A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional.
	EncryptionCertificateId *string `json:"encryptionCertificateId,omitempty"`
	// Required. Specifies the date and time when the webhook subscription expires. The time is in UTC, and can be an amount of time from subscription creation that varies for the resource subscribed to.  See the table below for maximum supported subscription length of time.
	ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
	// When set to true, change notifications include resource data (such as content of a chat message). Optional.
	IncludeResourceData *bool `json:"includeResourceData,omitempty"`
	// Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2.
	LatestSupportedTlsVersion *string `json:"latestSupportedTlsVersion,omitempty"`
	// The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications. This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle notifications.
	LifecycleNotificationUrl *string `json:"lifecycleNotificationUrl,omitempty"`
	// Required. The URL of the endpoint that will receive the change notifications. This URL must make use of the HTTPS protocol.
	NotificationUrl *string `json:"notificationUrl,omitempty"`
	// Required. Specifies the resource that will be monitored for changes. Do not include the base URL (https://graph.microsoft.com/v1.0/). See the possible resource path values for each supported resource.
	Resource *string `json:"resource,omitempty"`
}

type TextColumn

type TextColumn struct {
	// Whether to allow multiple lines of text.
	AllowMultipleLines *bool `json:"allowMultipleLines,omitempty"`
	// Whether updates to this column should replace existing text, or append to it.
	AppendChangesToExistingText *bool `json:"appendChangesToExistingText,omitempty"`
	// The size of the text box.
	LinesForEditing *int `json:"linesForEditing,omitempty"`
	// The maximum number of characters for the value.
	MaxLength *int `json:"maxLength,omitempty"`
	// The type of text being stored. Must be one of plain or richText
	TextType *string `json:"textType,omitempty"`
}

type ThreatAssessmentContentType

type ThreatAssessmentContentType string
const (
	ThreatAssessmentContentType_MAIL ThreatAssessmentContentType = "mail"
	ThreatAssessmentContentType_URL  ThreatAssessmentContentType = "url"
	ThreatAssessmentContentType_FILE ThreatAssessmentContentType = "file"
)

func (*ThreatAssessmentContentType) UnmarshalJSON

func (v *ThreatAssessmentContentType) UnmarshalJSON(src []byte) error

type ThreatAssessmentRequest

type ThreatAssessmentRequest struct {
	// The threat category. Possible values are: spam, phishing, malware.
	Category *ThreatCategory `json:"category,omitempty"`
	// The content type of threat assessment. Possible values are: mail, url, file.
	ContentType *ThreatAssessmentContentType `json:"contentType,omitempty"`
	// The threat assessment request creator.
	CreatedBy *IdentitySet `json:"createdBy,omitempty"`
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// The expected assessment from submitter. Possible values are: block, unblock.
	ExpectedAssessment *ThreatExpectedAssessment `json:"expectedAssessment,omitempty"`
	// The source of the threat assessment request. Possible values are: user, administrator.
	RequestSource *ThreatAssessmentRequestSource `json:"requestSource,omitempty"`
	// The assessment process status. Possible values are: pending, completed.
	Status *ThreatAssessmentStatus `json:"status,omitempty"`
	// A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it.
	Results *[]ThreatAssessmentResult `json:"results,omitempty"`
}

type ThreatAssessmentRequestSource

type ThreatAssessmentRequestSource string
const (
	ThreatAssessmentRequestSource_UNDEFINED     ThreatAssessmentRequestSource = "undefined"
	ThreatAssessmentRequestSource_USER          ThreatAssessmentRequestSource = "user"
	ThreatAssessmentRequestSource_ADMINISTRATOR ThreatAssessmentRequestSource = "administrator"
)

func (*ThreatAssessmentRequestSource) UnmarshalJSON

func (v *ThreatAssessmentRequestSource) UnmarshalJSON(src []byte) error

type ThreatAssessmentResult

type ThreatAssessmentResult struct {
	// The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// The result message for each threat assessment.
	Message *string `json:"message,omitempty"`
	// The threat assessment result type. Possible values are: checkPolicy (only for mail assessment), rescan.
	ResultType *ThreatAssessmentResultType `json:"resultType,omitempty"`
}

type ThreatAssessmentResultType

type ThreatAssessmentResultType string
const (
	ThreatAssessmentResultType_CHECK_POLICY         ThreatAssessmentResultType = "checkPolicy"
	ThreatAssessmentResultType_RESCAN               ThreatAssessmentResultType = "rescan"
	ThreatAssessmentResultType_UNKNOWN_FUTURE_VALUE ThreatAssessmentResultType = "unknownFutureValue"
)

func (*ThreatAssessmentResultType) UnmarshalJSON

func (v *ThreatAssessmentResultType) UnmarshalJSON(src []byte) error

type ThreatAssessmentStatus

type ThreatAssessmentStatus string
const (
	PENDING   ThreatAssessmentStatus = "pending"
	COMPLETED ThreatAssessmentStatus = "completed"
)

func (*ThreatAssessmentStatus) UnmarshalJSON

func (v *ThreatAssessmentStatus) UnmarshalJSON(src []byte) error

type ThreatCategory

type ThreatCategory string
const (
	ThreatCategory_UNDEFINED            ThreatCategory = "undefined"
	ThreatCategory_SPAM                 ThreatCategory = "spam"
	ThreatCategory_PHISHING             ThreatCategory = "phishing"
	ThreatCategory_MALWARE              ThreatCategory = "malware"
	ThreatCategory_UNKNOWN_FUTURE_VALUE ThreatCategory = "unknownFutureValue"
)

func (*ThreatCategory) UnmarshalJSON

func (v *ThreatCategory) UnmarshalJSON(src []byte) error

type ThreatExpectedAssessment

type ThreatExpectedAssessment string
const (
	ThreatExpectedAssessment_BLOCK   ThreatExpectedAssessment = "block"
	ThreatExpectedAssessment_UNBLOCK ThreatExpectedAssessment = "unblock"
)

func (*ThreatExpectedAssessment) UnmarshalJSON

func (v *ThreatExpectedAssessment) UnmarshalJSON(src []byte) error

type TimeRange

type TimeRange struct {
	// End time for the time range.
	EndTime *string `json:"endTime,omitempty"`
	// Start time for the time range.
	StartTime *string `json:"startTime,omitempty"`
}

type TimeSlot

type TimeSlot struct {
	End   *DateTimeTimeZone `json:"end,omitempty"`
	Start *DateTimeTimeZone `json:"start,omitempty"`
}

TimeSlot struct for TimeSlot

type TimeZoneBase

type TimeZoneBase struct {
	// The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone.
	Name *string `json:"name,omitempty"`
}

TimeZoneBase struct for TimeZoneBase

type UsageRight

type UsageRight struct {
	// Product id corresponding to the usage right.
	CatalogId *string `json:"catalogId,omitempty"`
	// Identifier of the service corresponding to the usage right.
	ServiceIdentifier *string `json:"serviceIdentifier,omitempty"`
	// The state of the usage right. Possible values are: active, inactive, warning, suspended.
	State *UsageRightState `json:"state,omitempty"`
}

type UsageRightState

type UsageRightState string
const (
	ACTIVE               UsageRightState = "active"
	INACTIVE             UsageRightState = "inactive"
	WARNING              UsageRightState = "warning"
	SUSPENDED            UsageRightState = "suspended"
	UNKNOWN_FUTURE_VALUE UsageRightState = "unknownFutureValue"
)

func (*UsageRightState) UnmarshalJSON

func (v *UsageRightState) UnmarshalJSON(src []byte) error

type User

type User struct {
	Id              *string    `json:"id,omitempty"`
	DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
	// Get the last signed-in date and request ID of the sign-in for a given user.Supports $filter, but not with any other filterable properties. Returned only on $select. Read-only. Note: Details for this property require an Azure AD Premium P1/P2 license.
	SignInActivity *SignInActivity `json:"signInActivity,omitempty"`
	// true if the account is enabled; otherwise, false. This property is required when a user is created. Returned only on $select. Supports $filter.
	AccountEnabled *bool `json:"accountEnabled,omitempty"`
	// Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information. Returned only on $select.
	AgeGroup *string `json:"ageGroup,omitempty"`
	// The licenses that are assigned to the user. Not nullable. Supports $filter.
	AssignedLicenses *[]AssignedLicense `json:"assignedLicenses,omitempty"`
	// The plans that are assigned to the user. Returned only on $select. Read-only. Not nullable.
	AssignedPlans *[]AssignedPlan `json:"assignedPlans,omitempty"`
	// The telephone numbers for the user. Only one number can be set for this property. Returned by default. Read-only for users synced from on-premises directory.
	BusinessPhones *[]string `json:"businessPhones,omitempty"`
	// The city in which the user is located. Returned only on $select. Supports $filter.
	City *string `json:"city,omitempty"`
	// The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length of the company name is 64 characters.Returned only on $select.
	CompanyName *string `json:"companyName,omitempty"`
	// Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information. Returned only on $select.
	ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty"`
	// The country/region in which the user is located; for example, 'US' or 'UK'. Returned only on $select. Supports $filter.
	Country *string `json:"country,omitempty"`
	// The date and time the user was created. The value cannot be modified and is automatically populated when the entity is created. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. Property is nullable. A null value indicates that an accurate creation time couldn't be determined for the user. Returned only on $select. Read-only. Supports $filter.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Returned only on $select. Read-only.
	CreationType *string `json:"creationType,omitempty"`
	// The name for the department in which the user works. Returned only on $select. Supports $filter.
	Department *string      `json:"department,omitempty"`
	DeviceKeys *[]DeviceKey `json:"deviceKeys,omitempty"`
	// The name displayed in the address book for the user. This value is usually the combination of the user's first name, middle initial, and last name. This property is required when a user is created and it cannot be cleared during updates. Returned by default. Supports $filter and $orderby.
	DisplayName *string `json:"displayName,omitempty"`
	// The date and time when the user was hired or will start work in case of a future hire. Returned only on $select. Supports $filter.
	EmployeeHireDate *time.Time `json:"employeeHireDate,omitempty"`
	// The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.
	EmployeeId *string `json:"employeeId,omitempty"`
	// Represents organization data (e.g. division and costCenter) associated with a user. Returned only on $select.
	EmployeeOrgData *EmployeeOrgData `json:"employeeOrgData,omitempty"`
	// Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter.
	EmployeeType *string `json:"employeeType,omitempty"`
	// For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.
	ExternalUserState *string `json:"externalUserState,omitempty"`
	// Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.
	ExternalUserStateChangeDateTime *string `json:"externalUserStateChangeDateTime,omitempty"`
	// The fax number of the user. Returned only on $select.
	FaxNumber *string `json:"faxNumber,omitempty"`
	// The given name (first name) of the user. Returned by default. Supports $filter.
	GivenName *string `json:"givenName,omitempty"`
	// Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Returned only on $select. Supports $filter.
	Identities *[]ObjectIdentity `json:"identities,omitempty"`
	// The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.
	ImAddresses *[]string `json:"imAddresses,omitempty"`
	// Identifies the info segments assigned to the user. Returned by default.
	InfoCatalogs *[]string `json:"infoCatalogs,omitempty"`
	// Do not use – reserved for future use.
	IsResourceAccount *bool `json:"isResourceAccount,omitempty"`
	// The user's job title. Returned by default. Supports $filter.
	JobTitle *string `json:"jobTitle,omitempty"`
	// The time when this Azure AD user last changed their password. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Returned only on $select. Read-only.
	LastPasswordChangeDateTime *time.Time `json:"lastPasswordChangeDateTime,omitempty"`
	// Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information. Returned only on $select.
	LegalAgeGroupClassification *string `json:"legalAgeGroupClassification,omitempty"`
	// State of license assignments for this user. Returned only on $select. Read-only.
	LicenseAssignmentStates *[]LicenseAssignmentState `json:"licenseAssignmentStates,omitempty"`
	// The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Returned by default. Supports $filter and endsWith.
	Mail *string `json:"mail,omitempty"`
	// The mail alias for the user. This property must be specified when a user is created. Returned only on $select. Supports $filter.
	MailNickname *string `json:"mailNickname,omitempty"`
	// The primary cellular telephone number for the user. Returned by default. Read-only for users synced from on-premises directory.
	MobilePhone *string `json:"mobilePhone,omitempty"`
	// The office location in the user's place of business. Returned by default.
	OfficeLocation *string `json:"officeLocation,omitempty"`
	// Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Returned only on $select. Read-only.
	OnPremisesDistinguishedName *string `json:"onPremisesDistinguishedName,omitempty"`
	// Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Returned only on $select. Read-only.
	OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
	// Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set during creation or update. These extension attributes are also known as Exchange custom attributes 1-15. Returned only on $select.
	OnPremisesExtensionAttributes *OnPremisesExtensionAttributes `json:"onPremisesExtensionAttributes,omitempty"`
	// This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter.
	OnPremisesImmutableId *string `json:"onPremisesImmutableId,omitempty"`
	// Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select. Read-only.
	OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
	// Errors when using Microsoft synchronization product during provisioning. Returned only on $select.
	OnPremisesProvisioningErrors *[]OnPremisesProvisioningError `json:"onPremisesProvisioningErrors,omitempty"`
	// Contains the on-premises sAMAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Returned only on $select. Read-only.
	OnPremisesSamAccountName *string `json:"onPremisesSamAccountName,omitempty"`
	// Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Returned only on $select. Read-only.
	OnPremisesSecurityIdentifier *string `json:"onPremisesSecurityIdentifier,omitempty"`
	// true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned only on $select. Read-only.
	OnPremisesSyncEnabled *bool `json:"onPremisesSyncEnabled,omitempty"`
	// Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Returned only on $select. Read-only.
	OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"`
	// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].Returned only on $select.  Supports$filter.
	OtherMails *[]string `json:"otherMails,omitempty"`
	// Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two may be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'.Returned only on $select.
	PasswordPolicies *string `json:"passwordPolicies,omitempty"`
	// Specifies the password profile for the user. The profile contains the user's password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. Returned only on $select.
	PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`
	// The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Returned only on $select.
	PostalCode *string `json:"postalCode,omitempty"`
	// The preferred data location for the user. For more information, see OneDrive Online Multi-Geo. Returned only on $select.
	PreferredDataLocation *string `json:"preferredDataLocation,omitempty"`
	// The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.
	PreferredLanguage *string `json:"preferredLanguage,omitempty"`
	// The plans that are provisioned for the user. Returned only on $select. Read-only. Not nullable.
	ProvisionedPlans *[]ProvisionedPlan `json:"provisionedPlans,omitempty"`
	// For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Returned only on $select. Read-only, Not nullable. Supports $filter.
	ProxyAddresses *[]string `json:"proxyAddresses,omitempty"`
	// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).  If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Returned only on $select. Read-only. Use invalidateAllRefreshTokens to reset.
	RefreshTokensValidFromDateTime *time.Time `json:"refreshTokensValidFromDateTime,omitempty"`
	// true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false. Returned only on $select.
	ShowInAddressList *bool `json:"showInAddressList,omitempty"`
	// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph).  If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Returned only on $select. Read-only. Use revokeSignInSessions to reset.
	SignInSessionsValidFromDateTime *time.Time `json:"signInSessionsValidFromDateTime,omitempty"`
	// The state or province in the user's address. Returned only on $select. Supports $filter.
	State *string `json:"state,omitempty"`
	// The street address of the user's place of business. Returned only on $select.
	StreetAddress *string `json:"streetAddress,omitempty"`
	// The user's surname (family name or last name). Returned by default. Supports $filter.
	Surname *string `json:"surname,omitempty"`
	// A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries.  Examples include: 'US', 'JP', and 'GB'. Not nullable. Returned only on $select. Supports $filter.
	UsageLocation *string `json:"usageLocation,omitempty"`
	// The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Returned by default. Supports $filter, $orderby, and endsWith.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
	// A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Returned only on $select. Supports $filter.
	UserType *string `json:"userType,omitempty"`
	// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Returned only on $select.
	MailboxSettings *MailboxSettings `json:"mailboxSettings,omitempty"`
	// The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.
	DeviceEnrollmentLimit *int32 `json:"deviceEnrollmentLimit,omitempty"`
	// A freeform text entry field for the user to describe themselves. Returned only on $select.
	AboutMe *string `json:"aboutMe,omitempty"`
	// The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z Returned only on $select.
	Birthday *time.Time `json:"birthday,omitempty"`
	// The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select.  Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.
	HireDate *time.Time `json:"hireDate,omitempty"`
	// A list for the user to describe their interests. Returned only on $select.
	Interests *[]string `json:"interests,omitempty"`
	// The URL for the user's personal site. Returned only on $select.
	MySite *string `json:"mySite,omitempty"`
	// A list for the user to enumerate their past projects. Returned only on $select.
	PastProjects *[]string `json:"pastProjects,omitempty"`
	// The preferred name for the user. Returned only on $select.
	PreferredName *string `json:"preferredName,omitempty"`
	// A list for the user to enumerate their responsibilities. Returned only on $select.
	Responsibilities *[]string `json:"responsibilities,omitempty"`
	// A list for the user to enumerate the schools they have attended. Returned only on $select.
	Schools *[]string `json:"schools,omitempty"`
	// A list for the user to enumerate their skills. Returned only on $select.
	Skills                *[]string              `json:"skills,omitempty"`
	Analytics             *UserAnalytics         `json:"analytics,omitempty"`
	UsageRights           *[]UsageRight          `json:"usageRights,omitempty"`
	InformationProtection *InformationProtection `json:"informationProtection,omitempty"`
	// Represents the app roles a user has been granted for an application.
	AppRoleAssignments *[]AppRoleAssignment `json:"appRoleAssignments,omitempty"`
	// Directory objects that were created by the user. Read-only. Nullable.
	CreatedObjects *[]DirectoryObject `json:"createdObjects,omitempty"`
	// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable.
	DirectReports *[]DirectoryObject `json:"directReports,omitempty"`
	// A collection of this user's license details. Read-only.
	LicenseDetails *[]LicenseDetails `json:"licenseDetails,omitempty"`
	// The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.)
	Manager *DirectoryObject `json:"manager,omitempty"`
	// The groups, directory roles and administrative units that the user is a member of. Read-only. Nullable.
	MemberOf               *[]DirectoryObject       `json:"memberOf,omitempty"`
	Oauth2PermissionGrants *[]OAuth2PermissionGrant `json:"oauth2PermissionGrants,omitempty"`
	// Devices that are owned by the user. Read-only. Nullable.
	OwnedDevices *[]DirectoryObject `json:"ownedDevices,omitempty"`
	// Directory objects that are owned by the user. Read-only. Nullable.
	OwnedObjects *[]DirectoryObject `json:"ownedObjects,omitempty"`
	// Devices that are registered for the user. Read-only. Nullable.
	RegisteredDevices *[]DirectoryObject `json:"registeredDevices,omitempty"`
	// The scoped-role administrative unit memberships for this user. Read-only. Nullable.
	ScopedRoleMemberOf *[]ScopedRoleMembership `json:"scopedRoleMemberOf,omitempty"`
	TransitiveMemberOf *[]DirectoryObject      `json:"transitiveMemberOf,omitempty"`
	// The user's primary calendar. Read-only.
	Calendar *Calendar `json:"calendar,omitempty"`
	// The user's calendar groups. Read-only. Nullable.
	CalendarGroups *[]CalendarGroup `json:"calendarGroups,omitempty"`
	// The user's calendars. Read-only. Nullable.
	Calendars *[]Calendar `json:"calendars,omitempty"`
	// The calendar view for the calendar. Read-only. Nullable.
	CalendarView *[]Event `json:"calendarView,omitempty"`
	// The user's contacts folders. Read-only. Nullable.
	ContactFolders *[]ContactFolder `json:"contactFolders,omitempty"`
	// The user's contacts. Read-only. Nullable.
	Contacts *[]Contact `json:"contacts,omitempty"`
	// The user's events. Default is to show events under the Default Calendar. Read-only. Nullable.
	Events *[]Event `json:"events,omitempty"`
	// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance.
	InferenceClassification *InferenceClassification `json:"inferenceClassification,omitempty"`
	// Read-only. Nullable.
	JoinedGroups *[]Group `json:"joinedGroups,omitempty"`
	// The user's mail folders. Read-only. Nullable.
	MailFolders *[]MailFolder `json:"mailFolders,omitempty"`
	// The messages in a mailbox or folder. Read-only. Nullable.
	Messages *[]Message `json:"messages,omitempty"`
	// Selective Outlook services available to the user. Read-only. Nullable.
	Outlook *OutlookUser `json:"outlook,omitempty"`
	// Read-only. The most relevant people to the user. The collection is ordered by their relevance to the user, which is determined by the user's communication, collaboration and business relationships. A person is an aggregation of information from across mail, contacts and social networks.
	People *[]Person `json:"people,omitempty"`
	// The user's OneDrive. Read-only.
	Drive *Drive `json:"drive,omitempty"`
	// A collection of drives available for this user. Read-only.
	Drives        *[]Drive `json:"drives,omitempty"`
	FollowedSites *[]Site  `json:"followedSites,omitempty"`
	// The collection of open extensions defined for the user. Nullable.
	Extensions                    *[]Extension         `json:"extensions,omitempty"`
	AppConsentRequestsForApproval *[]AppConsentRequest `json:"appConsentRequestsForApproval,omitempty"`
	Approvals                     *[]Approval          `json:"approvals,omitempty"`
	// Navigation property to get list of access reviews pending approval by reviewer.
	PendingAccessReviewInstances *[]AccessReviewInstance `json:"pendingAccessReviewInstances,omitempty"`
	// The user's terms of use acceptance statuses. Read-only. Nullable.
	AgreementAcceptances *[]AgreementAcceptance `json:"agreementAcceptances,omitempty"`
}

type UserAnalytics

type UserAnalytics struct {
	// The current settings for a user to use the analytics API.
	Settings *Settings `json:"settings,omitempty"`
	// The collection of work activities that a user spent time on during and outside of working hours. Read-only. Nullable.
	ActivityStatistics *[]ActivityStatistics `json:"activityStatistics,omitempty"`
}

type UserConsentRequest

type UserConsentRequest struct {
	Id                *string      `json:"id,omitempty"`
	ApprovalId        *string      `json:"approvalId,omitempty"`
	CompletedDateTime *time.Time   `json:"completedDateTime,omitempty"`
	CreatedBy         *IdentitySet `json:"createdBy,omitempty"`
	CreatedDateTime   *time.Time   `json:"createdDateTime,omitempty"`
	CustomData        *string      `json:"customData,omitempty"`
	Status            *string      `json:"status,omitempty"`
	// The user's justification for requiring access to the app. Supports $filter (eq only) and $orderby.
	Reason *string `json:"reason,omitempty"`
	// Approval decisions associated with a request.
	Approval *Approval `json:"approval,omitempty"`
}

type UserIdentity

type UserIdentity struct {
	// The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta.
	DisplayName *string `json:"displayName,omitempty"`
	// Unique identifier for the identity.
	Id *string `json:"id,omitempty"`
	// Indicates the client IP address used by user performing the activity (audit log only).
	IpAddress *string `json:"ipAddress,omitempty"`
	// The userPrincipalName attribute of the user.
	UserPrincipalName *string `json:"userPrincipalName,omitempty"`
}

type UserPurpose

type UserPurpose struct {
	// Represents the user's recipient or mailbox type in Exchange Online. Possible values are: unknown, user, linked, shared, room, equipment, and others. See the next section for more information.
	Value *MailboxRecipientType `json:"value,omitempty"`
}

type VolumeType

type VolumeType string
const (
	VOLUMETYPE_OPERATING_SYSTEM_VOLUME VolumeType = "operatingSystemVolume"
	VOLUMETYPE_FIXED_DATA_VOLUME       VolumeType = "fixedDataVolume"
	VOLUMETYPE_REMOVABLE_DATA_VOLUME   VolumeType = "removableDataVolume"
	VOLUMETYPE_UNKNOWN_FUTURE_VALUE    VolumeType = "unknownFutureValue"
)

List of microsoft.graph.volumeType

func (*VolumeType) UnmarshalJSON

func (v *VolumeType) UnmarshalJSON(src []byte) error

type Website

type Website struct {
	// The URL of the website.
	Address *string `json:"address,omitempty"`
	// The display name of the web site.
	DisplayName *string `json:"displayName,omitempty"`
	// The possible values are: other, home, work, blog, profile.
	Type WebsiteType `json:"type,omitempty"`
}

type WebsiteType

type WebsiteType string
const (
	WebsiteType_OTHER   WebsiteType = "other"
	WebsiteType_HOME    WebsiteType = "home"
	WebsiteType_WORK    WebsiteType = "work"
	WebsiteType_BLOG    WebsiteType = "blog"
	WebsiteType_PROFILE WebsiteType = "profile"
)

func (*WebsiteType) UnmarshalJSON

func (v *WebsiteType) UnmarshalJSON(src []byte) error

type WeekIndex

type WeekIndex string
const (
	WeekIndex_FIRST  WeekIndex = "first"
	WeekIndex_SECOND WeekIndex = "second"
	WeekIndex_THIRD  WeekIndex = "third"
	WeekIndex_FOURTH WeekIndex = "fourth"
	WeekIndex_LAST   WeekIndex = "last"
)

func (*WeekIndex) UnmarshalJSON

func (v *WeekIndex) UnmarshalJSON(src []byte) error

type WorkingHours

type WorkingHours struct {
	// The days of the week on which the user works.
	DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"`
	// The time of the day that the user stops working.
	EndTime *string `json:"endTime,omitempty"`
	// The time of the day that the user starts working.
	StartTime *string `json:"startTime,omitempty"`
	// The time zone to which the working hours apply.
	TimeZone *TimeZoneBase `json:"timeZone,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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