externalconnectors

package
v0.0.1-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAclFromDiscriminatorValue

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

func CreateActivitySettingsFromDiscriminatorValue

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

func CreateConfigurationFromDiscriminatorValue

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

func CreateConnectionOperationFromDiscriminatorValue

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

func CreateDisplayTemplateFromDiscriminatorValue

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

func CreateExternalActivityFromDiscriminatorValue

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

func CreateExternalActivityResultFromDiscriminatorValue

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

func CreateExternalConnectionFromDiscriminatorValue

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

func CreateExternalGroupFromDiscriminatorValue

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

func CreateExternalItemContentFromDiscriminatorValue

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

func CreateExternalItemFromDiscriminatorValue

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

func CreateIdentityFromDiscriminatorValue

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

func CreateItemIdResolverFromDiscriminatorValue

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

func CreatePropertiesFromDiscriminatorValue

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

func CreatePropertyFromDiscriminatorValue

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

func CreatePropertyRuleFromDiscriminatorValue

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

func CreateSchemaFromDiscriminatorValue

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

func CreateSearchSettingsFromDiscriminatorValue

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

func CreateUrlMatchInfoFromDiscriminatorValue

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

func CreateUrlToItemResolverBaseFromDiscriminatorValue

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

func ParseAccessType

func ParseAccessType(v string) (any, error)

func ParseAclType

func ParseAclType(v string) (any, error)

func ParseConnectionOperationStatus

func ParseConnectionOperationStatus(v string) (any, error)

func ParseConnectionState

func ParseConnectionState(v string) (any, error)

func ParseExternalActivityType

func ParseExternalActivityType(v string) (any, error)

func ParseExternalItemContentType

func ParseExternalItemContentType(v string) (any, error)

func ParseIdentityType

func ParseIdentityType(v string) (any, error)

func ParseLabel

func ParseLabel(v string) (any, error)

func ParsePropertyType

func ParsePropertyType(v string) (any, error)

func ParseRuleOperation

func ParseRuleOperation(v string) (any, error)

func SerializeAccessType

func SerializeAccessType(values []AccessType) []string

func SerializeAclType

func SerializeAclType(values []AclType) []string

func SerializeConnectionOperationStatus

func SerializeConnectionOperationStatus(values []ConnectionOperationStatus) []string

func SerializeConnectionState

func SerializeConnectionState(values []ConnectionState) []string

func SerializeExternalActivityType

func SerializeExternalActivityType(values []ExternalActivityType) []string

func SerializeExternalItemContentType

func SerializeExternalItemContentType(values []ExternalItemContentType) []string

func SerializeIdentityType

func SerializeIdentityType(values []IdentityType) []string

func SerializeLabel

func SerializeLabel(values []Label) []string

func SerializePropertyType

func SerializePropertyType(values []PropertyType) []string

func SerializeRuleOperation

func SerializeRuleOperation(values []RuleOperation) []string

Types

type AccessType

type AccessType int
const (
	GRANT_ACCESSTYPE AccessType = iota
	DENY_ACCESSTYPE
	UNKNOWNFUTUREVALUE_ACCESSTYPE
)

func (AccessType) String

func (i AccessType) String() string

type Acl

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

func NewAcl

func NewAcl() *Acl

NewAcl instantiates a new Acl and sets the default values.

func (*Acl) GetAccessType

func (m *Acl) GetAccessType() *AccessType

GetAccessType gets the accessType property value. The accessType property returns a *AccessType when successful

func (*Acl) GetAdditionalData

func (m *Acl) 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 (*Acl) GetFieldDeserializers

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

func (*Acl) GetOdataType

func (m *Acl) GetOdataType() *string

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

func (*Acl) GetTypeEscaped

func (m *Acl) GetTypeEscaped() *AclType

GetTypeEscaped gets the type property value. The type property returns a *AclType when successful

func (*Acl) GetValue

func (m *Acl) GetValue() *string

GetValue gets the value property value. The unique identifer of the identity. For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup returns a *string when successful

func (*Acl) Serialize

Serialize serializes information the current object

func (*Acl) SetAccessType

func (m *Acl) SetAccessType(value *AccessType)

SetAccessType sets the accessType property value. The accessType property

func (*Acl) SetAdditionalData

func (m *Acl) 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 (*Acl) SetOdataType

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

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

func (*Acl) SetTypeEscaped

func (m *Acl) SetTypeEscaped(value *AclType)

SetTypeEscaped sets the type property value. The type property

func (*Acl) SetValue

func (m *Acl) SetValue(value *string)

SetValue sets the value property value. The unique identifer of the identity. For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup

type AclType

type AclType int
const (
	USER_ACLTYPE AclType = iota
	GROUP_ACLTYPE
	EVERYONE_ACLTYPE
	EVERYONEEXCEPTGUESTS_ACLTYPE
	EXTERNALGROUP_ACLTYPE
	UNKNOWNFUTUREVALUE_ACLTYPE
)

func (AclType) String

func (i AclType) String() string

type Aclable

type Aclable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAccessType() *AccessType
	GetOdataType() *string
	GetTypeEscaped() *AclType
	GetValue() *string
	SetAccessType(value *AccessType)
	SetOdataType(value *string)
	SetTypeEscaped(value *AclType)
	SetValue(value *string)
}

type ActivitySettings

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

func NewActivitySettings

func NewActivitySettings() *ActivitySettings

NewActivitySettings instantiates a new ActivitySettings and sets the default values.

func (*ActivitySettings) GetAdditionalData

func (m *ActivitySettings) 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 (*ActivitySettings) GetFieldDeserializers

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

func (*ActivitySettings) GetOdataType

func (m *ActivitySettings) GetOdataType() *string

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

func (*ActivitySettings) GetUrlToItemResolvers

func (m *ActivitySettings) GetUrlToItemResolvers() []UrlToItemResolverBaseable

GetUrlToItemResolvers gets the urlToItemResolvers property value. Specifies configurations to identify an externalItem based on a shared URL. returns a []UrlToItemResolverBaseable when successful

func (*ActivitySettings) Serialize

Serialize serializes information the current object

func (*ActivitySettings) SetAdditionalData

func (m *ActivitySettings) 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 (*ActivitySettings) SetOdataType

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

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

func (*ActivitySettings) SetUrlToItemResolvers

func (m *ActivitySettings) SetUrlToItemResolvers(value []UrlToItemResolverBaseable)

SetUrlToItemResolvers sets the urlToItemResolvers property value. Specifies configurations to identify an externalItem based on a shared URL.

type Configuration

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

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration instantiates a new Configuration and sets the default values.

func (*Configuration) GetAdditionalData

func (m *Configuration) 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 (*Configuration) GetAuthorizedAppIds

func (m *Configuration) GetAuthorizedAppIds() []string

GetAuthorizedAppIds gets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps that are allowed to manage the externalConnection and to index content in the externalConnection. returns a []string when successful

func (*Configuration) GetFieldDeserializers

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

func (*Configuration) GetOdataType

func (m *Configuration) GetOdataType() *string

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

func (*Configuration) Serialize

Serialize serializes information the current object

func (*Configuration) SetAdditionalData

func (m *Configuration) 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 (*Configuration) SetAuthorizedAppIds

func (m *Configuration) SetAuthorizedAppIds(value []string)

SetAuthorizedAppIds sets the authorizedAppIds property value. A collection of application IDs for registered Microsoft Entra apps that are allowed to manage the externalConnection and to index content in the externalConnection.

func (*Configuration) SetOdataType

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

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

type Configurationable

type Configurationable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAuthorizedAppIds() []string
	GetOdataType() *string
	SetAuthorizedAppIds(value []string)
	SetOdataType(value *string)
}

type ConnectionOperation

type ConnectionOperation struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewConnectionOperation

func NewConnectionOperation() *ConnectionOperation

NewConnectionOperation instantiates a new ConnectionOperation and sets the default values.

func (*ConnectionOperation) GetError

GetError gets the error property value. If status is failed, provides more information about the error that caused the failure. returns a PublicErrorable when successful

func (*ConnectionOperation) GetFieldDeserializers

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

func (*ConnectionOperation) GetStatus

GetStatus gets the status property value. Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue. returns a *ConnectionOperationStatus when successful

func (*ConnectionOperation) Serialize

Serialize serializes information the current object

func (*ConnectionOperation) SetError

SetError sets the error property value. If status is failed, provides more information about the error that caused the failure.

func (*ConnectionOperation) SetStatus

func (m *ConnectionOperation) SetStatus(value *ConnectionOperationStatus)

SetStatus sets the status property value. Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue.

type ConnectionOperationStatus

type ConnectionOperationStatus int
const (
	UNSPECIFIED_CONNECTIONOPERATIONSTATUS ConnectionOperationStatus = iota
	INPROGRESS_CONNECTIONOPERATIONSTATUS
	COMPLETED_CONNECTIONOPERATIONSTATUS
	FAILED_CONNECTIONOPERATIONSTATUS
	UNKNOWNFUTUREVALUE_CONNECTIONOPERATIONSTATUS
)

func (ConnectionOperationStatus) String

func (i ConnectionOperationStatus) String() string

type ConnectionState

type ConnectionState int
const (
	DRAFT_CONNECTIONSTATE ConnectionState = iota
	READY_CONNECTIONSTATE
	OBSOLETE_CONNECTIONSTATE
	LIMITEXCEEDED_CONNECTIONSTATE
	UNKNOWNFUTUREVALUE_CONNECTIONSTATE
)

func (ConnectionState) String

func (i ConnectionState) String() string

type DisplayTemplate

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

func NewDisplayTemplate

func NewDisplayTemplate() *DisplayTemplate

NewDisplayTemplate instantiates a new DisplayTemplate and sets the default values.

func (*DisplayTemplate) GetAdditionalData

func (m *DisplayTemplate) 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 (*DisplayTemplate) GetFieldDeserializers

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

func (*DisplayTemplate) GetId

func (m *DisplayTemplate) GetId() *string

GetId gets the id property value. The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. returns a *string when successful

func (*DisplayTemplate) GetLayout

GetLayout gets the layout property value. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model. returns a UntypedNodeable when successful

func (*DisplayTemplate) GetOdataType

func (m *DisplayTemplate) GetOdataType() *string

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

func (*DisplayTemplate) GetPriority

func (m *DisplayTemplate) GetPriority() *int32

GetPriority gets the priority property value. Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. returns a *int32 when successful

func (*DisplayTemplate) GetRules

func (m *DisplayTemplate) GetRules() []PropertyRuleable

GetRules gets the rules property value. Specifies additional rules for selecting this display template based on the item schema. Optional. returns a []PropertyRuleable when successful

func (*DisplayTemplate) Serialize

Serialize serializes information the current object

func (*DisplayTemplate) SetAdditionalData

func (m *DisplayTemplate) 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 (*DisplayTemplate) SetId

func (m *DisplayTemplate) SetId(value *string)

SetId sets the id property value. The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed.

func (*DisplayTemplate) SetLayout

SetLayout sets the layout property value. The definition of the content's appearance, represented by an Adaptive Card, which is a JSON-serialized card object model.

func (*DisplayTemplate) SetOdataType

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

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

func (*DisplayTemplate) SetPriority

func (m *DisplayTemplate) SetPriority(value *int32)

SetPriority sets the priority property value. Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value.

func (*DisplayTemplate) SetRules

func (m *DisplayTemplate) SetRules(value []PropertyRuleable)

SetRules sets the rules property value. Specifies additional rules for selecting this display template based on the item schema. Optional.

type ExternalActivity

type ExternalActivity struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewExternalActivity

func NewExternalActivity() *ExternalActivity

NewExternalActivity instantiates a new ExternalActivity and sets the default values.

func (*ExternalActivity) GetFieldDeserializers

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

func (*ExternalActivity) GetPerformedBy

func (m *ExternalActivity) GetPerformedBy() Identityable

GetPerformedBy gets the performedBy property value. Represents an identity used to identify who is responsible for the activity. returns a Identityable when successful

func (*ExternalActivity) GetStartDateTime

GetStartDateTime gets the startDateTime property value. The date and time when the particular activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*ExternalActivity) GetTypeEscaped

func (m *ExternalActivity) GetTypeEscaped() *ExternalActivityType

GetTypeEscaped gets the type property value. The type property returns a *ExternalActivityType when successful

func (*ExternalActivity) Serialize

Serialize serializes information the current object

func (*ExternalActivity) SetPerformedBy

func (m *ExternalActivity) SetPerformedBy(value Identityable)

SetPerformedBy sets the performedBy property value. Represents an identity used to identify who is responsible for the activity.

func (*ExternalActivity) SetStartDateTime

SetStartDateTime sets the startDateTime property value. The date and time when the particular activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*ExternalActivity) SetTypeEscaped

func (m *ExternalActivity) SetTypeEscaped(value *ExternalActivityType)

SetTypeEscaped sets the type property value. The type property

type ExternalActivityResult

type ExternalActivityResult struct {
	ExternalActivity
	// contains filtered or unexported fields
}

func NewExternalActivityResult

func NewExternalActivityResult() *ExternalActivityResult

NewExternalActivityResult instantiates a new ExternalActivityResult and sets the default values.

func (*ExternalActivityResult) GetError

GetError gets the error property value. Error information that explains the failure to process an external activity. returns a PublicErrorable when successful

func (*ExternalActivityResult) GetFieldDeserializers

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

func (*ExternalActivityResult) Serialize

Serialize serializes information the current object

func (*ExternalActivityResult) SetError

SetError sets the error property value. Error information that explains the failure to process an external activity.

type ExternalActivityType

type ExternalActivityType int
const (
	VIEWED_EXTERNALACTIVITYTYPE ExternalActivityType = iota
	MODIFIED_EXTERNALACTIVITYTYPE
	CREATED_EXTERNALACTIVITYTYPE
	COMMENTED_EXTERNALACTIVITYTYPE
	UNKNOWNFUTUREVALUE_EXTERNALACTIVITYTYPE
)

func (ExternalActivityType) String

func (i ExternalActivityType) String() string

type ExternalConnection

type ExternalConnection struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewExternalConnection

func NewExternalConnection() *ExternalConnection

NewExternalConnection instantiates a new ExternalConnection and sets the default values.

func (*ExternalConnection) GetActivitySettings

func (m *ExternalConnection) GetActivitySettings() ActivitySettingsable

GetActivitySettings gets the activitySettings property value. Collects configurable settings related to activities involving connector content. returns a ActivitySettingsable when successful

func (*ExternalConnection) GetConfiguration

func (m *ExternalConnection) GetConfiguration() Configurationable

GetConfiguration gets the configuration property value. Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional. returns a Configurationable when successful

func (*ExternalConnection) GetConnectorId

func (m *ExternalConnection) GetConnectorId() *string

GetConnectorId gets the connectorId property value. The Teams app ID. Optional. returns a *string when successful

func (*ExternalConnection) GetDescription

func (m *ExternalConnection) GetDescription() *string

GetDescription gets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional. returns a *string when successful

func (*ExternalConnection) GetFieldDeserializers

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

func (*ExternalConnection) GetGroups

func (m *ExternalConnection) GetGroups() []ExternalGroupable

GetGroups gets the groups property value. The groups property returns a []ExternalGroupable when successful

func (*ExternalConnection) GetItems

func (m *ExternalConnection) GetItems() []ExternalItemable

GetItems gets the items property value. The items property returns a []ExternalItemable when successful

func (*ExternalConnection) GetName

func (m *ExternalConnection) GetName() *string

GetName gets the name property value. The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. returns a *string when successful

func (*ExternalConnection) GetOperations

func (m *ExternalConnection) GetOperations() []ConnectionOperationable

GetOperations gets the operations property value. The operations property returns a []ConnectionOperationable when successful

func (*ExternalConnection) GetSchema

func (m *ExternalConnection) GetSchema() Schemaable

GetSchema gets the schema property value. The schema property returns a Schemaable when successful

func (*ExternalConnection) GetSearchSettings

func (m *ExternalConnection) GetSearchSettings() SearchSettingsable

GetSearchSettings gets the searchSettings property value. The settings configuring the search experience for content in this connection, such as the display templates for search results. returns a SearchSettingsable when successful

func (*ExternalConnection) GetState

func (m *ExternalConnection) GetState() *ConnectionState

GetState gets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue. returns a *ConnectionState when successful

func (*ExternalConnection) Serialize

Serialize serializes information the current object

func (*ExternalConnection) SetActivitySettings

func (m *ExternalConnection) SetActivitySettings(value ActivitySettingsable)

SetActivitySettings sets the activitySettings property value. Collects configurable settings related to activities involving connector content.

func (*ExternalConnection) SetConfiguration

func (m *ExternalConnection) SetConfiguration(value Configurationable)

SetConfiguration sets the configuration property value. Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.

func (*ExternalConnection) SetConnectorId

func (m *ExternalConnection) SetConnectorId(value *string)

SetConnectorId sets the connectorId property value. The Teams app ID. Optional.

func (*ExternalConnection) SetDescription

func (m *ExternalConnection) SetDescription(value *string)

SetDescription sets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional.

func (*ExternalConnection) SetGroups

func (m *ExternalConnection) SetGroups(value []ExternalGroupable)

SetGroups sets the groups property value. The groups property

func (*ExternalConnection) SetItems

func (m *ExternalConnection) SetItems(value []ExternalItemable)

SetItems sets the items property value. The items property

func (*ExternalConnection) SetName

func (m *ExternalConnection) SetName(value *string)

SetName sets the name property value. The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.

func (*ExternalConnection) SetOperations

func (m *ExternalConnection) SetOperations(value []ConnectionOperationable)

SetOperations sets the operations property value. The operations property

func (*ExternalConnection) SetSchema

func (m *ExternalConnection) SetSchema(value Schemaable)

SetSchema sets the schema property value. The schema property

func (*ExternalConnection) SetSearchSettings

func (m *ExternalConnection) SetSearchSettings(value SearchSettingsable)

SetSearchSettings sets the searchSettings property value. The settings configuring the search experience for content in this connection, such as the display templates for search results.

func (*ExternalConnection) SetState

func (m *ExternalConnection) SetState(value *ConnectionState)

SetState sets the state property value. Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.

type ExternalConnectionable

type ExternalConnectionable interface {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetActivitySettings() ActivitySettingsable
	GetConfiguration() Configurationable
	GetConnectorId() *string
	GetDescription() *string
	GetGroups() []ExternalGroupable
	GetItems() []ExternalItemable
	GetName() *string
	GetOperations() []ConnectionOperationable
	GetSchema() Schemaable
	GetSearchSettings() SearchSettingsable
	GetState() *ConnectionState
	SetActivitySettings(value ActivitySettingsable)
	SetConfiguration(value Configurationable)
	SetConnectorId(value *string)
	SetDescription(value *string)
	SetGroups(value []ExternalGroupable)
	SetItems(value []ExternalItemable)
	SetName(value *string)
	SetOperations(value []ConnectionOperationable)
	SetSchema(value Schemaable)
	SetSearchSettings(value SearchSettingsable)
	SetState(value *ConnectionState)
}

type ExternalGroup

type ExternalGroup struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewExternalGroup

func NewExternalGroup() *ExternalGroup

NewExternalGroup instantiates a new ExternalGroup and sets the default values.

func (*ExternalGroup) GetDescription

func (m *ExternalGroup) GetDescription() *string

GetDescription gets the description property value. The description of the external group. Optional. returns a *string when successful

func (*ExternalGroup) GetDisplayName

func (m *ExternalGroup) GetDisplayName() *string

GetDisplayName gets the displayName property value. The friendly name of the external group. Optional. returns a *string when successful

func (*ExternalGroup) GetFieldDeserializers

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

func (*ExternalGroup) GetMembers

func (m *ExternalGroup) GetMembers() []Identityable

GetMembers gets the members property value. A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members. returns a []Identityable when successful

func (*ExternalGroup) Serialize

Serialize serializes information the current object

func (*ExternalGroup) SetDescription

func (m *ExternalGroup) SetDescription(value *string)

SetDescription sets the description property value. The description of the external group. Optional.

func (*ExternalGroup) SetDisplayName

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

SetDisplayName sets the displayName property value. The friendly name of the external group. Optional.

func (*ExternalGroup) SetMembers

func (m *ExternalGroup) SetMembers(value []Identityable)

SetMembers sets the members property value. A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.

type ExternalGroupable

type ExternalGroupable interface {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetDisplayName() *string
	GetMembers() []Identityable
	SetDescription(value *string)
	SetDisplayName(value *string)
	SetMembers(value []Identityable)
}

type ExternalItem

type ExternalItem struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewExternalItem

func NewExternalItem() *ExternalItem

NewExternalItem instantiates a new ExternalItem and sets the default values.

func (*ExternalItem) GetAcl

func (m *ExternalItem) GetAcl() []Aclable

GetAcl gets the acl property value. An array of access control entries. Each entry specifies the access granted to a user or group. Required. returns a []Aclable when successful

func (*ExternalItem) GetActivities

func (m *ExternalItem) GetActivities() []ExternalActivityable

GetActivities gets the activities property value. Returns a list of activities performed on the item. Write-only. returns a []ExternalActivityable when successful

func (*ExternalItem) GetContent

func (m *ExternalItem) GetContent() ExternalItemContentable

GetContent gets the content property value. A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional. returns a ExternalItemContentable when successful

func (*ExternalItem) GetFieldDeserializers

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

func (*ExternalItem) GetProperties

func (m *ExternalItem) GetProperties() Propertiesable

GetProperties gets the properties property value. A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required. returns a Propertiesable when successful

func (*ExternalItem) Serialize

Serialize serializes information the current object

func (*ExternalItem) SetAcl

func (m *ExternalItem) SetAcl(value []Aclable)

SetAcl sets the acl property value. An array of access control entries. Each entry specifies the access granted to a user or group. Required.

func (*ExternalItem) SetActivities

func (m *ExternalItem) SetActivities(value []ExternalActivityable)

SetActivities sets the activities property value. Returns a list of activities performed on the item. Write-only.

func (*ExternalItem) SetContent

func (m *ExternalItem) SetContent(value ExternalItemContentable)

SetContent sets the content property value. A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.

func (*ExternalItem) SetProperties

func (m *ExternalItem) SetProperties(value Propertiesable)

SetProperties sets the properties property value. A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required.

type ExternalItemContent

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

func NewExternalItemContent

func NewExternalItemContent() *ExternalItemContent

NewExternalItemContent instantiates a new ExternalItemContent and sets the default values.

func (*ExternalItemContent) GetAdditionalData

func (m *ExternalItemContent) 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 (*ExternalItemContent) GetFieldDeserializers

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

func (*ExternalItemContent) GetOdataType

func (m *ExternalItemContent) GetOdataType() *string

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

func (*ExternalItemContent) GetTypeEscaped

func (m *ExternalItemContent) GetTypeEscaped() *ExternalItemContentType

GetTypeEscaped gets the type property value. The type property returns a *ExternalItemContentType when successful

func (*ExternalItemContent) GetValue

func (m *ExternalItemContent) GetValue() *string

GetValue gets the value property value. The content for the externalItem. Required. returns a *string when successful

func (*ExternalItemContent) Serialize

Serialize serializes information the current object

func (*ExternalItemContent) SetAdditionalData

func (m *ExternalItemContent) 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 (*ExternalItemContent) SetOdataType

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

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

func (*ExternalItemContent) SetTypeEscaped

func (m *ExternalItemContent) SetTypeEscaped(value *ExternalItemContentType)

SetTypeEscaped sets the type property value. The type property

func (*ExternalItemContent) SetValue

func (m *ExternalItemContent) SetValue(value *string)

SetValue sets the value property value. The content for the externalItem. Required.

type ExternalItemContentType

type ExternalItemContentType int
const (
	TEXT_EXTERNALITEMCONTENTTYPE ExternalItemContentType = iota
	HTML_EXTERNALITEMCONTENTTYPE
	UNKNOWNFUTUREVALUE_EXTERNALITEMCONTENTTYPE
)

func (ExternalItemContentType) String

func (i ExternalItemContentType) String() string

type Identity

type Identity struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewIdentity

func NewIdentity() *Identity

NewIdentity instantiates a new Identity and sets the default values.

func (*Identity) GetFieldDeserializers

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

func (*Identity) GetTypeEscaped

func (m *Identity) GetTypeEscaped() *IdentityType

GetTypeEscaped gets the type property value. The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system. returns a *IdentityType when successful

func (*Identity) Serialize

Serialize serializes information the current object

func (*Identity) SetTypeEscaped

func (m *Identity) SetTypeEscaped(value *IdentityType)

SetTypeEscaped sets the type property value. The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system.

type IdentityType

type IdentityType int
const (
	USER_IDENTITYTYPE IdentityType = iota
	GROUP_IDENTITYTYPE
	EXTERNALGROUP_IDENTITYTYPE
	UNKNOWNFUTUREVALUE_IDENTITYTYPE
)

func (IdentityType) String

func (i IdentityType) String() string

type ItemIdResolver

type ItemIdResolver struct {
	UrlToItemResolverBase
	// contains filtered or unexported fields
}

func NewItemIdResolver

func NewItemIdResolver() *ItemIdResolver

NewItemIdResolver instantiates a new ItemIdResolver and sets the default values.

func (*ItemIdResolver) GetFieldDeserializers

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

func (*ItemIdResolver) GetItemId

func (m *ItemIdResolver) GetItemId() *string

GetItemId gets the itemId property value. Pattern that specifies how to form the ID of the external item that the URL represents. The named groups from the regular expression in urlPattern within the urlMatchInfo can be referenced by inserting the group name inside curly brackets. returns a *string when successful

func (*ItemIdResolver) GetUrlMatchInfo

func (m *ItemIdResolver) GetUrlMatchInfo() UrlMatchInfoable

GetUrlMatchInfo gets the urlMatchInfo property value. Configurations to match and resolve URL. returns a UrlMatchInfoable when successful

func (*ItemIdResolver) Serialize

Serialize serializes information the current object

func (*ItemIdResolver) SetItemId

func (m *ItemIdResolver) SetItemId(value *string)

SetItemId sets the itemId property value. Pattern that specifies how to form the ID of the external item that the URL represents. The named groups from the regular expression in urlPattern within the urlMatchInfo can be referenced by inserting the group name inside curly brackets.

func (*ItemIdResolver) SetUrlMatchInfo

func (m *ItemIdResolver) SetUrlMatchInfo(value UrlMatchInfoable)

SetUrlMatchInfo sets the urlMatchInfo property value. Configurations to match and resolve URL.

type ItemIdResolverable

type ItemIdResolverable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	UrlToItemResolverBaseable
	GetItemId() *string
	GetUrlMatchInfo() UrlMatchInfoable
	SetItemId(value *string)
	SetUrlMatchInfo(value UrlMatchInfoable)
}

type Label

type Label int
const (
	TITLE_LABEL Label = iota
	URL_LABEL
	CREATEDBY_LABEL
	LASTMODIFIEDBY_LABEL
	AUTHORS_LABEL
	CREATEDDATETIME_LABEL
	LASTMODIFIEDDATETIME_LABEL
	FILENAME_LABEL
	FILEEXTENSION_LABEL
	UNKNOWNFUTUREVALUE_LABEL
	ICONURL_LABEL
)

func (Label) String

func (i Label) String() string

type Properties

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

func NewProperties

func NewProperties() *Properties

NewProperties instantiates a new Properties and sets the default values.

func (*Properties) GetAdditionalData

func (m *Properties) 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 (*Properties) GetFieldDeserializers

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

func (*Properties) GetOdataType

func (m *Properties) GetOdataType() *string

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

func (*Properties) Serialize

Serialize serializes information the current object

func (*Properties) SetAdditionalData

func (m *Properties) 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 (*Properties) SetOdataType

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

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

type Property

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

func NewProperty

func NewProperty() *Property

NewProperty instantiates a new Property and sets the default values.

func (*Property) GetAdditionalData

func (m *Property) 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 (*Property) GetAliases

func (m *Property) GetAliases() []string

GetAliases gets the aliases property value. A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. returns a []string when successful

func (*Property) GetFieldDeserializers

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

func (*Property) GetIsQueryable

func (m *Property) GetIsQueryable() *bool

GetIsQueryable gets the isQueryable property value. Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. returns a *bool when successful

func (*Property) GetIsRefinable

func (m *Property) GetIsRefinable() *bool

GetIsRefinable gets the isRefinable property value. Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. returns a *bool when successful

func (*Property) GetIsRetrievable

func (m *Property) GetIsRetrievable() *bool

GetIsRetrievable gets the isRetrievable property value. Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. returns a *bool when successful

func (*Property) GetIsSearchable

func (m *Property) GetIsSearchable() *bool

GetIsSearchable gets the isSearchable property value. Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional. returns a *bool when successful

func (*Property) GetLabels

func (m *Property) GetLabels() []Label

GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. returns a []Label when successful

func (*Property) GetName

func (m *Property) GetName() *string

GetName gets the name property value. The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. returns a *string when successful

func (*Property) GetOdataType

func (m *Property) GetOdataType() *string

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

func (*Property) GetTypeEscaped

func (m *Property) GetTypeEscaped() *PropertyType

GetTypeEscaped gets the type property value. The type property returns a *PropertyType when successful

func (*Property) Serialize

Serialize serializes information the current object

func (*Property) SetAdditionalData

func (m *Property) 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 (*Property) SetAliases

func (m *Property) SetAliases(value []string)

SetAliases sets the aliases property value. A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.

func (*Property) SetIsQueryable

func (m *Property) SetIsQueryable(value *bool)

SetIsQueryable sets the isQueryable property value. Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional.

func (*Property) SetIsRefinable

func (m *Property) SetIsRefinable(value *bool)

SetIsRefinable sets the isRefinable property value. Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional.

func (*Property) SetIsRetrievable

func (m *Property) SetIsRetrievable(value *bool)

SetIsRetrievable sets the isRetrievable property value. Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional.

func (*Property) SetIsSearchable

func (m *Property) SetIsSearchable(value *bool)

SetIsSearchable sets the isSearchable property value. Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional.

func (*Property) SetLabels

func (m *Property) SetLabels(value []Label)

SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.

func (*Property) SetName

func (m *Property) SetName(value *string)

SetName sets the name property value. The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.

func (*Property) SetOdataType

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

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

func (*Property) SetTypeEscaped

func (m *Property) SetTypeEscaped(value *PropertyType)

SetTypeEscaped sets the type property value. The type property

type PropertyRule

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

func NewPropertyRule

func NewPropertyRule() *PropertyRule

NewPropertyRule instantiates a new PropertyRule and sets the default values.

func (*PropertyRule) GetAdditionalData

func (m *PropertyRule) 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 (*PropertyRule) GetFieldDeserializers

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

func (*PropertyRule) GetOdataType

func (m *PropertyRule) GetOdataType() *string

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

func (*PropertyRule) GetOperation

func (m *PropertyRule) GetOperation() *RuleOperation

GetOperation gets the operation property value. The operation property returns a *RuleOperation when successful

func (*PropertyRule) GetProperty

func (m *PropertyRule) GetProperty() *string

GetProperty gets the property property value. The property from the externalItem schema. Required. returns a *string when successful

func (*PropertyRule) GetValues

func (m *PropertyRule) GetValues() []string

GetValues gets the values property value. A collection with one or many strings. One or more specified strings are matched with the specified property using the specified operation. Required. returns a []string when successful

func (*PropertyRule) GetValuesJoinedBy

GetValuesJoinedBy gets the valuesJoinedBy property value. The valuesJoinedBy property returns a *BinaryOperator when successful

func (*PropertyRule) Serialize

Serialize serializes information the current object

func (*PropertyRule) SetAdditionalData

func (m *PropertyRule) 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 (*PropertyRule) SetOdataType

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

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

func (*PropertyRule) SetOperation

func (m *PropertyRule) SetOperation(value *RuleOperation)

SetOperation sets the operation property value. The operation property

func (*PropertyRule) SetProperty

func (m *PropertyRule) SetProperty(value *string)

SetProperty sets the property property value. The property from the externalItem schema. Required.

func (*PropertyRule) SetValues

func (m *PropertyRule) SetValues(value []string)

SetValues sets the values property value. A collection with one or many strings. One or more specified strings are matched with the specified property using the specified operation. Required.

func (*PropertyRule) SetValuesJoinedBy

SetValuesJoinedBy sets the valuesJoinedBy property value. The valuesJoinedBy property

type PropertyType

type PropertyType int
const (
	STRING_PROPERTYTYPE PropertyType = iota
	INT64_PROPERTYTYPE
	DOUBLE_PROPERTYTYPE
	DATETIME_PROPERTYTYPE
	BOOLEAN_PROPERTYTYPE
	STRINGCOLLECTION_PROPERTYTYPE
	INT64COLLECTION_PROPERTYTYPE
	DOUBLECOLLECTION_PROPERTYTYPE
	DATETIMECOLLECTION_PROPERTYTYPE
	UNKNOWNFUTUREVALUE_PROPERTYTYPE
)

func (PropertyType) String

func (i PropertyType) String() string

type Propertyable

type Propertyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAliases() []string
	GetIsQueryable() *bool
	GetIsRefinable() *bool
	GetIsRetrievable() *bool
	GetIsSearchable() *bool
	GetLabels() []Label
	GetName() *string
	GetOdataType() *string
	GetTypeEscaped() *PropertyType
	SetAliases(value []string)
	SetIsQueryable(value *bool)
	SetIsRefinable(value *bool)
	SetIsRetrievable(value *bool)
	SetIsSearchable(value *bool)
	SetLabels(value []Label)
	SetName(value *string)
	SetOdataType(value *string)
	SetTypeEscaped(value *PropertyType)
}

type RuleOperation

type RuleOperation int
const (
	EQUALS_RULEOPERATION RuleOperation = iota
	NOTEQUALS_RULEOPERATION
	CONTAINS_RULEOPERATION
	NOTCONTAINS_RULEOPERATION
	LESSTHAN_RULEOPERATION
	GREATERTHAN_RULEOPERATION
	STARTSWITH_RULEOPERATION
	UNKNOWNFUTUREVALUE_RULEOPERATION
)

func (RuleOperation) String

func (i RuleOperation) String() string

type Schema

type Schema struct {
	ib77c81ae8501035869703744ba13b6f711366c9348e33eae916d2aea3d8b34ba.Entity
	// contains filtered or unexported fields
}

func NewSchema

func NewSchema() *Schema

NewSchema instantiates a new Schema and sets the default values.

func (*Schema) GetBaseType

func (m *Schema) GetBaseType() *string

GetBaseType gets the baseType property value. Must be set to microsoft.graph.externalConnector.externalItem. Required. returns a *string when successful

func (*Schema) GetFieldDeserializers

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

func (*Schema) GetProperties

func (m *Schema) GetProperties() []Propertyable

GetProperties gets the properties property value. The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. returns a []Propertyable when successful

func (*Schema) Serialize

Serialize serializes information the current object

func (*Schema) SetBaseType

func (m *Schema) SetBaseType(value *string)

SetBaseType sets the baseType property value. Must be set to microsoft.graph.externalConnector.externalItem. Required.

func (*Schema) SetProperties

func (m *Schema) SetProperties(value []Propertyable)

SetProperties sets the properties property value. The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128.

type SearchSettings

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

func NewSearchSettings

func NewSearchSettings() *SearchSettings

NewSearchSettings instantiates a new SearchSettings and sets the default values.

func (*SearchSettings) GetAdditionalData

func (m *SearchSettings) 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 (*SearchSettings) GetFieldDeserializers

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

func (*SearchSettings) GetOdataType

func (m *SearchSettings) GetOdataType() *string

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

func (*SearchSettings) GetSearchResultTemplates

func (m *SearchSettings) GetSearchResultTemplates() []DisplayTemplateable

GetSearchResultTemplates gets the searchResultTemplates property value. Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. returns a []DisplayTemplateable when successful

func (*SearchSettings) Serialize

Serialize serializes information the current object

func (*SearchSettings) SetAdditionalData

func (m *SearchSettings) 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 (*SearchSettings) SetOdataType

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

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

func (*SearchSettings) SetSearchResultTemplates

func (m *SearchSettings) SetSearchResultTemplates(value []DisplayTemplateable)

SetSearchResultTemplates sets the searchResultTemplates property value. Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection.

type SearchSettingsable

type SearchSettingsable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdataType() *string
	GetSearchResultTemplates() []DisplayTemplateable
	SetOdataType(value *string)
	SetSearchResultTemplates(value []DisplayTemplateable)
}

type UrlMatchInfo

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

func NewUrlMatchInfo

func NewUrlMatchInfo() *UrlMatchInfo

NewUrlMatchInfo instantiates a new UrlMatchInfo and sets the default values.

func (*UrlMatchInfo) GetAdditionalData

func (m *UrlMatchInfo) 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 (*UrlMatchInfo) GetBaseUrls

func (m *UrlMatchInfo) GetBaseUrls() []string

GetBaseUrls gets the baseUrls property value. A list of the URL prefixes that must match URLs to be processed by this URL-to-item-resolver. returns a []string when successful

func (*UrlMatchInfo) GetFieldDeserializers

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

func (*UrlMatchInfo) GetOdataType

func (m *UrlMatchInfo) GetOdataType() *string

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

func (*UrlMatchInfo) GetUrlPattern

func (m *UrlMatchInfo) GetUrlPattern() *string

GetUrlPattern gets the urlPattern property value. A regular expression that will be matched towards the URL that is processed by this URL-to-item-resolver. The ECMAScript specification for regular expressions (ECMA-262) is used for the evaluation. The named groups defined by the regular expression will be used later to extract values from the URL. returns a *string when successful

func (*UrlMatchInfo) Serialize

Serialize serializes information the current object

func (*UrlMatchInfo) SetAdditionalData

func (m *UrlMatchInfo) 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 (*UrlMatchInfo) SetBaseUrls

func (m *UrlMatchInfo) SetBaseUrls(value []string)

SetBaseUrls sets the baseUrls property value. A list of the URL prefixes that must match URLs to be processed by this URL-to-item-resolver.

func (*UrlMatchInfo) SetOdataType

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

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

func (*UrlMatchInfo) SetUrlPattern

func (m *UrlMatchInfo) SetUrlPattern(value *string)

SetUrlPattern sets the urlPattern property value. A regular expression that will be matched towards the URL that is processed by this URL-to-item-resolver. The ECMAScript specification for regular expressions (ECMA-262) is used for the evaluation. The named groups defined by the regular expression will be used later to extract values from the URL.

type UrlMatchInfoable

type UrlMatchInfoable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBaseUrls() []string
	GetOdataType() *string
	GetUrlPattern() *string
	SetBaseUrls(value []string)
	SetOdataType(value *string)
	SetUrlPattern(value *string)
}

type UrlToItemResolverBase

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

func NewUrlToItemResolverBase

func NewUrlToItemResolverBase() *UrlToItemResolverBase

NewUrlToItemResolverBase instantiates a new UrlToItemResolverBase and sets the default values.

func (*UrlToItemResolverBase) GetAdditionalData

func (m *UrlToItemResolverBase) 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 (*UrlToItemResolverBase) GetFieldDeserializers

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

func (*UrlToItemResolverBase) GetOdataType

func (m *UrlToItemResolverBase) GetOdataType() *string

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

func (*UrlToItemResolverBase) GetPriority

func (m *UrlToItemResolverBase) GetPriority() *int32

GetPriority gets the priority property value. The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated. returns a *int32 when successful

func (*UrlToItemResolverBase) Serialize

Serialize serializes information the current object

func (*UrlToItemResolverBase) SetAdditionalData

func (m *UrlToItemResolverBase) 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 (*UrlToItemResolverBase) SetOdataType

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

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

func (*UrlToItemResolverBase) SetPriority

func (m *UrlToItemResolverBase) SetPriority(value *int32)

SetPriority sets the priority property value. The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated.

Jump to

Keyboard shortcuts

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