Documentation
¶
Index ¶
- Variables
- type ActivityHistoryItem
- type AppRoleAssignment
- type AssignedLabel
- type AssignedLicense
- type AssignedPlan
- type Attachment
- type Attendee
- type AttendeeType
- type AutomaticRepliesSetting
- type AutomaticRepliesStatus
- type BaseItem
- type BodyType
- type CalculatedColumn
- type Calendar
- type CalendarColor
- type CalendarGroup
- type CalendarPermission
- type CalendarRoleType
- type CategoryColor
- type Channel
- type Chat
- type ChoiceColumn
- type ColumnDefinition
- type ColumnLink
- type Contact
- type ContactFolder
- type ContentType
- type ContentTypeInfo
- type ContentTypeOrder
- type ConversationMember
- type CurrencyColumn
- type DateTimeColumn
- type DateTimeTimeZone
- type DayOfWeek
- type DefaultColumnValue
- type DelegateMeetingMessageDeliveryOptions
- type DeviceManagementTroubleshootingEvent
- type DirectoryObject
- type DirectoryRole
- type DirectoryRoleTemplate
- type Drive
- type DriveItem
- type EmailAddress
- type EmployeeOrgData
- type Event
- type EventType
- type Extension
- type ExtensionSchemaProperty
- type ExternalAudienceScope
- type FieldValueSet
- type FreeBusyStatus
- type GiphyRatingType
- type Group
- type GroupLifecyclePolicy
- type GroupSetting
- type Identity
- type IdentitySet
- type ImageInfo
- type Importance
- type IncompleteData
- type InferenceClassification
- type InferenceClassificationOverride
- type InferenceClassificationType
- type ItemActionStat
- type ItemActivity
- type ItemActivityStat
- type ItemAnalytics
- type ItemBody
- type ItemReference
- type LicenseAssignmentState
- type LicenseDetails
- type LicenseProcessingState
- type LinkedResource
- type List
- type ListInfo
- type ListItem
- type ListItemVersion
- type LocaleInfo
- type Location
- type LocationType
- type LocationUniqueIdType
- type LookupColumn
- type MailFolder
- type MailboxSettings
- type ManagedAppFlaggedReason
- type ManagedAppOperation
- type ManagedAppPolicy
- type ManagedAppRegistration
- type ManagedDevice
- type Message
- type MessageActionFlag
- type MessageRule
- type MessageRuleActions
- type MessageRulePredicates
- type MultiValueLegacyExtendedProperty
- type NumberColumn
- type OAuth2PermissionGrant
- type OData
- type ObjectIdentity
- type OfficeGraphInsights
- type OnPremisesExtensionAttributes
- type OnPremisesProvisioningError
- type Onenote
- type OnlineMeeting
- type OnlineMeetingInfo
- type OnlineMeetingProviderType
- type OutlookCategory
- type OutlookGeoCoordinates
- type OutlookUser
- type PasswordProfile
- type PatternedRecurrence
- type Person
- type PersonOrGroupColumn
- type PersonType
- type Phone
- type PhoneType
- type PhysicalAddress
- type PlannerGroup
- type PlannerPlan
- type PlannerUser
- type Presence
- type ProfilePhoto
- type ProvisionedPlan
- type PublicError
- type PublicationFacet
- type Quota
- type Recipient
- type RecurrencePattern
- type RecurrencePatternType
- type RecurrenceRange
- type RecurrenceRangeType
- type ResourceSpecificPermissionGrant
- type ResponseStatus
- type ResponseType
- type Schedule
- type SchemaExtension
- type SchemaExtensionRawDataType
- type ScopedRoleMembership
- type ScoredEmailAddress
- type Sensitivity
- type ServicePlanInfo
- type SettingValue
- type SharedInsight
- type SharepointIds
- type ShiftAvailability
- type ShiftPreferences
- type SingleValueLegacyExtendedProperty
- type Site
- type SiteCollection
- type SizeRange
- type Status
- type StoragePlanInformation
- type Subscription
- type TaskStatus
- type Team
- type TeamFunSettings
- type TeamGuestSettings
- type TeamMemberSettings
- type TeamMessagingSettings
- type TeamSpecialization
- type TeamVisibilityType
- type TeamsApp
- type TeamsAppDefinition
- type TeamsAppDistributionMethod
- type TeamsAppInstallation
- type TeamsAsyncOperation
- type TeamsTemplate
- type TextColumn
- type TimeRange
- type TimeSlot
- type TimeZoneBase
- type Todo
- type TodoTask
- type TodoTaskList
- type Trending
- type UsedInsight
- type User
- type UserActivity
- type UserScopeTeamsAppInstallation
- type UserSettings
- type UserTeamwork
- type VisualInfo
- type Website
- type WebsiteType
- type WeekIndex
- type WellknownListName
- type WorkingHours
Constants ¶
This section is empty.
Variables ¶
var ODataFields = map[string]struct{}{
"@odata.context": {},
"@odata.id": {},
"@odata.count": {},
"@odata.nextLink": {},
}
Functions ¶
This section is empty.
Types ¶
type ActivityHistoryItem ¶
type ActivityHistoryItem struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and lastActiveDateTime.
ActiveDurationSeconds *int `json:"activeDurationSeconds,omitempty"`
// Set by the server. DateTime in UTC when the object was created on the server.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Optional. UTC DateTime when the historyItem will undergo hard-delete. Can be set by the client.
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
// Optional. UTC DateTime when the historyItem (activity session) was last understood as active or finished - if null, historyItem status should be Ongoing.
LastActiveDateTime *time.Time `json:"lastActiveDateTime,omitempty"`
// Set by the server. DateTime in UTC when the object was modified on the server.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Required. UTC DateTime when the historyItem (activity session) was started. Required for timeline history.
StartedDateTime *time.Time `json:"startedDateTime,omitempty"`
// Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
Status *Status `json:"status,omitempty"`
// Optional. The timezone in which the user's device used to generate the activity was located at activity creation time. Values supplied as Olson IDs in order to support cross-platform representation.
UserTimezone *string `json:"userTimezone,omitempty"`
Activity *UserActivity `json:"activity,omitempty"`
}
ActivityHistoryItem struct for ActivityHistoryItem
type AppRoleAssignment ¶
type AppRoleAssignment struct {
// Read-only.
Id *string `json:"id,omitempty"`
DeletedDateTime *time.Time `json:"deletedDateTime,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. Does not support $filter.
AppRoleId *string `json:"appRoleId,omitempty"`
CreatedDateTime *time.Time `json:"createdDateTime,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. Does not support $filter.
PrincipalId *string `json:"principalId,omitempty"`
// The type of the assigned principal. This can either be 'User', 'Group' or 'ServicePrincipal'. Read-only. Does not support $filter.
PrincipalType *string `json:"principalType,omitempty"`
// The display name of the resource app's service principal to which the assignment is made. Does not support $filter.
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 AssignedLabel ¶
type AssignedLabel struct {
// The display name of the label. Read-only.
DisplayName *string `json:"displayName,omitempty"`
// The unique identifier of the label.
LabelId *string `json:"labelId,omitempty"`
}
AssignedLabel struct for AssignedLabel
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 AssignedPlan
type Attachment ¶
type Attachment struct {
// Read-only.
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"`
}
Attachment struct for Attachment
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"`
}
Attendee struct for Attendee
type AttendeeType ¶
type AttendeeType string
AttendeeType the model 'AttendeeType'
const ( AttendeeType_REQUIRED AttendeeType = "required" AttendeeType_OPTIONAL AttendeeType = "optional" AttendeeType_RESOURCE AttendeeType = "resource" )
List of microsoft.graph.attendeeType
func (*AttendeeType) UnmarshalJSON ¶
func (v *AttendeeType) UnmarshalJSON(src []byte) error
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"`
}
AutomaticRepliesSetting struct for AutomaticRepliesSetting
type AutomaticRepliesStatus ¶
type AutomaticRepliesStatus string
AutomaticRepliesStatus the model 'AutomaticRepliesStatus'
const ( DISABLED AutomaticRepliesStatus = "disabled" ALWAYS_ENABLED AutomaticRepliesStatus = "alwaysEnabled" SCHEDULED AutomaticRepliesStatus = "scheduled" )
List of microsoft.graph.automaticRepliesStatus
func (*AutomaticRepliesStatus) UnmarshalJSON ¶
func (v *AutomaticRepliesStatus) UnmarshalJSON(src []byte) error
type BaseItem ¶
type BaseItem struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
BaseItem struct for BaseItem
type BodyType ¶
type BodyType string
BodyType the model 'BodyType'
List of microsoft.graph.bodyType
func (*BodyType) UnmarshalJSON ¶
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"`
}
CalculatedColumn struct for CalculatedColumn
type Calendar ¶
type Calendar struct {
// Read-only.
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"`
// 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"`
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"`
// 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"`
}
Calendar struct for Calendar
type CalendarColor ¶
type CalendarColor string
CalendarColor the model 'CalendarColor'
const ( AUTO CalendarColor = "auto" LIGHT_BLUE CalendarColor = "lightBlue" LIGHT_GREEN CalendarColor = "lightGreen" LIGHT_ORANGE CalendarColor = "lightOrange" LIGHT_GRAY CalendarColor = "lightGray" LIGHT_YELLOW CalendarColor = "lightYellow" LIGHT_TEAL CalendarColor = "lightTeal" LIGHT_PINK CalendarColor = "lightPink" LIGHT_BROWN CalendarColor = "lightBrown" LIGHT_RED CalendarColor = "lightRed" MAX_COLOR CalendarColor = "maxColor" )
List of microsoft.graph.calendarColor
func (*CalendarColor) UnmarshalJSON ¶
func (v *CalendarColor) UnmarshalJSON(src []byte) error
type CalendarGroup ¶
type CalendarGroup struct {
// Read-only.
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"`
}
CalendarGroup struct for CalendarGroup
type CalendarPermission ¶
type CalendarPermission struct {
// Read-only.
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"`
}
CalendarPermission struct for CalendarPermission
type CalendarRoleType ¶
type CalendarRoleType string
CalendarRoleType the model 'CalendarRoleType'
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" )
List of microsoft.graph.calendarRoleType
func (*CalendarRoleType) UnmarshalJSON ¶
func (v *CalendarRoleType) UnmarshalJSON(src []byte) error
type CategoryColor ¶
type CategoryColor string
CategoryColor the model 'CategoryColor'
const ( NONE CategoryColor = "none" PRESET0 CategoryColor = "preset0" PRESET1 CategoryColor = "preset1" PRESET2 CategoryColor = "preset2" PRESET3 CategoryColor = "preset3" PRESET4 CategoryColor = "preset4" PRESET5 CategoryColor = "preset5" PRESET6 CategoryColor = "preset6" PRESET7 CategoryColor = "preset7" PRESET8 CategoryColor = "preset8" PRESET9 CategoryColor = "preset9" PRESET10 CategoryColor = "preset10" PRESET11 CategoryColor = "preset11" PRESET12 CategoryColor = "preset12" PRESET13 CategoryColor = "preset13" PRESET14 CategoryColor = "preset14" PRESET15 CategoryColor = "preset15" PRESET16 CategoryColor = "preset16" PRESET17 CategoryColor = "preset17" PRESET18 CategoryColor = "preset18" PRESET19 CategoryColor = "preset19" PRESET20 CategoryColor = "preset20" PRESET21 CategoryColor = "preset21" PRESET22 CategoryColor = "preset22" PRESET23 CategoryColor = "preset23" PRESET24 CategoryColor = "preset24" )
List of microsoft.graph.categoryColor
func (*CategoryColor) UnmarshalJSON ¶
func (v *CategoryColor) UnmarshalJSON(src []byte) error
type Chat ¶
type Chat struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
Chat struct for Chat
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"`
}
ChoiceColumn struct for ChoiceColumn
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 ¶
type ColumnLink struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The name of the column in this content type.
Name *string `json:"name,omitempty"`
}
ColumnLink struct for ColumnLink
type Contact ¶
type Contact struct {
// Read-only.
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"`
}
Contact struct for Contact
type ContactFolder ¶
type ContactFolder struct {
// Read-only.
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"`
}
ContactFolder struct for ContactFolder
type ContentType ¶
type ContentType struct {
// Read-only.
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"`
}
ContentType struct for ContentType
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"`
}
ContentTypeInfo struct for ContentTypeInfo
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"`
}
ContentTypeOrder struct for ContentTypeOrder
type ConversationMember ¶
type ConversationMember struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The display name of the user.
DisplayName *string `json:"displayName,omitempty"`
// The roles for that user.
Roles *[]string `json:"roles,omitempty"`
}
ConversationMember struct for ConversationMember
type CurrencyColumn ¶
type CurrencyColumn struct {
// Specifies the locale from which to infer the currency symbol.
Locale *string `json:"locale,omitempty"`
}
CurrencyColumn struct for CurrencyColumn
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"`
}
DateTimeColumn struct for DateTimeColumn
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"`
}
DateTimeTimeZone struct for DateTimeTimeZone
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 ¶
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"`
}
DefaultColumnValue struct for DefaultColumnValue
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" )
List of microsoft.graph.delegateMeetingMessageDeliveryOptions
func (*DelegateMeetingMessageDeliveryOptions) UnmarshalJSON ¶
func (v *DelegateMeetingMessageDeliveryOptions) UnmarshalJSON(src []byte) error
type DeviceManagementTroubleshootingEvent ¶
type DeviceManagementTroubleshootingEvent struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Id used for tracing the failure in the service.
CorrelationId *string `json:"correlationId,omitempty"`
// Time when the event occurred .
EventDateTime *time.Time `json:"eventDateTime,omitempty"`
}
DeviceManagementTroubleshootingEvent struct for DeviceManagementTroubleshootingEvent
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 {
// 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 {
// Read-only.
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"`
// 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"`
}
Drive struct for Drive
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"`
}
EmailAddress struct for EmailAddress
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 {
// Read-only.
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"`
}
Event struct for Event
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 ¶
type Extension ¶
type Extension struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
Extension struct for Extension
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
ExternalAudienceScope the model 'ExternalAudienceScope'
const ( ExternalAudienceScope_NONE ExternalAudienceScope = "none" ExternalAudienceScope_CONTACTS_ONLY ExternalAudienceScope = "contactsOnly" ExternalAudienceScope_ALL ExternalAudienceScope = "all" )
List of microsoft.graph.externalAudienceScope
func (*ExternalAudienceScope) UnmarshalJSON ¶
func (v *ExternalAudienceScope) UnmarshalJSON(src []byte) error
type FieldValueSet ¶
type FieldValueSet struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
FieldValueSet struct for FieldValueSet
type FreeBusyStatus ¶
type FreeBusyStatus string
FreeBusyStatus the model 'FreeBusyStatus'
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" )
List of microsoft.graph.freeBusyStatus
func (*FreeBusyStatus) UnmarshalJSON ¶
func (v *FreeBusyStatus) UnmarshalJSON(src []byte) error
type GiphyRatingType ¶
type GiphyRatingType string
GiphyRatingType the model 'GiphyRatingType'
const ( STRICT GiphyRatingType = "strict" MODERATE GiphyRatingType = "moderate" UNKNOWN_FUTURE_VALUE GiphyRatingType = "unknownFutureValue" )
List of microsoft.graph.giphyRatingType
func (*GiphyRatingType) UnmarshalJSON ¶
func (v *GiphyRatingType) 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 an Microsoft 365 group. Returned only on $select. Read-only.
AssignedLabels *[]AssignedLabel `json:"assignedLabels,omitempty"`
// The licenses that are assigned to the group. Returned only on $select. Read-only.
AssignedLicenses *[]AssignedLicense `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"`
// 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 would look like this: '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 would look like this: '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). See an example.
HasMembersWithLicenseErrors *bool `json:"hasMembersWithLicenseErrors,omitempty"`
// Indicates status of the group license assignment to all members of the group. Default value is false. Read-only. Possible values: QueuedForProcessing, ProcessingInProgress, and ProcessingComplete.Returned only on $select. Read-only.
LicenseProcessingState *LicenseProcessingState `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"`
MailNickname *string `json:"mailNickname,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"`
OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
OnPremisesNetBiosName *string `json:"onPremisesNetBiosName,omitempty"`
OnPremisesProvisioningErrors *[]OnPremisesProvisioningError `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 an 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 to 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 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.
RenewedDateTime *time.Time `json:"renewedDateTime,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 an 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 visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.
Visibility *string `json:"visibility,omitempty"`
// Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select.
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.
AutoSubscribeNewMembers *bool `json:"autoSubscribeNewMembers,omitempty"`
// True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select.
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; otherwise, false. Default value is false. Returned only on $select.
HideFromOutlookClients *bool `json:"hideFromOutlookClients,omitempty"`
// Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select.
IsSubscribedByMail *bool `json:"isSubscribedByMail,omitempty"`
// Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select.
UnseenCount *int `json:"unseenCount,omitempty"`
IsArchived *bool `json:"isArchived,omitempty"`
AppRoleAssignments *[]AppRoleAssignment `json:"appRoleAssignments,omitempty"`
// The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only.
CreatedOnBehalfOf *DirectoryObject `json:"createdOnBehalfOf,omitempty"`
// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
MemberOf *[]DirectoryObject `json:"memberOf,omitempty"`
// Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.
Members *[]DirectoryObject `json:"members,omitempty"`
// A list of group members with license errors from this group-based license assignment. Read-only.
MembersWithLicenseErrors *[]DirectoryObject `json:"membersWithLicenseErrors,omitempty"`
// The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.
Owners *[]DirectoryObject `json:"owners,omitempty"`
PermissionGrants *[]ResourceSpecificPermissionGrant `json:"permissionGrants,omitempty"`
// Read-only. Nullable.
Settings *[]GroupSetting `json:"settings,omitempty"`
TransitiveMemberOf *[]DirectoryObject `json:"transitiveMemberOf,omitempty"`
TransitiveMembers *[]DirectoryObject `json:"transitiveMembers,omitempty"`
// The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post.
AcceptedSenders *[]DirectoryObject `json:"acceptedSenders,omitempty"`
// The group's calendar. Read-only.
Calendar *Calendar `json:"calendar,omitempty"`
// The calendar view for the calendar. Read-only.
CalendarView *[]Event `json:"calendarView,omitempty"`
// The group's conversations.
// TODO Conversations *[]Conversation `json:"conversations,omitempty"`
// The group's calendar events.
Events *[]Event `json:"events,omitempty"`
// The group's profile photo
Photo *ProfilePhoto `json:"photo,omitempty"`
// The profile photos owned by the group. Read-only. Nullable.
Photos *[]ProfilePhoto `json:"photos,omitempty"`
// The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable
RejectedSenders *[]DirectoryObject `json:"rejectedSenders,omitempty"`
// The group's conversation threads. Nullable.
// TODO Threads *[]ConversationThread `json:"threads,omitempty"`
// The group's default drive. Read-only.
Drive *Drive `json:"drive,omitempty"`
// The group's drives. Read-only.
Drives *[]Drive `json:"drives,omitempty"`
// The list of SharePoint sites in this group. Access the default site with /sites/root.
Sites *[]Site `json:"sites,omitempty"`
// The collection of open extensions defined for the group. Read-only. Nullable.
Extensions *[]Extension `json:"extensions,omitempty"`
// The collection of lifecycle policies for this group. Read-only. Nullable.
GroupLifecyclePolicies *[]GroupLifecyclePolicy `json:"groupLifecyclePolicies,omitempty"`
// Entry-point to Planner resource that might exist for a Unified Group.
Planner *PlannerGroup `json:"planner,omitempty"`
// Read-only.
Onenote *Onenote `json:"onenote,omitempty"`
Team *Team `json:"team,omitempty"`
}
Group struct for Group
type GroupLifecyclePolicy ¶
type GroupLifecyclePolicy struct {
// Read-only.
Id *string `json:"id,omitempty"`
// List of email address to send notifications for groups without owners. Multiple email address can be defined by separating email address with a semicolon.
AlternateNotificationEmails *string `json:"alternateNotificationEmails,omitempty"`
// Number of days before a group expires and needs to be renewed. Once renewed, the group expiration is extended by the number of days defined.
GroupLifetimeInDays *int `json:"groupLifetimeInDays,omitempty"`
// The group type for which the expiration policy applies. Possible values are All, Selected or None.
ManagedGroupTypes *string `json:"managedGroupTypes,omitempty"`
}
GroupLifecyclePolicy struct for GroupLifecyclePolicy
type GroupSetting ¶
type GroupSetting struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Display name of this group of settings, which comes from the associated template.
DisplayName *string `json:"displayName,omitempty"`
// Unique identifier for the template used to create this group of settings. Read-only.
TemplateId *string `json:"templateId,omitempty"`
// Collection of name value pairs. Must contain and set all the settings defined in the template.
Values *[]SettingValue `json:"values,omitempty"`
}
GroupSetting struct for GroupSetting
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"`
}
IdentitySet struct for IdentitySet
type ImageInfo ¶
type ImageInfo struct {
// Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example – a high contrast image
AddImageQuery *bool `json:"addImageQuery,omitempty"`
// Optional; alt-text accessible content for the image
AlternateText *string `json:"alternateText,omitempty"`
AlternativeText *string `json:"alternativeText,omitempty"`
// Optional; URI that points to an icon which represents the application used to generate the activity
IconUrl *string `json:"iconUrl,omitempty"`
}
ImageInfo struct for ImageInfo
type Importance ¶
type Importance string
Importance the model 'Importance'
const ( Importance_LOW Importance = "low" Importance_NORMAL Importance = "normal" Importance_HIGH Importance = "high" )
List of microsoft.graph.importance
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"`
}
IncompleteData struct for IncompleteData
type InferenceClassification ¶
type InferenceClassification struct {
// Read-only.
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"`
}
InferenceClassification struct for InferenceClassification
type InferenceClassificationOverride ¶
type InferenceClassificationOverride struct {
// Read-only.
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"`
}
InferenceClassificationOverride struct for InferenceClassificationOverride
type InferenceClassificationType ¶
type InferenceClassificationType string
InferenceClassificationType the model 'InferenceClassificationType'
const ( FOCUSED InferenceClassificationType = "focused" OTHER InferenceClassificationType = "other" )
List of microsoft.graph.inferenceClassificationType
func (*InferenceClassificationType) UnmarshalJSON ¶
func (v *InferenceClassificationType) UnmarshalJSON(src []byte) error
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"`
}
ItemActionStat struct for ItemActionStat
type ItemActivity ¶
type ItemActivity struct {
// Read-only.
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"`
}
ItemActivity struct for ItemActivity
type ItemActivityStat ¶
type ItemActivityStat struct {
// Read-only.
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"`
}
ItemActivityStat struct for ItemActivityStat
type ItemAnalytics ¶
type ItemAnalytics struct {
// Read-only.
Id *string `json:"id,omitempty"`
AllTime *ItemActivityStat `json:"allTime,omitempty"`
ItemActivityStats *[]ItemActivityStat `json:"itemActivityStats,omitempty"`
LastSevenDays *ItemActivityStat `json:"lastSevenDays,omitempty"`
}
ItemAnalytics struct for ItemAnalytics
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"`
}
ItemBody struct for ItemBody
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"`
ShareId *string `json:"shareId,omitempty"`
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"`
}
ItemReference struct for ItemReference
type LicenseAssignmentState ¶
type LicenseAssignmentState struct {
AssignedByGroup *string `json:"assignedByGroup,omitempty"`
DisabledPlans *[]string `json:"disabledPlans,omitempty"`
Error *string `json:"error,omitempty"`
SkuId *string `json:"skuId,omitempty"`
State *string `json:"state,omitempty"`
}
LicenseAssignmentState struct for LicenseAssignmentState
type LicenseDetails ¶
type LicenseDetails struct {
// Read-only.
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"`
}
LicenseDetails struct for LicenseDetails
type LicenseProcessingState ¶
type LicenseProcessingState struct {
State *string `json:"state,omitempty"`
}
LicenseProcessingState struct for LicenseProcessingState
type LinkedResource ¶
type LinkedResource struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Field indicating the app name of the source that is sending the linkedResource.
ApplicationName *string `json:"applicationName,omitempty"`
// Field indicating the title of the linkedResource.
DisplayName *string `json:"displayName,omitempty"`
// Id of the object that is associated with this task on the third-party/partner system.
ExternalId *string `json:"externalId,omitempty"`
// Deep link to the linkedResource.
WebUrl *string `json:"webUrl,omitempty"`
}
LinkedResource struct for LinkedResource
type List ¶
type List struct {
// Read-only.
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"`
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"`
}
List struct for List
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 {
// Read-only.
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"`
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"`
}
ListItem struct for ListItem
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"`
}
ListItemVersion struct for ListItemVersion
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"`
}
LocaleInfo struct for LocaleInfo
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"`
}
Location struct for Location
type LocationType ¶
type LocationType string
LocationType the model 'LocationType'
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" )
List of microsoft.graph.locationType
func (*LocationType) UnmarshalJSON ¶
func (v *LocationType) UnmarshalJSON(src []byte) error
type LocationUniqueIdType ¶
type LocationUniqueIdType string
LocationUniqueIdType the model 'LocationUniqueIdType'
const ( LocationUniqueIdType_UNKNOWN LocationUniqueIdType = "unknown" LocationUniqueIdType_LOCATION_STORE LocationUniqueIdType = "locationStore" LocationUniqueIdType_DIRECTORY LocationUniqueIdType = "directory" LocationUniqueIdType_PRIVATE LocationUniqueIdType = "private" LocationUniqueIdType_BING LocationUniqueIdType = "bing" )
List of microsoft.graph.locationUniqueIdType
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"`
}
LookupColumn struct for LookupColumn
type MailFolder ¶
type MailFolder struct {
// Read-only.
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"`
}
MailFolder struct for MailFolder
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 days of the week and hours in a specific time zone that the user works.
WorkingHours *WorkingHours `json:"workingHours,omitempty"`
}
MailboxSettings struct for MailboxSettings
type ManagedAppFlaggedReason ¶
type ManagedAppFlaggedReason string
ManagedAppFlaggedReason the model 'ManagedAppFlaggedReason'
const ( MANAGEDAPPFLAGGEDREASON_NONE ManagedAppFlaggedReason = "none" MANAGEDAPPFLAGGEDREASON_ROOTED_DEVICE ManagedAppFlaggedReason = "rootedDevice" )
List of microsoft.graph.managedAppFlaggedReason
func (*ManagedAppFlaggedReason) UnmarshalJSON ¶
func (v *ManagedAppFlaggedReason) UnmarshalJSON(src []byte) error
type ManagedAppOperation ¶
type ManagedAppOperation struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The operation name.
DisplayName *string `json:"displayName,omitempty"`
// The last time the app operation was modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// The current state of the operation
State *string `json:"state,omitempty"`
// Version of the entity.
Version *string `json:"version,omitempty"`
}
ManagedAppOperation struct for ManagedAppOperation
type ManagedAppPolicy ¶
type ManagedAppPolicy struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The date and time the policy was created.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// The policy's description.
Description *string `json:"description,omitempty"`
// Policy display name.
DisplayName *string `json:"displayName,omitempty"`
// Last time the policy was modified.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Version of the entity.
Version *string `json:"version,omitempty"`
}
ManagedAppPolicy struct for ManagedAppPolicy
type ManagedAppRegistration ¶
type ManagedAppRegistration struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The app package Identifier
AppIdentifier *interface{} `json:"appIdentifier,omitempty"`
// App version
ApplicationVersion *string `json:"applicationVersion,omitempty"`
// Date and time of creation
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Host device name
DeviceName *string `json:"deviceName,omitempty"`
// App management SDK generated tag, which helps relate apps hosted on the same device. Not guaranteed to relate apps in all conditions.
DeviceTag *string `json:"deviceTag,omitempty"`
// Host device type
DeviceType *string `json:"deviceType,omitempty"`
// Zero or more reasons an app registration is flagged. E.g. app running on rooted device
FlaggedReasons *[]ManagedAppFlaggedReason `json:"flaggedReasons,omitempty"`
// Date and time of last the app synced with management service.
LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"`
// App management SDK version
ManagementSdkVersion *string `json:"managementSdkVersion,omitempty"`
// Operating System version
PlatformVersion *string `json:"platformVersion,omitempty"`
// The user Id to who this app registration belongs.
UserId *string `json:"userId,omitempty"`
// Version of the entity.
Version *string `json:"version,omitempty"`
// Zero or more policys already applied on the registered app when it last synchronized with managment service.
AppliedPolicies *[]ManagedAppPolicy `json:"appliedPolicies,omitempty"`
// Zero or more policies admin intended for the app as of now.
IntendedPolicies *[]ManagedAppPolicy `json:"intendedPolicies,omitempty"`
// Zero or more long running operations triggered on the app registration.
Operations *[]ManagedAppOperation `json:"operations,omitempty"`
}
ManagedAppRegistration struct for ManagedAppRegistration
type ManagedDevice ¶
type ManagedDevice struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
ManagedDevice struct for ManagedDevice
type Message ¶
type Message struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
Message struct for Message
type MessageActionFlag ¶
type MessageActionFlag string
MessageActionFlag the model 'MessageActionFlag'
const ( ANY MessageActionFlag = "any" CALL MessageActionFlag = "call" DO_NOT_FORWARD MessageActionFlag = "doNotForward" FOLLOW_UP MessageActionFlag = "followUp" FYI MessageActionFlag = "fyi" FORWARD MessageActionFlag = "forward" NO_RESPONSE_NECESSARY MessageActionFlag = "noResponseNecessary" READ MessageActionFlag = "read" REPLY MessageActionFlag = "reply" REPLY_TO_ALL MessageActionFlag = "replyToAll" REVIEW MessageActionFlag = "review" )
List of microsoft.graph.messageActionFlag
func (*MessageActionFlag) UnmarshalJSON ¶
func (v *MessageActionFlag) UnmarshalJSON(src []byte) error
type MessageRule ¶
type MessageRule struct {
// Read-only.
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"`
}
MessageRule struct for MessageRule
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"`
}
MessageRuleActions struct for MessageRuleActions
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 MultiValueLegacyExtendedProperty ¶
type MultiValueLegacyExtendedProperty struct {
// Read-only.
Id *string `json:"id,omitempty"`
// A collection of property values.
Value *[]string `json:"value,omitempty"`
}
MultiValueLegacyExtendedProperty struct for MultiValueLegacyExtendedProperty
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"`
}
NumberColumn struct for NumberColumn
type OAuth2PermissionGrant ¶
type OAuth2PermissionGrant struct {
// Read-only.
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"`
// 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"`
}
OAuth2PermissionGrant struct for OAuth2PermissionGrant
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 OfficeGraphInsights ¶
type OfficeGraphInsights struct {
// Read-only.
Id *string `json:"id,omitempty"`
Shared *[]SharedInsight `json:"shared,omitempty"`
// Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before.
Trending *[]Trending `json:"trending,omitempty"`
// Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use.
Used *[]UsedInsight `json:"used,omitempty"`
}
OfficeGraphInsights struct for OfficeGraphInsights
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"`
}
OnPremisesExtensionAttributes struct for OnPremisesExtensionAttributes
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"`
}
OnPremisesProvisioningError struct for OnPremisesProvisioningError
type Onenote ¶
type Onenote struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
Onenote struct for Onenote
type OnlineMeeting ¶
type OnlineMeeting struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
OnlineMeeting struct for OnlineMeeting
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"`
}
OnlineMeetingInfo struct for OnlineMeetingInfo
type OnlineMeetingProviderType ¶
type OnlineMeetingProviderType string
OnlineMeetingProviderType the model 'OnlineMeetingProviderType'
const ( UNKNOWN OnlineMeetingProviderType = "unknown" SKYPE_FOR_BUSINESS OnlineMeetingProviderType = "skypeForBusiness" SKYPE_FOR_CONSUMER OnlineMeetingProviderType = "skypeForConsumer" TEAMS_FOR_BUSINESS OnlineMeetingProviderType = "teamsForBusiness" )
List of microsoft.graph.onlineMeetingProviderType
func (*OnlineMeetingProviderType) UnmarshalJSON ¶
func (v *OnlineMeetingProviderType) UnmarshalJSON(src []byte) error
type OutlookCategory ¶
type OutlookCategory struct {
// Read-only.
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"`
}
OutlookCategory struct for OutlookCategory
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"`
}
OutlookGeoCoordinates struct for OutlookGeoCoordinates
type OutlookUser ¶
type OutlookUser struct {
// Read-only.
Id *string `json:"id,omitempty"`
// A list of categories defined for the user.
MasterCategories *[]OutlookCategory `json:"masterCategories,omitempty"`
}
OutlookUser struct for OutlookUser
type PasswordProfile ¶
type PasswordProfile struct {
// true if the user must change her password on the next login; otherwise 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 PasswordProfile
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"`
}
PatternedRecurrence struct for PatternedRecurrence
type Person ¶
type Person struct {
// Read-only.
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"`
}
Person struct for Person
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"`
}
PersonOrGroupColumn struct for PersonOrGroupColumn
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"`
}
Phone struct for Phone
type PhoneType ¶
type PhoneType string
PhoneType the model 'PhoneType'
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" )
List of microsoft.graph.phoneType
func (*PhoneType) UnmarshalJSON ¶
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"`
}
PhysicalAddress struct for PhysicalAddress
type PlannerGroup ¶
type PlannerGroup struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Read-only. Nullable. Returns the plannerPlans owned by the group.
Plans *[]PlannerPlan `json:"plans,omitempty"`
}
PlannerGroup struct for PlannerGroup
type PlannerPlan ¶
type PlannerPlan struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
PlannerPlan struct for PlannerPlan
type PlannerUser ¶
type PlannerUser struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
PlannerUser struct for PlannerUser
type Presence ¶
type Presence struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The supplemental information to a user's availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, InACall, InAConferenceCall, Inactive, InAMeeting, Offline, OffWork, OutOfOffice, PresenceUnknown, Presenting, UrgentInterruptionsOnly.
Activity *string `json:"activity,omitempty"`
// The base presence information for a user. Possible values are Available, AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown
Availability *string `json:"availability,omitempty"`
}
Presence struct for Presence
type ProfilePhoto ¶
type ProfilePhoto struct {
// Read-only.
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"`
}
ProfilePhoto struct for ProfilePhoto
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"`
}
ProvisionedPlan struct for ProvisionedPlan
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"`
}
PublicationFacet struct for PublicationFacet
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"`
}
Quota struct for Quota
type Recipient ¶
type Recipient struct {
// The recipient's email address.
EmailAddress *EmailAddress `json:"emailAddress,omitempty"`
}
Recipient struct for Recipient
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"`
}
RecurrencePattern struct for RecurrencePattern
type RecurrencePatternType ¶
type RecurrencePatternType string
RecurrencePatternType the model 'RecurrencePatternType'
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" )
List of microsoft.graph.recurrencePatternType
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"`
}
RecurrenceRange struct for RecurrenceRange
type RecurrenceRangeType ¶
type RecurrenceRangeType string
RecurrenceRangeType the model 'RecurrenceRangeType'
const ( END_DATE RecurrenceRangeType = "endDate" NO_END RecurrenceRangeType = "noEnd" NUMBERED RecurrenceRangeType = "numbered" )
List of microsoft.graph.recurrenceRangeType
func (*RecurrenceRangeType) UnmarshalJSON ¶
func (v *RecurrenceRangeType) UnmarshalJSON(src []byte) error
type ResourceSpecificPermissionGrant ¶
type ResourceSpecificPermissionGrant struct {
// Read-only.
Id *string `json:"id,omitempty"`
DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
ClientAppId *string `json:"clientAppId,omitempty"`
ClientId *string `json:"clientId,omitempty"`
Permission *string `json:"permission,omitempty"`
PermissionType *string `json:"permissionType,omitempty"`
ResourceAppId *string `json:"resourceAppId,omitempty"`
}
ResourceSpecificPermissionGrant struct for ResourceSpecificPermissionGrant
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"`
}
ResponseStatus struct for ResponseStatus
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 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"`
}
ScoredEmailAddress struct for ScoredEmailAddress
type Sensitivity ¶
type Sensitivity string
Sensitivity the model 'Sensitivity'
const ( NORMAL Sensitivity = "normal" PERSONAL Sensitivity = "personal" PRIVATE Sensitivity = "private" CONFIDENTIAL Sensitivity = "confidential" )
List of microsoft.graph.sensitivity
func (*Sensitivity) UnmarshalJSON ¶
func (v *Sensitivity) UnmarshalJSON(src []byte) error
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"`
}
ServicePlanInfo struct for ServicePlanInfo
type SettingValue ¶
type SettingValue struct {
// Name of the setting (as defined by the groupSettingTemplate).
Name *string `json:"name,omitempty"`
// Value of the setting.
Value *string `json:"value,omitempty"`
}
SettingValue struct for SettingValue
type SharedInsight ¶
type SharedInsight struct {
Id *string `json:"id,omitempty"`
}
SharedInsight struct for SharedInsight
type SharepointIds ¶
type SharepointIds struct {
ListId *string `json:"listId,omitempty"`
ListItemId *string `json:"listItemId,omitempty"`
ListItemUniqueId *string `json:"listItemUniqueId,omitempty"`
SiteId *string `json:"siteId,omitempty"`
SiteUrl *string `json:"siteUrl,omitempty"`
TenantId *string `json:"tenantId,omitempty"`
WebId *string `json:"webId,omitempty"`
}
SharepointIds struct for SharepointIds
type ShiftAvailability ¶
type ShiftAvailability struct {
// Specifies the pattern for recurrence
Recurrence *PatternedRecurrence `json:"recurrence,omitempty"`
// The time slot(s) preferred by the user.
TimeSlots *[]TimeRange `json:"timeSlots,omitempty"`
// Specifies the time zone for the indicated time.
TimeZone *string `json:"timeZone,omitempty"`
}
ShiftAvailability struct for ShiftAvailability
type ShiftPreferences ¶
type ShiftPreferences struct {
// Read-only.
Id *string `json:"id,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"`
// Identity of the person who last modified the entity.
LastModifiedBy *IdentitySet `json:"lastModifiedBy,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"`
// Availability of the user to be scheduled for work and its recurrence pattern.
Availability *[]*ShiftAvailability `json:"availability,omitempty"`
}
ShiftPreferences struct for ShiftPreferences
type SingleValueLegacyExtendedProperty ¶
type SingleValueLegacyExtendedProperty struct {
// Read-only.
Id *string `json:"id,omitempty"`
// A property value.
Value *string `json:"value,omitempty"`
}
SingleValueLegacyExtendedProperty struct for SingleValueLegacyExtendedProperty
type Site ¶
type Site struct {
// Read-only.
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"`
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"`
}
Site struct for Site
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"`
}
SizeRange struct for SizeRange
type Status ¶
type Status string
Status the model 'Status'
const ( Status_ACTIVE Status = "active" Status_UPDATED Status = "updated" Status_DELETED Status = "deleted" Status_IGNORED Status = "ignored" Status_UNKNOWN_FUTURE_VALUE Status = "unknownFutureValue" )
List of microsoft.graph.status
func (*Status) UnmarshalJSON ¶
type StoragePlanInformation ¶
type StoragePlanInformation struct {
// Indicates whether there are higher storage quota plans available. Read-only.
UpgradeAvailable *bool `json:"upgradeAvailable,omitempty"`
}
StoragePlanInformation struct for StoragePlanInformation
type Subscription ¶
type Subscription struct {
// Read-only.
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"`
}
Subscription struct for Subscription
type TaskStatus ¶
type TaskStatus string
TaskStatus the model 'TaskStatus'
const ( TaskStatus_NOT_STARTED TaskStatus = "notStarted" TaskStatus_IN_PROGRESS TaskStatus = "inProgress" TaskStatus_COMPLETED TaskStatus = "completed" TaskStatus_WAITING_ON_OTHERS TaskStatus = "waitingOnOthers" TaskStatus_DEFERRED TaskStatus = "deferred" )
List of microsoft.graph.taskStatus
func (*TaskStatus) UnmarshalJSON ¶
func (v *TaskStatus) UnmarshalJSON(src []byte) error
type Team ¶
type Team struct {
// Read-only.
Id *string `json:"id,omitempty"`
// An optional label. Typically describes the data or business sensitivity of the team. Must match one of a pre-configured set in the tenant's directory.
Classification *string `json:"classification,omitempty"`
// An optional description for the team.
Description *string `json:"description,omitempty"`
// The name of the team.
DisplayName *string `json:"displayName,omitempty"`
// Settings to configure use of Giphy, memes, and stickers in the team.
FunSettings *TeamFunSettings `json:"funSettings,omitempty"`
// Settings to configure whether guests can create, update, or delete channels in the team.
GuestSettings *TeamGuestSettings `json:"guestSettings,omitempty"`
// A unique ID for the team that has been used in a few places such as the audit log/Office 365 Management Activity API.
InternalId *string `json:"internalId,omitempty"`
// Whether this team is in read-only mode.
IsArchived *bool `json:"isArchived,omitempty"`
// Settings to configure whether members can perform certain actions, for example, create channels and add bots, in the team.
MemberSettings *TeamMemberSettings `json:"memberSettings,omitempty"`
// Settings to configure messaging and mentions in the team.
MessagingSettings *TeamMessagingSettings `json:"messagingSettings,omitempty"`
// Optional. Indicates whether the team is intended for a particular use case. Each team specialization has access to unique behaviors and experiences targeted to its use case.
Specialization *TeamSpecialization `json:"specialization,omitempty"`
// The visibility of the group and team. Defaults to Public.
Visibility *TeamVisibilityType `json:"visibility,omitempty"`
// A hyperlink that will go to the team in the Microsoft Teams client. This is the URL that you get when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed.
WebUrl *string `json:"webUrl,omitempty"`
// The schedule of shifts for this team.
Schedule *Schedule `json:"schedule,omitempty"`
// The collection of channels & messages associated with the team.
Channels *[]Channel `json:"channels,omitempty"`
Group *Group `json:"group,omitempty"`
// The apps installed in this team.
InstalledApps *[]TeamsAppInstallation `json:"installedApps,omitempty"`
// Members and owners of the team.
Members *[]ConversationMember `json:"members,omitempty"`
// The async operations that ran or are running on this team.
Operations *[]TeamsAsyncOperation `json:"operations,omitempty"`
// The general channel for the team.
PrimaryChannel *Channel `json:"primaryChannel,omitempty"`
// The template this team was created from. See available templates.
Template *TeamsTemplate `json:"template,omitempty"`
}
Team struct for Team
type TeamFunSettings ¶
type TeamFunSettings struct {
// If set to true, enables users to include custom memes.
AllowCustomMemes *bool `json:"allowCustomMemes,omitempty"`
// If set to true, enables Giphy use.
AllowGiphy *bool `json:"allowGiphy,omitempty"`
// If set to true, enables users to include stickers and memes.
AllowStickersAndMemes *bool `json:"allowStickersAndMemes,omitempty"`
// Giphy content rating. Possible values are: moderate, strict.
GiphyContentRating *GiphyRatingType `json:"giphyContentRating,omitempty"`
}
TeamFunSettings struct for TeamFunSettings
type TeamGuestSettings ¶
type TeamGuestSettings struct {
// If set to true, guests can add and update channels.
AllowCreateUpdateChannels *bool `json:"allowCreateUpdateChannels,omitempty"`
// If set to true, guests can delete channels.
AllowDeleteChannels *bool `json:"allowDeleteChannels,omitempty"`
}
TeamGuestSettings struct for TeamGuestSettings
type TeamMemberSettings ¶
type TeamMemberSettings struct {
// If set to true, members can add and remove apps.
AllowAddRemoveApps *bool `json:"allowAddRemoveApps,omitempty"`
// If set to true, members can add and update private channels.
AllowCreatePrivateChannels *bool `json:"allowCreatePrivateChannels,omitempty"`
// If set to true, members can add and update channels.
AllowCreateUpdateChannels *bool `json:"allowCreateUpdateChannels,omitempty"`
// If set to true, members can add, update, and remove connectors.
AllowCreateUpdateRemoveConnectors *bool `json:"allowCreateUpdateRemoveConnectors,omitempty"`
// If set to true, members can add, update, and remove tabs.
AllowCreateUpdateRemoveTabs *bool `json:"allowCreateUpdateRemoveTabs,omitempty"`
// If set to true, members can delete channels.
AllowDeleteChannels *bool `json:"allowDeleteChannels,omitempty"`
}
TeamMemberSettings struct for TeamMemberSettings
type TeamMessagingSettings ¶
type TeamMessagingSettings struct {
// If set to true, @channel mentions are allowed.
AllowChannelMentions *bool `json:"allowChannelMentions,omitempty"`
// If set to true, owners can delete any message.
AllowOwnerDeleteMessages *bool `json:"allowOwnerDeleteMessages,omitempty"`
// If set to true, @team mentions are allowed.
AllowTeamMentions *bool `json:"allowTeamMentions,omitempty"`
// If set to true, users can delete their messages.
AllowUserDeleteMessages *bool `json:"allowUserDeleteMessages,omitempty"`
// If set to true, users can edit their messages.
AllowUserEditMessages *bool `json:"allowUserEditMessages,omitempty"`
}
TeamMessagingSettings struct for TeamMessagingSettings
type TeamSpecialization ¶
type TeamSpecialization string
TeamSpecialization the model 'TeamSpecialization'
const ( TeamSpecialization_NONE TeamSpecialization = "none" TeamSpecialization_EDUCATION_STANDARD TeamSpecialization = "educationStandard" TeamSpecialization_EDUCATION_CLASS TeamSpecialization = "educationClass" TeamSpecialization_EDUCATION_PROFESSIONAL_LEARNING_COMMUNITY TeamSpecialization = "educationProfessionalLearningCommunity" TeamSpecialization_EDUCATION_STAFF TeamSpecialization = "educationStaff" TeamSpecialization_HEALTHCARE_STANDARD TeamSpecialization = "healthcareStandard" TeamSpecialization_HEALTHCARE_CARE_COORDINATION TeamSpecialization = "healthcareCareCoordination" TeamSpecialization_UNKNOWN_FUTURE_VALUE TeamSpecialization = "unknownFutureValue" )
List of microsoft.graph.teamSpecialization
func (*TeamSpecialization) UnmarshalJSON ¶
func (v *TeamSpecialization) UnmarshalJSON(src []byte) error
type TeamVisibilityType ¶
type TeamVisibilityType string
TeamVisibilityType the model 'TeamVisibilityType'
const ( TeamVisibilityType_PRIVATE TeamVisibilityType = "private" TeamVisibilityType_PUBLIC TeamVisibilityType = "public" TeamVisibilityType_HIDDEN_MEMBERSHIP TeamVisibilityType = "hiddenMembership" TeamVisibilityType_UNKNOWN_FUTURE_VALUE TeamVisibilityType = "unknownFutureValue" )
List of microsoft.graph.teamVisibilityType
func (*TeamVisibilityType) UnmarshalJSON ¶
func (v *TeamVisibilityType) UnmarshalJSON(src []byte) error
type TeamsApp ¶
type TeamsApp struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The name of the catalog app provided by the app developer in the Microsoft Teams zip app package.
DisplayName *string `json:"displayName,omitempty"`
// The method of distribution for the app. Read-only.
DistributionMethod *TeamsAppDistributionMethod `json:"distributionMethod,omitempty"`
// The ID of the catalog provided by the app developer in the Microsoft Teams zip app package.
ExternalId *string `json:"externalId,omitempty"`
// The details for each version of the app.
AppDefinitions *[]TeamsAppDefinition `json:"appDefinitions,omitempty"`
}
TeamsApp struct for TeamsApp
type TeamsAppDefinition ¶
type TeamsAppDefinition struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The name of the app provided by the app developer.
DisplayName *string `json:"displayName,omitempty"`
// The ID from the Teams app manifest.
TeamsAppId *string `json:"teamsAppId,omitempty"`
// The version number of the application.
Version *string `json:"version,omitempty"`
}
TeamsAppDefinition struct for TeamsAppDefinition
type TeamsAppDistributionMethod ¶
type TeamsAppDistributionMethod string
TeamsAppDistributionMethod the model 'TeamsAppDistributionMethod'
const ( AppDistributionMethod_STORE TeamsAppDistributionMethod = "store" AppDistributionMethod_ORGANIZATION TeamsAppDistributionMethod = "organization" AppDistributionMethod_SIDELOADED TeamsAppDistributionMethod = "sideloaded" AppDistributionMethod_UNKNOWN_FUTURE_VALUE TeamsAppDistributionMethod = "unknownFutureValue" )
List of microsoft.graph.teamsAppDistributionMethod
func (*TeamsAppDistributionMethod) UnmarshalJSON ¶
func (v *TeamsAppDistributionMethod) UnmarshalJSON(src []byte) error
type TeamsAppInstallation ¶
type TeamsAppInstallation struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
TeamsAppInstallation struct for TeamsAppInstallation
type TeamsAsyncOperation ¶
type TeamsAsyncOperation struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
TeamsAsyncOperation struct for TeamsAsyncOperation
type TeamsTemplate ¶
type TeamsTemplate struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
TeamsTemplate struct for TeamsTemplate
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"`
}
TextColumn struct for TextColumn
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"`
}
TimeRange struct for TimeRange
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 Todo ¶
type Todo struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The task lists in the users mailbox.
Lists *[]TodoTaskList `json:"lists,omitempty"`
}
Todo struct for Todo
type TodoTask ¶
type TodoTask struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The task body that typically contains information about the task.
Body *ItemBody `json:"body,omitempty"`
// The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
BodyLastModifiedDateTime *time.Time `json:"bodyLastModifiedDateTime,omitempty"`
// The date in the specified time zone that the task was finished.
CompletedDateTime *DateTimeTimeZone `json:"completedDateTime,omitempty"`
// The date and time when the task was created. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// The date in the specified time zone that the task is to be finished.
DueDateTime *DateTimeTimeZone `json:"dueDateTime,omitempty"`
// The importance of the task. Possible values are: low, normal, high.
Importance **Importance `json:"importance,omitempty"`
// Set to true if an alert is set to remind the user of the task.
IsReminderOn *bool `json:"isReminderOn,omitempty"`
// The date and time when the task was last modified. By default, it is in UTC. You can provide a custom time zone in the request header. The property value uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2020 would look like this: '2020-01-01T00:00:00Z'.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// The recurrence pattern for the task.
Recurrence *PatternedRecurrence `json:"recurrence,omitempty"`
// The date and time for a reminder alert of the task to occur.
ReminderDateTime *DateTimeTimeZone `json:"reminderDateTime,omitempty"`
// Indicates the state or progress of the task. Possible values are: notStarted, inProgress, completed, waitingOnOthers, deferred.
Status **TaskStatus `json:"status,omitempty"`
// A brief description of the task.
Title *string `json:"title,omitempty"`
// The collection of open extensions defined for the task. Nullable.
Extensions *[]Extension `json:"extensions,omitempty"`
// A collection of resources linked to the task.
LinkedResources *[]LinkedResource `json:"linkedResources,omitempty"`
}
TodoTask struct for TodoTask
type TodoTaskList ¶
type TodoTaskList struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The name of the task list.
DisplayName *string `json:"displayName,omitempty"`
// True if the user is owner of the given task list.
IsOwner *bool `json:"isOwner,omitempty"`
IsShared *bool `json:"isShared,omitempty"`
// Property indicating the list name if the given list is a well-known list. Possible values are: none, defaultList, flaggedEmails, unknownFutureValue.
WellknownListName *WellknownListName `json:"wellknownListName,omitempty"`
// The collection of open extensions defined for the task list. Nullable.
Extensions *[]Extension `json:"extensions,omitempty"`
// The tasks in this task list. Read-only. Nullable.
Tasks *[]TodoTask `json:"tasks,omitempty"`
}
TodoTaskList struct for TodoTaskList
type Trending ¶
type Trending struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
Trending struct for Trending
type UsedInsight ¶
type UsedInsight struct {
// Read-only.
Id *string `json:"id,omitempty"`
}
UsedInsight struct for UsedInsight
type User ¶
type User struct {
// Read-only.
Id *string `json:"id,omitempty"`
DeletedDateTime *time.Time `json:"deletedDateTime,omitempty"`
// true if the account is enabled; otherwise, false. This property is required when a user is created. 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.
AgeGroup *string `json:"ageGroup,omitempty"`
// The licenses that are assigned to the user. Not nullable.
AssignedLicenses *[]AssignedLicense `json:"assignedLicenses,omitempty"`
// The plans that are assigned to the user. Read-only. Not nullable.
AssignedPlans *[]AssignedPlan `json:"assignedPlans,omitempty"`
// The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory. Returned by default.
BusinessPhones *[]string `json:"businessPhones,omitempty"`
// The city in which the user is located. 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 chararcters.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.
ConsentProvidedForMinor *string `json:"consentProvidedForMinor,omitempty"`
// The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter.
Country *string `json:"country,omitempty"`
// The created date of the user object.
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). Read-only.
CreationType *string `json:"creationType,omitempty"`
// The name for the department in which the user works. Supports $filter.
Department *string `json:"department,omitempty"`
// The name displayed in the address book for the user. This 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 *time.Time `json:"externalUserStateChangeDateTime,omitempty"`
// The fax number of the user.
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. 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"`
// 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 date and time information 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'
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.
LegalAgeGroupClassification *string `json:"legalAgeGroupClassification,omitempty"`
// State of license assignments for this user. 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. Supports $filter.
MailNickname *string `json:"mailNickname,omitempty"`
// The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Returned by default.
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. 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. 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. 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.
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. 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 would look like this: '2014-01-01T00:00:00Z'. Read-only.
OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
// Errors when using Microsoft synchronization product during provisioning.
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. 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. 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). 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. Read-only.
OnPremisesUserPrincipalName *string `json:"onPremisesUserPrincipalName,omitempty"`
// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. 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'.
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.
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.
PostalCode *string `json:"postalCode,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. 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. Read-only, Not nullable. Supports $filter.
ProxyAddresses *[]string `json:"proxyAddresses,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.
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. Read-only. Use revokeSignInSessions to reset.
SignInSessionsValidFromDateTime *time.Time `json:"signInSessionsValidFromDateTime,omitempty"`
// The state or province in the user's address. Supports $filter.
State *string `json:"state,omitempty"`
// The street address of the user's place of business.
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. 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'. 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.
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.
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 would look like this: '2014-01-01T00:00:00Z'
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 would look like this: '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.
Interests *[]string `json:"interests,omitempty"`
// The URL for the user's personal site.
MySite *string `json:"mySite,omitempty"`
// A list for the user to enumerate their past projects.
PastProjects *[]string `json:"pastProjects,omitempty"`
// The preferred name for the user.
PreferredName *string `json:"preferredName,omitempty"`
// A list for the user to enumerate their responsibilities.
Responsibilities *[]string `json:"responsibilities,omitempty"`
// A list for the user to enumerate the schools they have attended.
Schools *[]string `json:"schools,omitempty"`
// A list for the user to enumerate their skills.
Skills *[]string `json:"skills,omitempty"`
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 and directory roles 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"`
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"`
// 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"`
// Read-only.
Outlook *OutlookUser `json:"outlook,omitempty"`
// People that are relevant to the user. Read-only. Nullable.
People *[]Person `json:"people,omitempty"`
// The user's profile photo. Read-only.
Photo *ProfilePhoto `json:"photo,omitempty"`
Photos *[]ProfilePhoto `json:"photos,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. Read-only. Nullable.
Extensions *[]Extension `json:"extensions,omitempty"`
// The managed devices associated with the user.
ManagedDevices *[]ManagedDevice `json:"managedDevices,omitempty"`
// Zero or more managed app registrations that belong to the user.
ManagedAppRegistrations *[]ManagedAppRegistration `json:"managedAppRegistrations,omitempty"`
// The list of troubleshooting events for this user.
DeviceManagementTroubleshootingEvents *[]DeviceManagementTroubleshootingEvent `json:"deviceManagementTroubleshootingEvents,omitempty"`
// Entry-point to the Planner resource that might exist for a user. Read-only.
Planner *PlannerUser `json:"planner,omitempty"`
// Read-only. Nullable.
Insights *OfficeGraphInsights `json:"insights,omitempty"`
Settings *UserSettings `json:"settings,omitempty"`
// Read-only.
Onenote *Onenote `json:"onenote,omitempty"`
// The user's activities across devices. Read-only. Nullable.
Activities *[]UserActivity `json:"activities,omitempty"`
OnlineMeetings *[]OnlineMeeting `json:"onlineMeetings,omitempty"`
Presence *Presence `json:"presence,omitempty"`
JoinedTeams *[]Team `json:"joinedTeams,omitempty"`
Teamwork *UserTeamwork `json:"teamwork,omitempty"`
// Represents the To Do services available to a user.
Todo *Todo `json:"todo,omitempty"`
AdditionalData map[string]json.RawMessage `json:"-"`
}
User struct for User
func (*User) UnmarshalJSON ¶
UnmarshalJSON unmarshal json data into UserResponse struct. Any unknown data will not be thrown away but placed into AdditionalData. This could be useful when selecting schema extensions attributes.
type UserActivity ¶
type UserActivity struct {
// Read-only.
Id *string `json:"id,omitempty"`
// Required. URL used to launch the activity in the best native experience represented by the appId. Might launch a web-based app if no native app exists.
ActivationUrl *string `json:"activationUrl,omitempty"`
// Required. URL for the domain representing the cross-platform identity mapping for the app. Mapping is stored either as a JSON file hosted on the domain or configurable via Windows Dev Center. The JSON file is named cross-platform-app-identifiers and is hosted at root of your HTTPS domain, either at the top level domain or include a sub domain. For example: https://contoso.com or https://myapp.contoso.com but NOT https://myapp.contoso.com/somepath. You must have a unique file and domain (or sub domain) per cross-platform app identity. For example, a separate file and domain is needed for Word vs. PowerPoint.
ActivitySourceHost *string `json:"activitySourceHost,omitempty"`
// Required. The unique activity ID in the context of the app - supplied by caller and immutable thereafter.
AppActivityId *string `json:"appActivityId,omitempty"`
// Optional. Short text description of the app used to generate the activity for use in cases when the app is not installed on the user’s local device.
AppDisplayName *string `json:"appDisplayName,omitempty"`
// Optional. A custom piece of data - JSON-LD extensible description of content according to schema.org syntax.
ContentInfo *interface{} `json:"contentInfo,omitempty"`
// Optional. Used in the event the content can be rendered outside of a native or web-based app experience (for example, a pointer to an item in an RSS feed).
ContentUrl *string `json:"contentUrl,omitempty"`
// Set by the server. DateTime in UTC when the object was created on the server.
CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
// Set by the server. DateTime in UTC when the object expired on the server.
ExpirationDateTime *time.Time `json:"expirationDateTime,omitempty"`
// Optional. URL used to launch the activity in a web-based app, if available.
FallbackUrl *string `json:"fallbackUrl,omitempty"`
// Set by the server. DateTime in UTC when the object was modified on the server.
LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
// Set by the server. A status code used to identify valid objects. Values: active, updated, deleted, ignored.
Status *Status `json:"status,omitempty"`
// Optional. The timezone in which the user's device used to generate the activity was located at activity creation time; values supplied as Olson IDs in order to support cross-platform representation.
UserTimezone *string `json:"userTimezone,omitempty"`
VisualElements *VisualInfo `json:"visualElements,omitempty"`
// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems.
HistoryItems *[]ActivityHistoryItem `json:"historyItems,omitempty"`
}
UserActivity struct for UserActivity
type UserScopeTeamsAppInstallation ¶
type UserScopeTeamsAppInstallation struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The app that is installed.
TeamsApp *TeamsApp `json:"teamsApp,omitempty"`
// The details of this version of the app.
TeamsAppDefinition *TeamsAppDefinition `json:"teamsAppDefinition,omitempty"`
// The chat between the user and Teams app.
Chat *Chat `json:"chat,omitempty"`
}
UserScopeTeamsAppInstallation struct for UserScopeTeamsAppInstallation
type UserSettings ¶
type UserSettings struct {
// Read-only.
Id *string `json:"id,omitempty"`
ContributionToContentDiscoveryAsOrganizationDisabled *bool `json:"contributionToContentDiscoveryAsOrganizationDisabled,omitempty"`
ContributionToContentDiscoveryDisabled *bool `json:"contributionToContentDiscoveryDisabled,omitempty"`
ShiftPreferences *ShiftPreferences `json:"shiftPreferences,omitempty"`
}
UserSettings struct for UserSettings
type UserTeamwork ¶
type UserTeamwork struct {
// Read-only.
Id *string `json:"id,omitempty"`
// The apps installed in the personal scope of this user.
InstalledApps *[]UserScopeTeamsAppInstallation `json:"installedApps,omitempty"`
}
UserTeamwork struct for UserTeamwork
type VisualInfo ¶
type VisualInfo struct {
// Optional. JSON object used to represent an icon which represents the application used to generate the activity
Attribution *ImageInfo `json:"attribution,omitempty"`
// Optional. Background color used to render the activity in the UI - brand color for the application source of the activity. Must be a valid hex color
BackgroundColor *string `json:"backgroundColor,omitempty"`
// Optional. Custom piece of data - JSON object used to provide custom content to render the activity in the Windows Shell UI
Content *interface{} `json:"content,omitempty"`
// Optional. Longer text description of the user's unique activity (example: document name, first sentence, and/or metadata)
Description *string `json:"description,omitempty"`
// Required. Short text description of the user's unique activity (for example, document name in cases where an activity refers to document creation)
DisplayText *string `json:"displayText,omitempty"`
}
VisualInfo struct for VisualInfo
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"`
}
Website struct for Website
type WebsiteType ¶
type WebsiteType string
WebsiteType the model 'WebsiteType'
const ( WebsiteType_OTHER WebsiteType = "other" WebsiteType_HOME WebsiteType = "home" WebsiteType_WORK WebsiteType = "work" WebsiteType_BLOG WebsiteType = "blog" WebsiteType_PROFILE WebsiteType = "profile" )
List of microsoft.graph.websiteType
func (*WebsiteType) UnmarshalJSON ¶
func (v *WebsiteType) UnmarshalJSON(src []byte) error
type WeekIndex ¶
type WeekIndex string
WeekIndex the model 'WeekIndex'
const ( FIRST WeekIndex = "first" SECOND WeekIndex = "second" THIRD WeekIndex = "third" FOURTH WeekIndex = "fourth" LAST WeekIndex = "last" )
List of microsoft.graph.weekIndex
func (*WeekIndex) UnmarshalJSON ¶
type WellknownListName ¶
type WellknownListName string
WellknownListName the model 'WellknownListName'
const ( WELLKNOWNLISTNAME_NONE WellknownListName = "none" WELLKNOWNLISTNAME_DEFAULT_LIST WellknownListName = "defaultList" WELLKNOWNLISTNAME_FLAGGED_EMAILS WellknownListName = "flaggedEmails" WELLKNOWNLISTNAME_UNKNOWN_FUTURE_VALUE WellknownListName = "unknownFutureValue" )
List of microsoft.graph.wellknownListName
func (*WellknownListName) UnmarshalJSON ¶
func (v *WellknownListName) 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"`
}
WorkingHours struct for WorkingHours
Source Files
¶
- app_registration.go
- app_role_assignment.go
- assigned_license.go
- assigned_plan.go
- automatic_replies_setting.go
- automatic_replies_status.go
- calendar.go
- calendar_color.go
- calendar_group.go
- calendar_permission.go
- calendar_role_type.go
- contact.go
- contact_folder.go
- datetime_timezone.go
- day_of_week.go
- delegate_meeting_message_delivery_options.go
- device_management_troubleshooting_event.go
- directory_object.go
- directory_role.go
- directory_role_template.go
- drive.go
- drive_item.go
- drive_list.go
- email_address.go
- employee_org_data.go
- event.go
- extension.go
- external_audience_scope.go
- graph_presence.go
- group.go
- identity.go
- identity_set.go
- inference_classification.go
- item_reference.go
- license_assignment_state.go
- license_details.go
- locale_info.go
- mail_folder.go
- mailbox_settings.go
- managed_app_flagged_reason.go
- managed_app_operation.go
- managed_app_policy.go
- managed_device.go
- message.go
- multi_value_legacy_extended_property.go
- oauth2_permission_grant.go
- object_data.go
- object_identity.go
- office_graph_insights.go
- on_premises_extension_attributes.go
- on_premises_provisioning_error.go
- one_note.go
- online_meeting.go
- online_meeting_provider_type.go
- outlook_folder.go
- password_profile.go
- patterned_recurrence.go
- person.go
- physical_address.go
- plan_info.go
- planner_plan.go
- planner_user.go
- profile_photo.go
- provisioned_plan.go
- quota.go
- recurrence_pattern_type.go
- recurrence_range.go
- recurrence_range_type.go
- schema_extentions.go
- scoped_role_membership.go
- shift_availability.go
- single_value_legacy_extended_property.go
- site.go
- team.go
- time_range.go
- time_zone_base.go
- todo.go
- todo_task.go
- todo_task_list.go
- user.go
- user_activity.go
- user_settings.go
- user_teamwork.go
- week_index.go
- wellknown_list_name.go
- working_hours.go