externalconnectors

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 3 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

func CreateConfigurationFromDiscriminatorValue

CreateConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateConnectionOperationCollectionResponseFromDiscriminatorValue

CreateConnectionOperationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateConnectionOperationFromDiscriminatorValue

CreateConnectionOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalConnectionCollectionResponseFromDiscriminatorValue

CreateExternalConnectionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalConnectionFromDiscriminatorValue

CreateExternalConnectionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalFromDiscriminatorValue

CreateExternalFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalGroupCollectionResponseFromDiscriminatorValue

CreateExternalGroupCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalGroupFromDiscriminatorValue

CreateExternalGroupFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalItemCollectionResponseFromDiscriminatorValue

CreateExternalItemCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalItemContentFromDiscriminatorValue

CreateExternalItemContentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateExternalItemFromDiscriminatorValue

CreateExternalItemFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateIdentityCollectionResponseFromDiscriminatorValue

CreateIdentityCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateIdentityFromDiscriminatorValue

CreateIdentityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreatePropertiesFromDiscriminatorValue

CreatePropertiesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreatePropertyFromDiscriminatorValue

CreatePropertyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateSchemaFromDiscriminatorValue

CreateSchemaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func ParseAccessType

func ParseAccessType(v string) (interface{}, error)

func ParseAclType

func ParseAclType(v string) (interface{}, error)

func ParseConnectionOperationStatus

func ParseConnectionOperationStatus(v string) (interface{}, error)

func ParseConnectionState

func ParseConnectionState(v string) (interface{}, error)

func ParseExternalItemContentType

func ParseExternalItemContentType(v string) (interface{}, error)

func ParseIdentityType

func ParseIdentityType(v string) (interface{}, error)

func ParsePropertyType

func ParsePropertyType(v string) (interface{}, 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 SerializeExternalItemContentType

func SerializeExternalItemContentType(values []ExternalItemContentType) []string

func SerializeIdentityType

func SerializeIdentityType(values []IdentityType) []string

func SerializePropertyType

func SerializePropertyType(values []PropertyType) []string

Types

type AccessType

type AccessType int

Provides operations to manage the collection of externalConnection entities.

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
}

Acl

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 access granted to the identity. Possible values are: grant, deny.

func (*Acl) GetAdditionalData

func (m *Acl) GetAdditionalData() map[string]interface{}

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.

func (*Acl) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Acl) GetType

func (m *Acl) GetType() *AclType

GetType gets the type property value. The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external.

func (*Acl) GetValue

func (m *Acl) GetValue() *string

GetValue gets the value property value. The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup.

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 access granted to the identity. Possible values are: grant, deny.

func (*Acl) SetAdditionalData

func (m *Acl) SetAdditionalData(value map[string]interface{})

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) SetType

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

SetType sets the type property value. The type of identity. Possible values are: user, group, everyone, everyoneExceptGuests if the identitySource is azureActiveDirectory and just group if the identitySource is external.

func (*Acl) SetValue

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

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

type AclType

type AclType int

Provides operations to manage the collection of externalConnection entities.

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

Aclable

type Configuration

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

Configuration

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration instantiates a new configuration and sets the default values.

func (*Configuration) GetAdditionalData

func (m *Configuration) GetAdditionalData() map[string]interface{}

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.

func (*Configuration) GetAuthorizedAppIds

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

GetAuthorizedAppIds gets the authorizedAppIds property value. A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection.

func (*Configuration) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Configuration) Serialize

Serialize serializes information the current object

func (*Configuration) SetAdditionalData

func (m *Configuration) SetAdditionalData(value map[string]interface{})

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 Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection.

type ConnectionOperation

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

ConnectionOperation provides operations to manage the collection of externalConnection entities.

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.

func (*ConnectionOperation) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ConnectionOperation) GetStatus

GetStatus gets the status property value. Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed.

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.

type ConnectionOperationCollectionResponse

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

ConnectionOperationCollectionResponse

func NewConnectionOperationCollectionResponse

func NewConnectionOperationCollectionResponse() *ConnectionOperationCollectionResponse

NewConnectionOperationCollectionResponse instantiates a new ConnectionOperationCollectionResponse and sets the default values.

func (*ConnectionOperationCollectionResponse) GetAdditionalData

func (m *ConnectionOperationCollectionResponse) GetAdditionalData() map[string]interface{}

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.

func (*ConnectionOperationCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (m *ConnectionOperationCollectionResponse) GetOdatanextLink() *string

GetOdatanextLink gets the @odata.nextLink property value. The nextLink property

func (*ConnectionOperationCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ConnectionOperationCollectionResponse) Serialize

Serialize serializes information the current object

func (*ConnectionOperationCollectionResponse) SetAdditionalData

func (m *ConnectionOperationCollectionResponse) SetAdditionalData(value map[string]interface{})

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 (m *ConnectionOperationCollectionResponse) SetOdatanextLink(value *string)

SetOdatanextLink sets the @odata.nextLink property value. The nextLink property

func (*ConnectionOperationCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ConnectionOperationCollectionResponseable

type ConnectionOperationCollectionResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdatanextLink() *string
	GetValue() []ConnectionOperationable
	SetOdatanextLink(value *string)
	SetValue(value []ConnectionOperationable)
}

ConnectionOperationCollectionResponseable

type ConnectionOperationStatus

type ConnectionOperationStatus int

Provides operations to manage the collection of externalConnection entities.

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

Provides operations to manage the collection of externalConnection entities.

const (
	DRAFT_CONNECTIONSTATE ConnectionState = iota
	READY_CONNECTIONSTATE
	OBSOLETE_CONNECTIONSTATE
	LIMITEXCEEDED_CONNECTIONSTATE
	UNKNOWNFUTUREVALUE_CONNECTIONSTATE
)

func (ConnectionState) String

func (i ConnectionState) String() string

type External

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

External

func NewExternal

func NewExternal() *External

NewExternal instantiates a new External and sets the default values.

func (*External) GetAdditionalData

func (m *External) GetAdditionalData() map[string]interface{}

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.

func (*External) GetConnections

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

GetConnections gets the connections property value. The connections property

func (*External) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*External) Serialize

Serialize serializes information the current object

func (*External) SetAdditionalData

func (m *External) SetAdditionalData(value map[string]interface{})

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) SetConnections

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

SetConnections sets the connections property value. The connections property

type ExternalConnection

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

ExternalConnection provides operations to manage the collection of externalConnection entities.

func NewExternalConnection

func NewExternalConnection() *ExternalConnection

NewExternalConnection instantiates a new externalConnection and sets the default values.

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.

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.

func (*ExternalConnection) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ExternalConnection) GetGroups

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

GetGroups gets the groups property value. Read-only. Nullable.

func (*ExternalConnection) GetItems

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

GetItems gets the items property value. Read-only. Nullable.

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.

func (*ExternalConnection) GetOperations

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

GetOperations gets the operations property value. Read-only. Nullable.

func (*ExternalConnection) GetSchema

func (m *ExternalConnection) GetSchema() Schemaable

GetSchema gets the schema property value. Read-only. Nullable.

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, and limitExceeded. Required.

func (*ExternalConnection) Serialize

Serialize serializes information the current object

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) 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. Read-only. Nullable.

func (*ExternalConnection) SetItems

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

SetItems sets the items property value. Read-only. Nullable.

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. Read-only. Nullable.

func (*ExternalConnection) SetSchema

func (m *ExternalConnection) SetSchema(value Schemaable)

SetSchema sets the schema property value. Read-only. Nullable.

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, and limitExceeded. Required.

type ExternalConnectionCollectionResponse

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

ExternalConnectionCollectionResponse

func NewExternalConnectionCollectionResponse

func NewExternalConnectionCollectionResponse() *ExternalConnectionCollectionResponse

NewExternalConnectionCollectionResponse instantiates a new ExternalConnectionCollectionResponse and sets the default values.

func (*ExternalConnectionCollectionResponse) GetAdditionalData

func (m *ExternalConnectionCollectionResponse) GetAdditionalData() map[string]interface{}

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.

func (*ExternalConnectionCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (m *ExternalConnectionCollectionResponse) GetOdatanextLink() *string

GetOdatanextLink gets the @odata.nextLink property value. The nextLink property

func (*ExternalConnectionCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ExternalConnectionCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalConnectionCollectionResponse) SetAdditionalData

func (m *ExternalConnectionCollectionResponse) SetAdditionalData(value map[string]interface{})

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 (m *ExternalConnectionCollectionResponse) SetOdatanextLink(value *string)

SetOdatanextLink sets the @odata.nextLink property value. The nextLink property

func (*ExternalConnectionCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ExternalConnectionCollectionResponseable

type ExternalConnectionCollectionResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdatanextLink() *string
	GetValue() []ExternalConnectionable
	SetOdatanextLink(value *string)
	SetValue(value []ExternalConnectionable)
}

ExternalConnectionCollectionResponseable

type ExternalConnectionable

type ExternalConnectionable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetConfiguration() Configurationable
	GetDescription() *string
	GetGroups() []ExternalGroupable
	GetItems() []ExternalItemable
	GetName() *string
	GetOperations() []ConnectionOperationable
	GetSchema() Schemaable
	GetState() *ConnectionState
	SetConfiguration(value Configurationable)
	SetDescription(value *string)
	SetGroups(value []ExternalGroupable)
	SetItems(value []ExternalItemable)
	SetName(value *string)
	SetOperations(value []ConnectionOperationable)
	SetSchema(value Schemaable)
	SetState(value *ConnectionState)
}

ExternalConnectionable

type ExternalGroup

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

ExternalGroup provides operations to manage the collection of externalConnection entities.

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.

func (*ExternalGroup) GetDisplayName

func (m *ExternalGroup) GetDisplayName() *string

GetDisplayName gets the displayName property value. The friendly name of the external group. Optional.

func (*ExternalGroup) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ExternalGroup) GetMembers

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

GetMembers gets the members property value. A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members.

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 Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members.

type ExternalGroupCollectionResponse

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

ExternalGroupCollectionResponse

func NewExternalGroupCollectionResponse

func NewExternalGroupCollectionResponse() *ExternalGroupCollectionResponse

NewExternalGroupCollectionResponse instantiates a new ExternalGroupCollectionResponse and sets the default values.

func (*ExternalGroupCollectionResponse) GetAdditionalData

func (m *ExternalGroupCollectionResponse) GetAdditionalData() map[string]interface{}

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.

func (*ExternalGroupCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (m *ExternalGroupCollectionResponse) GetOdatanextLink() *string

GetOdatanextLink gets the @odata.nextLink property value. The nextLink property

func (*ExternalGroupCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ExternalGroupCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalGroupCollectionResponse) SetAdditionalData

func (m *ExternalGroupCollectionResponse) SetAdditionalData(value map[string]interface{})

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 (m *ExternalGroupCollectionResponse) SetOdatanextLink(value *string)

SetOdatanextLink sets the @odata.nextLink property value. The nextLink property

func (*ExternalGroupCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ExternalGroupCollectionResponseable

type ExternalGroupCollectionResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdatanextLink() *string
	GetValue() []ExternalGroupable
	SetOdatanextLink(value *string)
	SetValue(value []ExternalGroupable)
}

ExternalGroupCollectionResponseable

type ExternalGroupable

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

ExternalGroupable

type ExternalItem

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

ExternalItem provides operations to manage the collection of externalConnection entities.

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.

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.

func (*ExternalItem) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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) 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

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

ExternalItemCollectionResponse

func NewExternalItemCollectionResponse

func NewExternalItemCollectionResponse() *ExternalItemCollectionResponse

NewExternalItemCollectionResponse instantiates a new ExternalItemCollectionResponse and sets the default values.

func (*ExternalItemCollectionResponse) GetAdditionalData

func (m *ExternalItemCollectionResponse) GetAdditionalData() map[string]interface{}

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.

func (*ExternalItemCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (m *ExternalItemCollectionResponse) GetOdatanextLink() *string

GetOdatanextLink gets the @odata.nextLink property value. The nextLink property

func (*ExternalItemCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ExternalItemCollectionResponse) Serialize

Serialize serializes information the current object

func (*ExternalItemCollectionResponse) SetAdditionalData

func (m *ExternalItemCollectionResponse) SetAdditionalData(value map[string]interface{})

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 (m *ExternalItemCollectionResponse) SetOdatanextLink(value *string)

SetOdatanextLink sets the @odata.nextLink property value. The nextLink property

func (*ExternalItemCollectionResponse) SetValue

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

SetValue sets the value property value. The value property

type ExternalItemCollectionResponseable

type ExternalItemCollectionResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdatanextLink() *string
	GetValue() []ExternalItemable
	SetOdatanextLink(value *string)
	SetValue(value []ExternalItemable)
}

ExternalItemCollectionResponseable

type ExternalItemContent

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

ExternalItemContent

func NewExternalItemContent

func NewExternalItemContent() *ExternalItemContent

NewExternalItemContent instantiates a new externalItemContent and sets the default values.

func (*ExternalItemContent) GetAdditionalData

func (m *ExternalItemContent) GetAdditionalData() map[string]interface{}

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.

func (*ExternalItemContent) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ExternalItemContent) GetType

GetType gets the type property value. The type of content in the value property. Possible values are text and html. These are the content types that the indexer supports, and not the file extension types allowed. Required.

func (*ExternalItemContent) GetValue

func (m *ExternalItemContent) GetValue() *string

GetValue gets the value property value. The content for the externalItem. Required.

func (*ExternalItemContent) Serialize

Serialize serializes information the current object

func (*ExternalItemContent) SetAdditionalData

func (m *ExternalItemContent) SetAdditionalData(value map[string]interface{})

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) SetType

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

SetType sets the type property value. The type of content in the value property. Possible values are text and html. These are the content types that the indexer supports, and not the file extension types allowed. Required.

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

Provides operations to manage the collection of externalConnection entities.

const (
	TEXT_EXTERNALITEMCONTENTTYPE ExternalItemContentType = iota
	HTML_EXTERNALITEMCONTENTTYPE
	UNKNOWNFUTUREVALUE_EXTERNALITEMCONTENTTYPE
)

func (ExternalItemContentType) String

func (i ExternalItemContentType) String() string

type Identity

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

Identity provides operations to manage the collection of externalConnection entities.

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

func (*Identity) GetType

func (m *Identity) GetType() *IdentityType

GetType gets the type property value. The type of identity. Possible values are: user or group for Azure AD identities and externalgroup for groups in an external system.

func (*Identity) Serialize

Serialize serializes information the current object

func (*Identity) SetType

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

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

type IdentityCollectionResponse

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

IdentityCollectionResponse

func NewIdentityCollectionResponse

func NewIdentityCollectionResponse() *IdentityCollectionResponse

NewIdentityCollectionResponse instantiates a new IdentityCollectionResponse and sets the default values.

func (*IdentityCollectionResponse) GetAdditionalData

func (m *IdentityCollectionResponse) GetAdditionalData() map[string]interface{}

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.

func (*IdentityCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (m *IdentityCollectionResponse) GetOdatanextLink() *string

GetOdatanextLink gets the @odata.nextLink property value. The nextLink property

func (*IdentityCollectionResponse) GetValue

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

GetValue gets the value property value. The value property

func (*IdentityCollectionResponse) Serialize

Serialize serializes information the current object

func (*IdentityCollectionResponse) SetAdditionalData

func (m *IdentityCollectionResponse) SetAdditionalData(value map[string]interface{})

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 (m *IdentityCollectionResponse) SetOdatanextLink(value *string)

SetOdatanextLink sets the @odata.nextLink property value. The nextLink property

func (*IdentityCollectionResponse) SetValue

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

SetValue sets the value property value. The value property

type IdentityCollectionResponseable

type IdentityCollectionResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetOdatanextLink() *string
	GetValue() []Identityable
	SetOdatanextLink(value *string)
	SetValue(value []Identityable)
}

IdentityCollectionResponseable

type IdentityType

type IdentityType int

Provides operations to manage the collection of externalConnection entities.

const (
	USER_IDENTITYTYPE IdentityType = iota
	GROUP_IDENTITYTYPE
	EXTERNALGROUP_IDENTITYTYPE
	UNKNOWNFUTUREVALUE_IDENTITYTYPE
)

func (IdentityType) String

func (i IdentityType) String() string

type Properties

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

Properties

func NewProperties

func NewProperties() *Properties

NewProperties instantiates a new properties and sets the default values.

func (*Properties) GetAdditionalData

func (m *Properties) GetAdditionalData() map[string]interface{}

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.

func (*Properties) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Properties) Serialize

Serialize serializes information the current object

func (*Properties) SetAdditionalData

func (m *Properties) SetAdditionalData(value map[string]interface{})

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.

type Property

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

Property

func NewProperty

func NewProperty() *Property

NewProperty instantiates a new property and sets the default values.

func (*Property) GetAdditionalData

func (m *Property) GetAdditionalData() map[string]interface{}

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.

func (*Property) GetAliases

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

GetAliases gets the aliases property value. A set of aliases or a friendly names 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) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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.

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.

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. Non-searchable properties are not added to the search index. Optional.

func (*Property) GetLabels

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

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 (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.

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.

func (*Property) GetType

func (m *Property) GetType() *PropertyType

GetType gets the type property value. The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required.

func (*Property) Serialize

Serialize serializes information the current object

func (*Property) SetAdditionalData

func (m *Property) SetAdditionalData(value map[string]interface{})

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 names 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. Non-searchable properties are not added to the search index. Optional.

func (*Property) SetLabels

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

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 (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl.

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) SetType

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

SetType sets the type property value. The data type of the property. Possible values are: string, int64, double, dateTime, boolean, stringCollection, int64Collection, doubleCollection, dateTimeCollection, unknownFutureValue. Required.

type PropertyType

type PropertyType int

Provides operations to manage the collection of externalConnection entities.

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() []string
	GetName() *string
	GetType() *PropertyType
	SetAliases(value []string)
	SetIsQueryable(value *bool)
	SetIsRefinable(value *bool)
	SetIsRetrievable(value *bool)
	SetIsSearchable(value *bool)
	SetLabels(value []string)
	SetName(value *string)
	SetType(value *PropertyType)
}

Propertyable

type Schema

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

Schema provides operations to manage the collection of externalConnection entities.

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.externalItem. Required.

func (*Schema) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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.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 Schemaable

Schemaable

Jump to

Keyboard shortcuts

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