externalconnectors

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 4 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAclCollectionResponseFromDiscriminatorValue added in v0.41.0

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

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

CreatePropertyCollectionResponseFromDiscriminatorValue 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 ParseLabel

func ParseLabel(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 SerializeLabel

func SerializeLabel(values []Label) []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 accessType property

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

func (m *Acl) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*Acl) GetType

func (m *Acl) GetType() *AclType

GetType gets the type property value. The type property

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 accessType property

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

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

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

func (*Acl) SetType

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

SetType 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. 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 AclCollectionResponse added in v0.41.0

type AclCollectionResponse struct {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

AclCollectionResponse

func NewAclCollectionResponse added in v0.41.0

func NewAclCollectionResponse() *AclCollectionResponse

NewAclCollectionResponse instantiates a new AclCollectionResponse and sets the default values.

func (*AclCollectionResponse) GetFieldDeserializers added in v0.41.0

GetFieldDeserializers the deserialization information for the current model

func (*AclCollectionResponse) GetValue added in v0.41.0

func (m *AclCollectionResponse) GetValue() []Aclable

GetValue gets the value property value. The value property

func (*AclCollectionResponse) Serialize added in v0.41.0

Serialize serializes information the current object

func (*AclCollectionResponse) SetValue added in v0.41.0

func (m *AclCollectionResponse) SetValue(value []Aclable)

SetValue sets the value property value. The value property

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

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

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

func (m *Configuration) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

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.

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 Configurationable

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

Configurationable

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, unknownFutureValue.

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

type ConnectionOperationCollectionResponse struct {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

ConnectionOperationCollectionResponse provides operations to manage the operations property of the microsoft.graph.externalConnectors.externalConnection entity.

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

func (*ConnectionOperationCollectionResponse) GetValue

GetValue gets the value property value. The value property

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

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

func (m *External) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

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

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 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. The groups property

func (*ExternalConnection) GetItems

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

GetItems gets the items property value. The items property

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. The operations property

func (*ExternalConnection) GetSchema

func (m *ExternalConnection) GetSchema() Schemaable

GetSchema gets the schema property value. The schema property

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.

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

type ExternalConnectionCollectionResponse struct {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

ExternalConnectionCollectionResponse provides operations to manage the collection of externalConnection entities.

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

func (*ExternalConnectionCollectionResponse) GetValue

GetValue gets the value property value. The value property

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
	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 an externalGroup 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 an externalGroup as members.

type ExternalGroupCollectionResponse

type ExternalGroupCollectionResponse struct {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

ExternalGroupCollectionResponse provides operations to manage the groups property of the microsoft.graph.externalConnectors.externalConnection entity.

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

func (*ExternalGroupCollectionResponse) GetValue

GetValue gets the value property value. The value property

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

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 {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

ExternalItemCollectionResponse provides operations to manage the items property of the microsoft.graph.externalConnectors.externalConnection entity.

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

func (*ExternalItemCollectionResponse) GetValue

GetValue gets the value property value. The value property

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
}

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

func (m *ExternalItemContent) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*ExternalItemContent) GetType

GetType gets the type property value. The type property

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

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

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

func (*ExternalItemContent) SetType

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

SetType 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

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 ExternalItemContentable

ExternalItemContentable

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 {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

IdentityCollectionResponse provides operations to manage the members property of the microsoft.graph.externalConnectors.externalGroup entity.

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

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

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

SetValue sets the value property value. The value property

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 Label

type Label int

Provides operations to manage the collection of externalConnection entities.

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

func (Label) String

func (i Label) 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) GetOdataType added in v0.31.0

func (m *Properties) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

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.

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
}

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() []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 (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional.

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

func (m *Property) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*Property) GetType

func (m *Property) GetType() *PropertyType

GetType gets the type property value. The type property

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 []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 (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional.

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

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

SetType sets the type property value. The type property

type PropertyCollectionResponse added in v0.41.0

type PropertyCollectionResponse struct {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
	// contains filtered or unexported fields
}

PropertyCollectionResponse

func NewPropertyCollectionResponse added in v0.41.0

func NewPropertyCollectionResponse() *PropertyCollectionResponse

NewPropertyCollectionResponse instantiates a new PropertyCollectionResponse and sets the default values.

func (*PropertyCollectionResponse) GetFieldDeserializers added in v0.41.0

GetFieldDeserializers the deserialization information for the current model

func (*PropertyCollectionResponse) GetValue added in v0.41.0

func (m *PropertyCollectionResponse) GetValue() []Propertyable

GetValue gets the value property value. The value property

func (*PropertyCollectionResponse) Serialize added in v0.41.0

Serialize serializes information the current object

func (*PropertyCollectionResponse) SetValue added in v0.41.0

func (m *PropertyCollectionResponse) SetValue(value []Propertyable)

SetValue sets the value property value. The value property

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

Propertyable

type Schema

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

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.

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

Schemaable

Jump to

Keyboard shortcuts

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