models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddIn

type AddIn struct {
	ID         *string          `json:"id,omitempty"`
	Properties *[]AddInKeyValue `json:"properties,omitempty"`
	Type       *string          `json:"type,omitempty"`
}

type AddInKeyValue

type AddInKeyValue struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

type Application

type Application struct {
	ID                         *string                              `json:"id,omitempty,readonly"`
	AddIns                     *[]AddIn                             `json:"addIns,omitempty"`
	Api                        *ApplicationApi                      `json:"api,omitempty"`
	AppId                      *string                              `json:"appId,omitempty"`
	AppRoles                   *[]ApplicationAppRole                `json:"appRoles,omitempty"`
	CreatedDateTime            *time.Time                           `json:"createdDateTime,omitempty,readonly"`
	DeletedDateTime            *time.Time                           `json:"deletedDateTime,omitempty,readonly"`
	DisplayName                *string                              `json:"displayName,omitempty"`
	GroupMembershipClaims      *string                              `json:"groupMembershipClaims,omitempty"`
	IdentifierUris             *[]string                            `json:"identifierUris,omitempty"`
	Info                       *InformationalUrl                    `json:"info,omitempty"`
	IsFallbackPublicClient     *bool                                `json:"isFallbackPublicCLient,omitempty"`
	KeyCredentials             *[]KeyCredential                     `json:"keyCredentials,omitempty"`
	Oauth2RequiredPostResponse *bool                                `json:"oauth2RequiredPostResponse,omitempty"`
	OnPremisesPublishing       *ApplicationOnPremisesPublishing     `json:"onPremisePublishing,omitempty"`
	OptionalClaims             *ApplicationOptionalClaims           `json:"optionalClaims,omitempty"`
	ParentalControlSettings    *ParentalControlSettings             `json:"parentalControlSettings,omitempty"`
	PasswordCredentials        *[]PasswordCredential                `json:"passwordCredentials,omitempty"`
	PublicClient               *ApplicationPublicClient             `json:"publicClient,omitempty"`
	PublisherDomain            *string                              `json:"publisherDomain,omitempty"`
	RequiredResourceAccess     *[]ApplicationRequiredResourceAccess `json:"requiredResourceAccess,omitempty"`
	SignInAudience             SignInAudience                       `json:"signInAudience,omitempty"`
	Tags                       *[]string                            `json:"tags,omitempty"`
	TokenEncryptionKeyId       *string                              `json:"tokenEncryptionKeyId,omitempty"`
	Web                        *ApplicationWeb                      `json:"web,omitempty"`

	Owners *[]string `json:"owners@odata.bind,omitempty"`
}

Application describes an Application object.

func (*Application) AppendAppRole

func (a *Application) AppendAppRole(role ApplicationAppRole) error

AppendAppRole adds a new ApplicationAppRole to an Application, checking to see if it already exists.

func (*Application) AppendOwner

func (a *Application) AppendOwner(endpoint environments.MsGraphEndpoint, apiVersion base.ApiVersion, id string)

AppendOwner appends a new owner object URI to the Owners slice.

func (*Application) RemoveAppRole

func (a *Application) RemoveAppRole(role ApplicationAppRole) error

RemoveAppRole removes an ApplicationAppRole from an Application.

func (*Application) UpdateAppRole

func (a *Application) UpdateAppRole(role ApplicationAppRole) error

UpdateAppRole amends an existing ApplicationAppRole defined in an Application.

type ApplicationApi

type ApplicationApi struct {
	AcceptMappedClaims          *bool                                     `json:"acceptMappedClaims,omitempty"`
	KnownClientApplications     *[]string                                 `json:"knownClientApplications,omitempty"`
	OAuth2PermissionScopes      *[]PermissionScope                        `json:"oauth2PermissionScopes,omitempty"`
	PreAuthorizedApplications   *[]ApplicationApiPreAuthorizedApplication `json:"preAuthorizedApplications,omitempty"`
	RequestedAccessTokenVersion *int32                                    `json:"requestedAccessTokenVersion,omitempty"`
}

type ApplicationApiPreAuthorizedApplication

type ApplicationApiPreAuthorizedApplication struct {
	AppId         *string   `json:"appId,omitempty"`
	PermissionIds *[]string `json:"permissionIds,omitempty"`
}

type ApplicationAppRole

type ApplicationAppRole struct {
	ID                 *string   `json:"id,omitempty"`
	AllowedMemberTypes *[]string `json:"allowedMemberTypes,omitempty"`
	Description        *string   `json:"description,omitempty"`
	DisplayName        *string   `json:"displayName,omitempty"`
	IsEnabled          *bool     `json:"isEnabled,omitempty"`
	Origin             *string   `json:"origin,omitempty"`
	Value              *string   `json:"value,omitempty"`
}

type ApplicationImplicitGrantSettings

type ApplicationImplicitGrantSettings struct {
	EnableAccessTokenIssuance *bool `json:"enableAccessTokenIssuance,omitempty"`
	EnableIdTokenIssuance     *bool `json:"enableIdTokenIssuance,omitempty"`
}

type ApplicationKerberosSignOnSettings

type ApplicationKerberosSignOnSettings struct {
	ServicePrincipalName       *string `json:"kerberosServicePrincipalName,omitempty"`
	SignOnMappingAttributeType *string `jsonL:"kerberosSignOnMappingAttributeType,omitempty"`
}

type ApplicationOnPremisesPublishing

type ApplicationOnPremisesPublishing struct {
	AlternateUrl                  *string `json:"alternateUrl,omitempty"`
	ApplicationServerTimeout      *string `json:"applicationServerTimeout,omitempty"`
	ApplicationType               *string `json:"applicationType,omitempty"`
	ExternalAuthenticationType    *string `json:"externalAuthenticationType,omitempty"`
	ExternalUrl                   *string `json:"externalUrl,omitempty"`
	InternalUrl                   *string `json:"internalUrl,omitempty"`
	IsHttpOnlyCookieEnabled       *bool   `json:"isHttpOnlyCookieEnabled,omitempty"`
	IsOnPremPublishingEnabled     *bool   `json:"isOnPremPublishingEnabled,omitempty"`
	IsPersistentCookieEnabled     *bool   `json:"isPersistentCookieEnabled,omitempty"`
	IsSecureCookieEnabled         *bool   `json:"isSecureCookieEnabled,omitempty"`
	IsTranslateHostHeaderEnabled  *bool   `json:"isTranslateHostHeaderEnabled,omitempty"`
	IsTranslateLinksInBodyEnabled *bool   `json:"isTranslateLinksInBodyEnabled,omitempty"`

	SingleSignOnSettings                     *ApplicationOnPremisesPublishingSingleSignOn                             `json:"singleSignOnSettings,omitempty"`
	VerifiedCustomDomainCertificatesMetadata *ApplicationOnPremisesPublishingVerifiedCustomDomainCertificatesMetadata `json:"verifiedCustomDomainCertificatesMetadata,omitempty"`
	VerifiedCustomDomainKeyCredential        *KeyCredential                                                           `json:"verifiedCustomDomainKeyCredential,omitempty"`
	VerifiedCustomDomainPasswordCredential   *PasswordCredential                                                      `json:"verifiedCustomDomainPasswordCredential,omitempty"`
}

type ApplicationOnPremisesPublishingSingleSignOn

type ApplicationOnPremisesPublishingSingleSignOn struct {
	KerberosSignOnSettings *ApplicationKerberosSignOnSettings `json:"kerberosSignOnSettings,omitempty"`
	SingleSignOnMode       *string                            `json:"singleSignOnMode,omitempty"`
}

type ApplicationOnPremisesPublishingVerifiedCustomDomainCertificatesMetadata

type ApplicationOnPremisesPublishingVerifiedCustomDomainCertificatesMetadata struct {
	ExpiryDate  *time.Time `json:"expiryDate,omitempty,readonly"`
	IssueDate   *time.Time `json:"issueDate,omitempty,readonly"`
	IssuerName  *string    `json:"issuerName,omitempty"`
	SubjectName *string    `json:"subjectName,omitempty"`
	Thumbprint  *string    `json:"thumbprint,omitempty"`
}

type ApplicationOptionalClaim

type ApplicationOptionalClaim struct {
	AdditionalProperties *[]string `json:"additionalProperties,omitempty"`
	Essential            *bool     `json:"essential,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	Source               *string   `json:"source,omitempty"`
}

type ApplicationOptionalClaims

type ApplicationOptionalClaims struct {
	AccessToken *[]ApplicationOptionalClaim `json:"accessToken,omitempty"`
	IdToken     *[]ApplicationOptionalClaim `json:"idToken,omitempty"`
	Saml2Token  *[]ApplicationOptionalClaim `json:"saml2Token,omitempty"`
}

type ApplicationPublicClient

type ApplicationPublicClient struct {
	RedirectUris *[]string `json:"redirectUris,omitempty"`
}

type ApplicationRequiredResourceAccess

type ApplicationRequiredResourceAccess struct {
	ResourceAccess *[]ApplicationResourceAccess `json:"resourceAccess,omitempty"`
	ResourceAppId  *string                      `json:"resourceAppId,omitempty"`
}

type ApplicationResourceAccess

type ApplicationResourceAccess struct {
	ID   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
}

type ApplicationWeb

type ApplicationWeb struct {
	HomePageUrl           *string                           `json:"homePageUrl"`
	ImplicitGrantSettings *ApplicationImplicitGrantSettings `json:"implicitGrantSettings,omitempty"`
	LogoutUrl             *string                           `json:"logoutUrl"`
	RedirectUris          *[]string                         `json:"redirectUris,omitempty"`
}

type Domain

type Domain struct {
	ID                               *string   `json:"id,omitempty,readonly"`
	AuthenticationType               *string   `json:"authenticationType,omitempty,readonly"`
	IsAdminManaged                   *bool     `json:"isAdminManaged,omitempty,readonly"`
	IsDefault                        *bool     `json:"isDefault,omitempty,readonly"`
	IsInitial                        *bool     `json:"isInitial,omitempty,readonly"`
	IsRoot                           *bool     `json:"isRoot,omitempty,readonly"`
	IsVerified                       *bool     `json:"isVerified,omitempty,readonly"`
	PasswordNotificationWindowInDays *int      `json:"passwordNotificationWindowInDays,omitempty"`
	PasswordValidityPeriodInDays     *int      `json:"passwordValidityPeriodInDays,omitempty"`
	SupportedServices                *[]string `json:"supportedServices,omitempty,readonly"`

	State *DomainState `json:"state,omitempty,readonly"`
}

Domain describes a Domain object.

type DomainState

type DomainState struct {
	LastActionDateTime *time.Time `json:"lastActionDateTime,omitempty,readonly"`
	Operation          *string    `json:"operation,omitempty,readonly"`
	Status             *string    `json:"status,omitempty,readonly"`
}

type Error

type Error struct {
	Error struct {
		Code       string `json:"code,readonly"`
		Message    string `json:"message,readonly"`
		InnerError struct {
			Date            string `json:"date,readonly"`
			RequestId       string `json:"request-id,readonly"`
			ClientRequestId string `json:"client-request-id,readonly"`
		} `json:"innerError,readonly"`
	} `json:"error,readonly"`
}

Error is used to unmarshal an error response from Microsoft Graph.

type Group

type Group struct {
	ID                            *string                             `json:"id,omitempty,readonly"`
	AllowExternalSenders          *string                             `json:"allowExternalSenders,omitempty"`
	AssignedLabels                *[]GroupAssignedLabel               `json:"assignedLabels,omitempty"`
	AssignedLicenses              *[]GroupAssignedLicense             `json:"assignLicenses,omitempty"`
	AutoSubscribeNewMembers       *bool                               `json:"autoSubscribeNewMembers,omitempty"`
	Classification                *string                             `json:"classification,omitempty"`
	CreatedDateTime               *time.Time                          `json:"createdDateTime,omitempty,readonly"`
	DeletedDateTime               *time.Time                          `json:"deletedDateTime,omitempty,readonly"`
	Description                   *string                             `json:"description,omitempty"`
	DisplayName                   *string                             `json:"displayName,omitempty"`
	ExpirationDateTime            *time.Time                          `json:"expirationDateTime,omitempty,readonly"`
	GroupTypes                    *[]string                           `json:"groupTypes,omitempty"`
	HasMembersWithLicenseErrors   *bool                               `json:"hasMembersWithLicenseErrors,omitempty"`
	HideFromAddressLists          *bool                               `json:"hideFromAddressLists,omitempty"`
	HideFromOutlookClients        *bool                               `json:"hideFromOutlookClients,omitempty"`
	IsSubscribedByMail            *bool                               `json:"isSubscribedByMail,omitempty"`
	LicenseProcessingState        *string                             `json:"licenseProcessingState,omitempty,readonly"`
	Mail                          *string                             `json:"mail,omitempty"`
	MailEnabled                   *bool                               `json:"mailEnabled,omitempty"`
	MailNickname                  *string                             `json:"mailNickname,omitempty"`
	MembershipRule                *string                             `json:"membershipRule,omitempty"`
	MembershipRuleProcessingState *string                             `json:"membershipRuleProcessingState,omitempty"`
	OnPremisesDomainName          *string                             `json:"onPremisesDomainName,omitempty,readonly"`
	OnPremisesLastSyncDateTime    *time.Time                          `json:"onPremisesLastSyncDateTime,omitempty,readonly"`
	OnPremisesNetBiosName         *string                             `json:"onPremisesNetBiosName,omitempty,readonly"`
	OnPremisesProvisioningErrors  *[]GroupOnPremisesProvisioningError `json:"onPremisesProvisioningErrors,omitempty"`
	OnPremisesSamAccountName      *string                             `json:"onPremisesSamAccountName,omitempty,readonly"`
	OnPremisesSecurityIdentifier  *string                             `json:"onPremisesSecurityIdentifier,omitempty,readonly"`
	OnPremisesSyncEnabled         *bool                               `json:"onPremisesSyncEnabled,omitempty,readonly"`
	PreferredDataLocation         *string                             `json:"preferredDataLocation,omitempty"`
	PreferredLanguage             *string                             `json:"preferredLanguage,omitempty"`
	ProxyAddresses                *[]string                           `json:"proxyAddresses,omitempty,readonly"`
	RenewedDateTime               *time.Time                          `json:"renewedDateTime,omitempty,readonly"`
	SecurityEnabled               *bool                               `json:"securityEnabled,omitempty"`
	SecurityIdentifier            *string                             `json:"securityIdentifier,omitempty"`
	Theme                         *string                             `json:"theme,omitempty"`
	UnseenCount                   *int                                `json:"unseenCount,omitempty,readonly"`
	Visibility                    *string                             `json:"visibility,omitempty"`

	Members *[]string `json:"members@odata.bind,omitempty"`
	Owners  *[]string `json:"owners@odata.bind,omitempty"`
}

Group describes a Group object.

func (*Group) AppendMember

func (g *Group) AppendMember(endpoint environments.MsGraphEndpoint, apiVersion base.ApiVersion, id string)

AppendMember appends a new member object URI to the Members slice.

func (*Group) AppendOwner

func (g *Group) AppendOwner(endpoint environments.MsGraphEndpoint, apiVersion base.ApiVersion, id string)

AppendOwner appends a new owner object URI to the Owners slice.

type GroupAssignedLabel

type GroupAssignedLabel struct {
	LabelId     *string `json:"labelId, omitempty"`
	DisplayName *string `json:"displayNanme,omitempty"`
}

type GroupAssignedLicense

type GroupAssignedLicense struct {
	DisabledPlans *[]string `json:"disabledPlans, omitempty"`
	SkuId         *string   `json:"skuId,omitempty"`
}

type GroupOnPremisesProvisioningError

type GroupOnPremisesProvisioningError struct {
	Category             *string   `json:"category,omitempty"`
	OccurredDateTime     time.Time `json:"occurredDateTime,omitempty"`
	PropertyCausingError *string   `json:"propertyCausingError,omitempty"`
	Value                *string   `json:"value,omitempty"`
}

type InformationalUrl

type InformationalUrl struct {
	LogoUrl             *string `json:"logoUrl,omitempty`
	MarketingUrl        *string `json:"marketingUrl"`
	PrivacyStatementUrl *string `json:"privacyStatementUrl"`
	SupportUrl          *string `json:"supportUrl"`
	TermsOfServiceUrl   *string `json:"termsOfServiceUrl"`
}

type KeyCredential

type KeyCredential struct {
	CustomKeyIdentifier *string    `json:"customKeyIdentifier,omitempty"`
	DisplayName         *string    `json:"displayName,omitempty"`
	EndDateTime         *time.Time `json:"endDateTime,omitempty,readonly"`
	KeyId               *string    `json:"keyId,omitempty"`
	StartDateTime       *time.Time `json:"startDateTime,omitempty,readonly"`
	Type                *string    `json:"type,omitempty"`
	Usage               *string    `json:"usage,omitempty"`
	Key                 *string    `json:"key,omitempty"`
}

KeyCredential describes a key (certificate) credential for an object.

type Me

type Me struct {
	ID                *string `json:"id,readonly"`
	DisplayName       *string `json:"displayName,readonly"`
	UserPrincipalName *string `json:"userPrincipalName,readonly"`
}

Me describes the authenticated user.

type ParentalControlSettings

type ParentalControlSettings struct {
	CountriesBlockedForMinors *[]string `json:"countriesBlockedForMinors,omitempty"`
	LegalAgeGroupRule         *string   `json:"legalAgeGroupRule,omitempty"`
}

type PasswordCredential

type PasswordCredential struct {
	CustomKeyIdentifier *string    `json:"customKeyIdentifier,omitempty"`
	DisplayName         *string    `json:"displayName,omitempty"`
	EndDateTime         *time.Time `json:"endDateTime,omitempty,readonly"`
	Hint                *string    `json:"hint,omitempty"`
	KeyId               *string    `json:"keyId,omitempty"`
	SecretText          *string    `json:"secretText,omitempty"`
	StartDateTime       *time.Time `json:"startDateTime,omitempty,readonly"`
}

PasswordCredential describes a password credential for an object.

type PasswordSingleSignOnSettings

type PasswordSingleSignOnSettings struct {
	Fields *[]SingleSignOnField `json:"fields,omitempty"`
}

type PermissionScope

type PermissionScope struct {
	ID                      *string `json:"id,omitempty"`
	AdminConsentDescription *string `json:"adminConsentDescription,omitempty"`
	AdminConsentDisplayName *string `json:"adminConsentDisplayName,omitempty"`
	IsEnabled               *bool   `json:"isEnabled,omitempty"`
	Type                    *string `json:"type,omitempty"`
	UserConsentDescription  *string `json:"userConsentDescription,omitempty"`
	UserConsentDisplayName  *string `json:"userConsentDisplayName,omitempty"`
	Value                   *string `json:"value,omitempty"`
}

type SamlSingleSignOnSettings

type SamlSingleSignOnSettings struct {
	RelayState *string `json:"relayState,omitempty"`
}

type ServicePrincipal

type ServicePrincipal struct {
	ID                                  *string                       `json:"id,omitempty,readonly"`
	AccountEnabled                      *bool                         `json:"accountEnabled,omitempty"`
	AddIns                              *[]AddIn                      `json:"addIns,omitempty"`
	AlternativeNames                    *[]string                     `json:"alternativeNames,omitempty"`
	AppDisplayName                      *string                       `json:"appDisplayName,omitempty,readonly"`
	AppId                               *string                       `json:"appId,omitempty"`
	ApplicationTemplateId               *string                       `json:"applicationTemplateId,omitempty,readonly"`
	AppOwnerOrganizationId              *string                       `json:"appOwnerOrganizationId,omitempty"`
	AppRoleAssignmentRequired           *bool                         `json:"appRoleAssignmentRequired,omitempty"`
	AppRoles                            *[]ApplicationAppRole         `json:"appRoles,omitempty,readonly"`
	DeletedDateTime                     *time.Time                    `json:"deletedDateTime,omitempty,readonly"`
	DisplayName                         *string                       `json:"displayName,omitempty"`
	Homepage                            *string                       `json:"homepage,omitempty"`
	Info                                *InformationalUrl             `json:"info,omitempty"`
	KeyCredentials                      *[]KeyCredential              `json:"keyCredentials,omitempty"`
	LoginUrl                            *string                       `json:"loginUrl,omitempty"`
	LogoutUrl                           *string                       `json:"logoutUrl,omitempty"`
	NotificationEmailAddresses          *[]string                     `json:"notificationEmailAddresses,omitempty"`
	PasswordCredentials                 *[]PasswordCredential         `json:"passwordCredentials,omitempty"`
	PasswordSingleSignOnSettings        *PasswordSingleSignOnSettings `json:"passwordSingleSignOnSettings,omitempty"`
	PreferredSingleSignOnMode           *string                       `json:"preferredSingleSignOnMode,omitempty"`
	PreferredTokenSigningKeyEndDateTime *time.Time                    `json:"preferredTokenSigningKeyEndDateTime,omitempty"`
	PublishedPermissionScopes           *[]PermissionScope            `json:"publishedPermissionScopes,omitempty"`
	ReplyUrls                           *[]string                     `json:"replyUrls,omitempty"`
	SamlSingleSignOnSettings            *SamlSingleSignOnSettings     `json:"samlSingleSignOnSettings,omitempty"`
	ServicePrincipalNames               *[]string                     `json:"servicePrincipalNames,omitempty"`
	ServicePrincipalType                *string                       `json:"servicePrincipalType,omitempty,readonly"`
	SignInAudience                      SignInAudience                `json:"signInAudience,omitempty,readonly"`
	Tags                                *[]string                     `json:"tags,omitempty"`
	TokenEncryptionKeyId                *string                       `json:"tokenEncryptionKeyId,omitempty"`
	VerifiedPublisher                   *VerifiedPublisher            `json:"verifiedPublisher,omitempty,readonly"`

	Owners *[]string `json:"owners@odata.bind,omitempty"`
}

ServicePrincipal describes a Service Principal object.

func (*ServicePrincipal) AppendOwner

func (a *ServicePrincipal) AppendOwner(endpoint string, apiVersion string, id string)

AppendOwner appends a new owner object URI to the Owners slice.

type SignInAudience

type SignInAudience string
const (
	SignInAudienceAzureADMyOrg                       SignInAudience = "AzureADMyOrg"
	SignInAudienceAzureADMultipleOrgs                SignInAudience = "AzureADMultipleOrgs"
	SignInAudienceAzureADandPersonalMicrosoftAccount SignInAudience = "AzureADandPersonalMicrosoftAccount"
)

type SingleSignOnField

type SingleSignOnField struct {
	CustomizedLabel *string `json:"customizedLabel,omitempty"`
	DefaultLabel    *string `json:"defaultLabel,omitempty"`
	FieldId         *string `json:"fieldId,omitempty"`
	Type            *string `json:"type,omitempty"`
}

type User

type User struct {
	ID                           *string   `json:"id,omitempty,readonly"`
	AboutMe                      *string   `json:"aboutMe,omitempty"`
	AccountEnabled               *bool     `json:"accountEnabled,omitempty"`
	BusinessPhones               *[]string `json:"businessPhones,omitempty"`
	City                         *string   `json:"city,omitempty"`
	CompanyName                  *string   `json:"companyName,omitempty"`
	Country                      *string   `json:"country,omitempty"`
	CreationType                 *string   `json:"creationType,omitempty"`
	Department                   *string   `json:"department,omitempty"`
	DisplayName                  *string   `json:"displayName,omitempty"`
	EmployeeId                   *string   `json:"employeeId,omitempty"`
	ExternalUserState            *string   `json:"externalUserState,omitempty"`
	FaxNumber                    *string   `json:"faxNumber,omitempty"`
	GivenName                    *string   `json:"givenName,omitempty"`
	ImAddresses                  *[]string `json:"imAddresses,omitempty"`
	Interests                    *[]string `json:"interests,omitempty"`
	JobTitle                     *string   `json:"jobTitle,omitempty"`
	Mail                         *string   `json:"mail,omitempty"`
	MailNickname                 *string   `json:"mailNickname,omitempty"`
	MobilePhone                  *string   `json:"mobilePhone,omitempty"`
	MySite                       *string   `json:"mySite,omitempty"`
	OfficeLocation               *string   `json:"officeLocation,omitempty"`
	OnPremisesDistinguishedName  *string   `json:"onPremisesDistinguishedName,omitempty"`
	OnPremisesDomainName         *string   `json:"onPremisesDomainName,omitempty"`
	OnPremisesImmutableId        *string   `json:"onPremisesImmutableId,omitempty"`
	OnPremisesSamAccountName     *string   `json:"onPremisesSamAccountName,omitempty"`
	OnPremisesSecurityIdentifier *string   `json:"onPremisesSecurityIdentifier,omitempty"`
	OnPremisesSyncEnabled        *bool     `json:"onPremisesSyncEnabled,omitempty"`
	OnPremisesUserPrincipalName  *string   `json:"onPremisesUserPrincipalName,omitempty"`
	OtherMails                   *[]string `json:"otherMails,omitempty"`
	PasswordPolicies             *string   `json:"passwordPolicies,omitempty"`
	PastProjects                 *[]string `json:"pastProjects,omitempty"`
	PostalCode                   *string   `json:"postalCode,omitempty"`
	PreferredDataLocation        *string   `json:"preferredDataLocation,omitempty"`
	PreferredLanguage            *string   `json:"preferredLanguage,omitempty"`
	PreferredName                *string   `json:"preferredName,omitempty"`
	ProxyAddresses               *[]string `json:"proxyAddresses,omitempty"`
	Responsibilities             *[]string `json:"responsibilities,omitempty"`
	Schools                      *[]string `json:"schools,omitempty"`
	ShowInAddressList            *bool     `json:"showInAddressList,omitempty"`
	Skills                       *[]string `json:"skills,omitempty"`
	State                        *string   `json:"state,omitempty"`
	StreetAddress                *string   `json:"streetAddress,omitempty"`
	Surname                      *string   `json:"surname,omitempty"`
	UsageLocation                *string   `json:"usageLocation,omitempty"`
	UserPrincipalName            *string   `json:"userPrincipalName,omitempty"`
	UserType                     *string   `json:"userType,omitempty"`

	PasswordProfile *UserPasswordProfile `json:"passwordProfile,omitempty"`
}

User describes a User object.

type UserPasswordProfile

type UserPasswordProfile struct {
	ForceChangePasswordNextSignIn        *bool   `json:"forceChangePasswordNextSignIn,omitempty"`
	ForceChangePasswordNextSignInWithMfa *bool   `json:"forceChangePasswordNextSignInWithMfa,omitempty"`
	Password                             *string `json:"password,omitempty"`
}

type VerifiedPublisher

type VerifiedPublisher struct {
	AddedDateTime       *time.Time `json:"addedDateTime,omitempty,readonly"`
	DisplayName         *string    `json:"displayName,omitempty,readonly"`
	VerifiedPublisherId *string    `json:"verifiedPublisherId,omitempty,readonly"`
}

Jump to

Keyboard shortcuts

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