teamsadministration

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAssignedTelephoneNumberFromDiscriminatorValue

CreateAssignedTelephoneNumberFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateEffectivePolicyAssignmentFromDiscriminatorValue

CreateEffectivePolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreatePolicyAssignmentFromDiscriminatorValue

CreatePolicyAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsAdminRootFromDiscriminatorValue

CreateTeamsAdminRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsUserConfigurationCollectionResponseFromDiscriminatorValue

CreateTeamsUserConfigurationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsUserConfigurationFromDiscriminatorValue

CreateTeamsUserConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func ParseAccountType

func ParseAccountType(v string) (any, error)

func ParseAssignmentCategory

func ParseAssignmentCategory(v string) (any, error)

func ParseAssignmentType

func ParseAssignmentType(v string) (any, error)

func SerializeAccountType

func SerializeAccountType(values []AccountType) []string

func SerializeAssignmentCategory

func SerializeAssignmentCategory(values []AssignmentCategory) []string

func SerializeAssignmentType

func SerializeAssignmentType(values []AssignmentType) []string

Types

type AccountType

type AccountType int
const (
	USER_ACCOUNTTYPE AccountType = iota
	RESOURCEACCOUNT_ACCOUNTTYPE
	GUEST_ACCOUNTTYPE
	SFBONPREMUSER_ACCOUNTTYPE
	UNKNOWN_ACCOUNTTYPE
	UNKNOWNFUTUREVALUE_ACCOUNTTYPE
	INELIGIBLEUSER_ACCOUNTTYPE
)

func (AccountType) String

func (i AccountType) String() string

type AssignedTelephoneNumber

type AssignedTelephoneNumber struct {
	// contains filtered or unexported fields
}

func NewAssignedTelephoneNumber

func NewAssignedTelephoneNumber() *AssignedTelephoneNumber

NewAssignedTelephoneNumber instantiates a new AssignedTelephoneNumber and sets the default values.

func (*AssignedTelephoneNumber) GetAdditionalData

func (m *AssignedTelephoneNumber) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*AssignedTelephoneNumber) GetAssignmentCategory

func (m *AssignedTelephoneNumber) GetAssignmentCategory() *AssignmentCategory

GetAssignmentCategory gets the assignmentCategory property value. The assignmentCategory property returns a *AssignmentCategory when successful

func (*AssignedTelephoneNumber) GetBackingStore

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*AssignedTelephoneNumber) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*AssignedTelephoneNumber) GetOdataType

func (m *AssignedTelephoneNumber) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful

func (*AssignedTelephoneNumber) GetTelephoneNumber

func (m *AssignedTelephoneNumber) GetTelephoneNumber() *string

GetTelephoneNumber gets the telephoneNumber property value. The assigned phone number. returns a *string when successful

func (*AssignedTelephoneNumber) Serialize

Serialize serializes information the current object

func (*AssignedTelephoneNumber) SetAdditionalData

func (m *AssignedTelephoneNumber) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*AssignedTelephoneNumber) SetAssignmentCategory

func (m *AssignedTelephoneNumber) SetAssignmentCategory(value *AssignmentCategory)

SetAssignmentCategory sets the assignmentCategory property value. The assignmentCategory property

func (*AssignedTelephoneNumber) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*AssignedTelephoneNumber) SetOdataType

func (m *AssignedTelephoneNumber) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*AssignedTelephoneNumber) SetTelephoneNumber

func (m *AssignedTelephoneNumber) SetTelephoneNumber(value *string)

SetTelephoneNumber sets the telephoneNumber property value. The assigned phone number.

type AssignmentCategory

type AssignmentCategory int
const (
	PRIMARY_ASSIGNMENTCATEGORY AssignmentCategory = iota
	PRIVATE_ASSIGNMENTCATEGORY
	ALTERNATE_ASSIGNMENTCATEGORY
	UNKNOWNFUTUREVALUE_ASSIGNMENTCATEGORY
)

func (AssignmentCategory) String

func (i AssignmentCategory) String() string

type AssignmentType

type AssignmentType int
const (
	DIRECT_ASSIGNMENTTYPE AssignmentType = iota
	GROUP_ASSIGNMENTTYPE
	UNKNOWNFUTUREVALUE_ASSIGNMENTTYPE
)

func (AssignmentType) String

func (i AssignmentType) String() string

type EffectivePolicyAssignment

type EffectivePolicyAssignment struct {
	// contains filtered or unexported fields
}

func NewEffectivePolicyAssignment

func NewEffectivePolicyAssignment() *EffectivePolicyAssignment

NewEffectivePolicyAssignment instantiates a new EffectivePolicyAssignment and sets the default values.

func (*EffectivePolicyAssignment) GetAdditionalData

func (m *EffectivePolicyAssignment) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*EffectivePolicyAssignment) GetBackingStore

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*EffectivePolicyAssignment) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*EffectivePolicyAssignment) GetOdataType

func (m *EffectivePolicyAssignment) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful

func (*EffectivePolicyAssignment) GetPolicyAssignment

func (m *EffectivePolicyAssignment) GetPolicyAssignment() PolicyAssignmentable

GetPolicyAssignment gets the policyAssignment property value. The policyAssignment property returns a PolicyAssignmentable when successful

func (*EffectivePolicyAssignment) GetPolicyType

func (m *EffectivePolicyAssignment) GetPolicyType() *string

GetPolicyType gets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy. returns a *string when successful

func (*EffectivePolicyAssignment) Serialize

Serialize serializes information the current object

func (*EffectivePolicyAssignment) SetAdditionalData

func (m *EffectivePolicyAssignment) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*EffectivePolicyAssignment) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*EffectivePolicyAssignment) SetOdataType

func (m *EffectivePolicyAssignment) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*EffectivePolicyAssignment) SetPolicyAssignment

func (m *EffectivePolicyAssignment) SetPolicyAssignment(value PolicyAssignmentable)

SetPolicyAssignment sets the policyAssignment property value. The policyAssignment property

func (*EffectivePolicyAssignment) SetPolicyType

func (m *EffectivePolicyAssignment) SetPolicyType(value *string)

SetPolicyType sets the policyType property value. The type of the assigned policy; for example, TeamsMeetingPolicy and TeamsCallingPolicy.

type PolicyAssignment

type PolicyAssignment struct {
	// contains filtered or unexported fields
}

func NewPolicyAssignment

func NewPolicyAssignment() *PolicyAssignment

NewPolicyAssignment instantiates a new PolicyAssignment and sets the default values.

func (*PolicyAssignment) GetAdditionalData

func (m *PolicyAssignment) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*PolicyAssignment) GetAssignmentType

func (m *PolicyAssignment) GetAssignmentType() *AssignmentType

GetAssignmentType gets the assignmentType property value. The assignmentType property returns a *AssignmentType when successful

func (*PolicyAssignment) GetBackingStore

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful

func (*PolicyAssignment) GetDisplayName

func (m *PolicyAssignment) GetDisplayName() *string

GetDisplayName gets the displayName property value. Represents the name of the policy. returns a *string when successful

func (*PolicyAssignment) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*PolicyAssignment) GetGroupId

func (m *PolicyAssignment) GetGroupId() *string

GetGroupId gets the groupId property value. Represents the group identifier. returns a *string when successful

func (*PolicyAssignment) GetOdataType

func (m *PolicyAssignment) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful

func (*PolicyAssignment) GetPolicyId

func (m *PolicyAssignment) GetPolicyId() *string

GetPolicyId gets the policyId property value. Represents the unique identifier for the policy. returns a *string when successful

func (*PolicyAssignment) Serialize

Serialize serializes information the current object

func (*PolicyAssignment) SetAdditionalData

func (m *PolicyAssignment) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*PolicyAssignment) SetAssignmentType

func (m *PolicyAssignment) SetAssignmentType(value *AssignmentType)

SetAssignmentType sets the assignmentType property value. The assignmentType property

func (*PolicyAssignment) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*PolicyAssignment) SetDisplayName

func (m *PolicyAssignment) SetDisplayName(value *string)

SetDisplayName sets the displayName property value. Represents the name of the policy.

func (*PolicyAssignment) SetGroupId

func (m *PolicyAssignment) SetGroupId(value *string)

SetGroupId sets the groupId property value. Represents the group identifier.

func (*PolicyAssignment) SetOdataType

func (m *PolicyAssignment) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*PolicyAssignment) SetPolicyId

func (m *PolicyAssignment) SetPolicyId(value *string)

SetPolicyId sets the policyId property value. Represents the unique identifier for the policy.

type TeamsAdminRoot

func NewTeamsAdminRoot

func NewTeamsAdminRoot() *TeamsAdminRoot

NewTeamsAdminRoot instantiates a new TeamsAdminRoot and sets the default values.

func (*TeamsAdminRoot) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*TeamsAdminRoot) GetUserConfigurations

func (m *TeamsAdminRoot) GetUserConfigurations() []TeamsUserConfigurationable

GetUserConfigurations gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams. returns a []TeamsUserConfigurationable when successful

func (*TeamsAdminRoot) Serialize

Serialize serializes information the current object

func (*TeamsAdminRoot) SetUserConfigurations

func (m *TeamsAdminRoot) SetUserConfigurations(value []TeamsUserConfigurationable)

SetUserConfigurations sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams.

type TeamsUserConfiguration

func NewTeamsUserConfiguration

func NewTeamsUserConfiguration() *TeamsUserConfiguration

NewTeamsUserConfiguration instantiates a new TeamsUserConfiguration and sets the default values.

func (*TeamsUserConfiguration) GetAccountType

func (m *TeamsUserConfiguration) GetAccountType() *AccountType

GetAccountType gets the accountType property value. The accountType property returns a *AccountType when successful

func (*TeamsUserConfiguration) GetCreatedDateTime

GetCreatedDateTime gets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*TeamsUserConfiguration) GetEffectivePolicyAssignments

func (m *TeamsUserConfiguration) GetEffectivePolicyAssignments() []EffectivePolicyAssignmentable

GetEffectivePolicyAssignments gets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details. returns a []EffectivePolicyAssignmentable when successful

func (*TeamsUserConfiguration) GetFeatureTypes

func (m *TeamsUserConfiguration) GetFeatureTypes() []string

GetFeatureTypes gets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan. returns a []string when successful

func (*TeamsUserConfiguration) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*TeamsUserConfiguration) GetIsEnterpriseVoiceEnabled

func (m *TeamsUserConfiguration) GetIsEnterpriseVoiceEnabled() *bool

GetIsEnterpriseVoiceEnabled gets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled. returns a *bool when successful

func (*TeamsUserConfiguration) GetModifiedDateTime

GetModifiedDateTime gets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*TeamsUserConfiguration) GetTelephoneNumbers

func (m *TeamsUserConfiguration) GetTelephoneNumbers() []AssignedTelephoneNumberable

GetTelephoneNumbers gets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate. returns a []AssignedTelephoneNumberable when successful

func (*TeamsUserConfiguration) GetTenantId

func (m *TeamsUserConfiguration) GetTenantId() *string

GetTenantId gets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned. returns a *string when successful

func (*TeamsUserConfiguration) GetUser

GetUser gets the user property value. Represents an Entra user account. returns a Userable when successful

func (*TeamsUserConfiguration) GetUserPrincipalName

func (m *TeamsUserConfiguration) GetUserPrincipalName() *string

GetUserPrincipalName gets the userPrincipalName property value. The sign-in address of the user. returns a *string when successful

func (*TeamsUserConfiguration) Serialize

Serialize serializes information the current object

func (*TeamsUserConfiguration) SetAccountType

func (m *TeamsUserConfiguration) SetAccountType(value *AccountType)

SetAccountType sets the accountType property value. The accountType property

func (*TeamsUserConfiguration) SetCreatedDateTime

SetCreatedDateTime sets the createdDateTime property value. The date and time when the user was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*TeamsUserConfiguration) SetEffectivePolicyAssignments

func (m *TeamsUserConfiguration) SetEffectivePolicyAssignments(value []EffectivePolicyAssignmentable)

SetEffectivePolicyAssignments sets the effectivePolicyAssignments property value. Contains the user's effective policy assignments, with each assignment including policyType and policyAssignment details.

func (*TeamsUserConfiguration) SetFeatureTypes

func (m *TeamsUserConfiguration) SetFeatureTypes(value []string)

SetFeatureTypes sets the featureTypes property value. The Teams features enabled for a given user based on licensing or service plan.

func (*TeamsUserConfiguration) SetIsEnterpriseVoiceEnabled

func (m *TeamsUserConfiguration) SetIsEnterpriseVoiceEnabled(value *bool)

SetIsEnterpriseVoiceEnabled sets the isEnterpriseVoiceEnabled property value. Indicates whether voice capability is enabled.

func (*TeamsUserConfiguration) SetModifiedDateTime

SetModifiedDateTime sets the modifiedDateTime property value. The date and time when the user's details were last modified. The system updates this value each time the user's details are changed. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*TeamsUserConfiguration) SetTelephoneNumbers

func (m *TeamsUserConfiguration) SetTelephoneNumbers(value []AssignedTelephoneNumberable)

SetTelephoneNumbers sets the telephoneNumbers property value. Includes both the phone number and its corresponding assignment category. The assignment category can include values such as primary, private, and alternate.

func (*TeamsUserConfiguration) SetTenantId

func (m *TeamsUserConfiguration) SetTenantId(value *string)

SetTenantId sets the tenantId property value. The unique identifier of the tenant in Entra to which this user is assigned.

func (*TeamsUserConfiguration) SetUser

SetUser sets the user property value. Represents an Entra user account.

func (*TeamsUserConfiguration) SetUserPrincipalName

func (m *TeamsUserConfiguration) SetUserPrincipalName(value *string)

SetUserPrincipalName sets the userPrincipalName property value. The sign-in address of the user.

type TeamsUserConfigurationCollectionResponse

func NewTeamsUserConfigurationCollectionResponse

func NewTeamsUserConfigurationCollectionResponse() *TeamsUserConfigurationCollectionResponse

NewTeamsUserConfigurationCollectionResponse instantiates a new TeamsUserConfigurationCollectionResponse and sets the default values.

func (*TeamsUserConfigurationCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*TeamsUserConfigurationCollectionResponse) GetValue

GetValue gets the value property value. The value property returns a []TeamsUserConfigurationable when successful

func (*TeamsUserConfigurationCollectionResponse) Serialize

Serialize serializes information the current object

func (*TeamsUserConfigurationCollectionResponse) SetValue

SetValue sets the value property value. The value property

type TeamsUserConfigurationable

type TeamsUserConfigurationable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAccountType() *AccountType
	GetCreatedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetEffectivePolicyAssignments() []EffectivePolicyAssignmentable
	GetFeatureTypes() []string
	GetIsEnterpriseVoiceEnabled() *bool
	GetModifiedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetTelephoneNumbers() []AssignedTelephoneNumberable
	GetTenantId() *string
	GetUser() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable
	GetUserPrincipalName() *string
	SetAccountType(value *AccountType)
	SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetEffectivePolicyAssignments(value []EffectivePolicyAssignmentable)
	SetFeatureTypes(value []string)
	SetIsEnterpriseVoiceEnabled(value *bool)
	SetModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetTelephoneNumbers(value []AssignedTelephoneNumberable)
	SetTenantId(value *string)
	SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Userable)
	SetUserPrincipalName(value *string)
}

Jump to

Keyboard shortcuts

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