externalconnectors

package
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 4 Imported by: 21

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 added in v1.1.0

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 CreateConnectionOperationCollectionResponseFromDiscriminatorValue

CreateConnectionOperationCollectionResponseFromDiscriminatorValue 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 added in v1.1.0

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

func CreateExternalActivityCollectionResponseFromDiscriminatorValue added in v1.2.0

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

func CreateExternalActivityFromDiscriminatorValue added in v1.2.0

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

func CreateExternalActivityResultFromDiscriminatorValue added in v1.2.0

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

func CreateExternalConnectionCollectionResponseFromDiscriminatorValue

CreateExternalConnectionCollectionResponseFromDiscriminatorValue 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 CreateExternalFromDiscriminatorValue

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

func CreateExternalGroupCollectionResponseFromDiscriminatorValue

CreateExternalGroupCollectionResponseFromDiscriminatorValue 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 CreateExternalItemCollectionResponseFromDiscriminatorValue

CreateExternalItemCollectionResponseFromDiscriminatorValue 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 CreateIdentityCollectionResponseFromDiscriminatorValue

CreateIdentityCollectionResponseFromDiscriminatorValue 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 added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

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

func CreateUrlMatchInfoFromDiscriminatorValue added in v1.1.0

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

func CreateUrlToItemResolverBaseFromDiscriminatorValue added in v1.1.0

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 added in v1.2.0

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 added in v1.1.0

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 added in v1.2.0

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 added in v1.1.0

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v0.31.0

func (m *Acl) GetOdataType() *string

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

func (*Acl) GetTypeEscaped added in v1.13.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*Acl) SetOdataType added in v0.31.0

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

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

func (*Acl) SetTypeEscaped added in v1.13.0

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 ActivitySettings added in v1.1.0

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

func NewActivitySettings added in v1.1.0

func NewActivitySettings() *ActivitySettings

NewActivitySettings instantiates a new ActivitySettings and sets the default values.

func (*ActivitySettings) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*ActivitySettings) GetFieldDeserializers added in v1.1.0

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

func (*ActivitySettings) GetOdataType added in v1.1.0

func (m *ActivitySettings) GetOdataType() *string

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

func (*ActivitySettings) GetUrlToItemResolvers added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*ActivitySettings) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*ActivitySettings) SetOdataType added in v1.1.0

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

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

func (*ActivitySettings) SetUrlToItemResolvers added in v1.1.0

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v0.31.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*Configuration) SetOdataType added in v0.31.0

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

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

type ConnectionOperation

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 ConnectionOperationCollectionResponse

func NewConnectionOperationCollectionResponse

func NewConnectionOperationCollectionResponse() *ConnectionOperationCollectionResponse

NewConnectionOperationCollectionResponse instantiates a new ConnectionOperationCollectionResponse and sets the default values.

func (*ConnectionOperationCollectionResponse) GetFieldDeserializers

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

func (*ConnectionOperationCollectionResponse) GetValue

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

func (*ConnectionOperationCollectionResponse) Serialize

Serialize serializes information the current object

func (*ConnectionOperationCollectionResponse) SetValue

SetValue sets the value property value. The value property

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 added in v1.1.0

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

func NewDisplayTemplate added in v1.1.0

func NewDisplayTemplate() *DisplayTemplate

NewDisplayTemplate instantiates a new DisplayTemplate and sets the default values.

func (*DisplayTemplate) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*DisplayTemplate) GetFieldDeserializers added in v1.1.0

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

func (*DisplayTemplate) GetId added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

func (m *DisplayTemplate) GetOdataType() *string

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

func (*DisplayTemplate) GetPriority added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*DisplayTemplate) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*DisplayTemplate) SetId added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

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

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

func (*DisplayTemplate) SetPriority added in v1.1.0

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 added in v1.1.0

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 External

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

func NewExternal

func NewExternal() *External

NewExternal instantiates a new External and sets the default values.

func (*External) GetAdditionalData

func (m *External) 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 (*External) GetBackingStore added in v0.56.0

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

func (*External) GetConnections

func (m *External) GetConnections() []ExternalConnectionable

GetConnections gets the connections property value. The connections property returns a []ExternalConnectionable when successful

func (*External) GetFieldDeserializers

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

func (*External) GetOdataType added in v0.31.0

func (m *External) GetOdataType() *string

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

func (*External) Serialize

Serialize serializes information the current object

func (*External) SetAdditionalData

func (m *External) 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 (*External) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*External) SetConnections

func (m *External) SetConnections(value []ExternalConnectionable)

SetConnections sets the connections property value. The connections property

func (*External) SetOdataType added in v0.31.0

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

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

type ExternalActivity added in v1.2.0

func NewExternalActivity added in v1.2.0

func NewExternalActivity() *ExternalActivity

NewExternalActivity instantiates a new ExternalActivity and sets the default values.

func (*ExternalActivity) GetFieldDeserializers added in v1.2.0

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

func (*ExternalActivity) GetPerformedBy added in v1.2.0

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 added in v1.2.0

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 added in v1.13.0

func (m *ExternalActivity) GetTypeEscaped() *ExternalActivityType

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

func (*ExternalActivity) Serialize added in v1.2.0

Serialize serializes information the current object

func (*ExternalActivity) SetPerformedBy added in v1.2.0

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 added in v1.2.0

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 added in v1.13.0

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

SetTypeEscaped sets the type property value. The type property

type ExternalActivityCollectionResponse added in v1.2.0

func NewExternalActivityCollectionResponse added in v1.2.0

func NewExternalActivityCollectionResponse() *ExternalActivityCollectionResponse

NewExternalActivityCollectionResponse instantiates a new ExternalActivityCollectionResponse and sets the default values.

func (*ExternalActivityCollectionResponse) GetFieldDeserializers added in v1.2.0

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

func (*ExternalActivityCollectionResponse) GetValue added in v1.2.0

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

func (*ExternalActivityCollectionResponse) Serialize added in v1.2.0

Serialize serializes information the current object

func (*ExternalActivityCollectionResponse) SetValue added in v1.2.0

SetValue sets the value property value. The value property

type ExternalActivityResult added in v1.2.0

type ExternalActivityResult struct {
	ExternalActivity
}

func NewExternalActivityResult added in v1.2.0

func NewExternalActivityResult() *ExternalActivityResult

NewExternalActivityResult instantiates a new ExternalActivityResult and sets the default values.

func (*ExternalActivityResult) GetError added in v1.2.0

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 added in v1.2.0

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

func (*ExternalActivityResult) Serialize added in v1.2.0

Serialize serializes information the current object

func (*ExternalActivityResult) SetError added in v1.2.0

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

type ExternalActivityType added in v1.2.0

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

func (ExternalActivityType) String added in v1.2.0

func (i ExternalActivityType) String() string

type ExternalConnection

func NewExternalConnection

func NewExternalConnection() *ExternalConnection

NewExternalConnection instantiates a new ExternalConnection and sets the default values.

func (*ExternalConnection) GetActivitySettings added in v1.1.0

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 added in v1.24.0

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 added in v1.1.0

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 added in v1.1.0

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 added in v1.24.0

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 added in v1.1.0

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 ExternalConnectionCollectionResponse

func NewExternalConnectionCollectionResponse

func NewExternalConnectionCollectionResponse() *ExternalConnectionCollectionResponse

NewExternalConnectionCollectionResponse instantiates a new ExternalConnectionCollectionResponse and sets the default values.

func (*ExternalConnectionCollectionResponse) GetFieldDeserializers

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

func (*ExternalConnectionCollectionResponse) GetValue

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

func (*ExternalConnectionCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalConnectionCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ExternalConnectionable

type ExternalConnectionable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.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

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 ExternalGroupCollectionResponse

func NewExternalGroupCollectionResponse

func NewExternalGroupCollectionResponse() *ExternalGroupCollectionResponse

NewExternalGroupCollectionResponse instantiates a new ExternalGroupCollectionResponse and sets the default values.

func (*ExternalGroupCollectionResponse) GetFieldDeserializers

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

func (*ExternalGroupCollectionResponse) GetValue

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

func (*ExternalGroupCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalGroupCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ExternalGroupable

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

type ExternalItem

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 added in v1.2.0

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 added in v1.2.0

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 ExternalItemCollectionResponse

func NewExternalItemCollectionResponse

func NewExternalItemCollectionResponse() *ExternalItemCollectionResponse

NewExternalItemCollectionResponse instantiates a new ExternalItemCollectionResponse and sets the default values.

func (*ExternalItemCollectionResponse) GetFieldDeserializers

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

func (*ExternalItemCollectionResponse) GetValue

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

func (*ExternalItemCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalItemCollectionResponse) SetValue

func (m *ExternalItemCollectionResponse) SetValue(value []ExternalItemable)

SetValue sets the value property value. The value property

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v0.31.0

func (m *ExternalItemContent) GetOdataType() *string

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

func (*ExternalItemContent) GetTypeEscaped added in v1.13.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*ExternalItemContent) SetOdataType added in v0.31.0

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

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

func (*ExternalItemContent) SetTypeEscaped added in v1.13.0

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

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 added in v1.13.0

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 added in v1.13.0

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 IdentityCollectionResponse

func NewIdentityCollectionResponse

func NewIdentityCollectionResponse() *IdentityCollectionResponse

NewIdentityCollectionResponse instantiates a new IdentityCollectionResponse and sets the default values.

func (*IdentityCollectionResponse) GetFieldDeserializers

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

func (*IdentityCollectionResponse) GetValue

func (m *IdentityCollectionResponse) GetValue() []Identityable

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

func (*IdentityCollectionResponse) Serialize

Serialize serializes information the current object

func (*IdentityCollectionResponse) SetValue

func (m *IdentityCollectionResponse) SetValue(value []Identityable)

SetValue sets the value property value. The value property

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 added in v1.1.0

type ItemIdResolver struct {
	UrlToItemResolverBase
}

func NewItemIdResolver added in v1.1.0

func NewItemIdResolver() *ItemIdResolver

NewItemIdResolver instantiates a new ItemIdResolver and sets the default values.

func (*ItemIdResolver) GetFieldDeserializers added in v1.1.0

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

func (*ItemIdResolver) GetItemId added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*ItemIdResolver) SetItemId added in v1.1.0

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 added in v1.1.0

func (m *ItemIdResolver) SetUrlMatchInfo(value UrlMatchInfoable)

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

type ItemIdResolverable added in v1.1.0

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v0.31.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*Properties) SetOdataType added in v0.31.0

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) GetBackingStore added in v0.56.0

GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore 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 added in v0.31.0

func (m *Property) GetOdataType() *string

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

func (*Property) GetTypeEscaped added in v1.13.0

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) SetBackingStore added in v0.56.0

SetBackingStore sets the BackingStore property value. Stores model information.

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 added in v0.31.0

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

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

func (*Property) SetTypeEscaped added in v1.13.0

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

SetTypeEscaped sets the type property value. The type property

type PropertyRule added in v1.1.0

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

func NewPropertyRule added in v1.1.0

func NewPropertyRule() *PropertyRule

NewPropertyRule instantiates a new PropertyRule and sets the default values.

func (*PropertyRule) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*PropertyRule) GetFieldDeserializers added in v1.1.0

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

func (*PropertyRule) GetOdataType added in v1.1.0

func (m *PropertyRule) GetOdataType() *string

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

func (*PropertyRule) GetOperation added in v1.1.0

func (m *PropertyRule) GetOperation() *RuleOperation

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

func (*PropertyRule) GetProperty added in v1.1.0

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 added in v1.1.0

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 added in v1.1.0

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

func (*PropertyRule) Serialize added in v1.1.0

Serialize serializes information the current object

func (*PropertyRule) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*PropertyRule) SetOdataType added in v1.1.0

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

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

func (*PropertyRule) SetOperation added in v1.1.0

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

SetOperation sets the operation property value. The operation property

func (*PropertyRule) SetProperty added in v1.1.0

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

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

func (*PropertyRule) SetValues added in v1.1.0

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 added in v1.1.0

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
	ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAliases() []string
	GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
	GetIsQueryable() *bool
	GetIsRefinable() *bool
	GetIsRetrievable() *bool
	GetIsSearchable() *bool
	GetLabels() []Label
	GetName() *string
	GetOdataType() *string
	GetTypeEscaped() *PropertyType
	SetAliases(value []string)
	SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
	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 added in v1.1.0

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 added in v1.1.0

func (i RuleOperation) String() string

type Schema

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 added in v1.1.0

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

func NewSearchSettings added in v1.1.0

func NewSearchSettings() *SearchSettings

NewSearchSettings instantiates a new SearchSettings and sets the default values.

func (*SearchSettings) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*SearchSettings) GetFieldDeserializers added in v1.1.0

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

func (*SearchSettings) GetOdataType added in v1.1.0

func (m *SearchSettings) GetOdataType() *string

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

func (*SearchSettings) GetSearchResultTemplates added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*SearchSettings) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*SearchSettings) SetOdataType added in v1.1.0

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

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

func (*SearchSettings) SetSearchResultTemplates added in v1.1.0

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 UrlMatchInfo added in v1.1.0

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

func NewUrlMatchInfo added in v1.1.0

func NewUrlMatchInfo() *UrlMatchInfo

NewUrlMatchInfo instantiates a new UrlMatchInfo and sets the default values.

func (*UrlMatchInfo) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*UrlMatchInfo) GetBaseUrls added in v1.1.0

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 added in v1.1.0

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

func (*UrlMatchInfo) GetOdataType added in v1.1.0

func (m *UrlMatchInfo) GetOdataType() *string

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

func (*UrlMatchInfo) GetUrlPattern added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*UrlMatchInfo) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*UrlMatchInfo) SetBaseUrls added in v1.1.0

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 added in v1.1.0

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

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

func (*UrlMatchInfo) SetUrlPattern added in v1.1.0

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 UrlToItemResolverBase added in v1.1.0

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

func NewUrlToItemResolverBase added in v1.1.0

func NewUrlToItemResolverBase() *UrlToItemResolverBase

NewUrlToItemResolverBase instantiates a new UrlToItemResolverBase and sets the default values.

func (*UrlToItemResolverBase) GetAdditionalData added in v1.1.0

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) GetBackingStore added in v1.1.0

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

func (*UrlToItemResolverBase) GetFieldDeserializers added in v1.1.0

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

func (*UrlToItemResolverBase) GetOdataType added in v1.1.0

func (m *UrlToItemResolverBase) GetOdataType() *string

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

func (*UrlToItemResolverBase) GetPriority added in v1.1.0

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 added in v1.1.0

Serialize serializes information the current object

func (*UrlToItemResolverBase) SetAdditionalData added in v1.1.0

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) SetBackingStore added in v1.1.0

SetBackingStore sets the BackingStore property value. Stores model information.

func (*UrlToItemResolverBase) SetOdataType added in v1.1.0

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

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

func (*UrlToItemResolverBase) SetPriority added in v1.1.0

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