search

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAcronymCollectionResponseFromDiscriminatorValue

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

func CreateAcronymFromDiscriminatorValue

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

func CreateAnswerKeywordFromDiscriminatorValue

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

func CreateAnswerVariantFromDiscriminatorValue

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

func CreateBookmarkCollectionResponseFromDiscriminatorValue

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

func CreateBookmarkFromDiscriminatorValue

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

func CreateIdentityFromDiscriminatorValue

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

func CreateIdentitySetFromDiscriminatorValue

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

func CreateQnaCollectionResponseFromDiscriminatorValue

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

func CreateQnaFromDiscriminatorValue

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

func CreateSearchAnswerFromDiscriminatorValue

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

func ParseAnswerState

func ParseAnswerState(v string) (any, error)

func SerializeAnswerState

func SerializeAnswerState(values []AnswerState) []string

Types

type Acronym

type Acronym struct {
	SearchAnswer
}

func NewAcronym

func NewAcronym() *Acronym

NewAcronym instantiates a new Acronym and sets the default values.

func (*Acronym) GetFieldDeserializers

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

func (*Acronym) GetStandsFor

func (m *Acronym) GetStandsFor() *string

GetStandsFor gets the standsFor property value. What the acronym stands for. returns a *string when successful

func (*Acronym) GetState

func (m *Acronym) GetState() *AnswerState

GetState gets the state property value. The state property returns a *AnswerState when successful

func (*Acronym) Serialize

Serialize serializes information the current object

func (*Acronym) SetStandsFor

func (m *Acronym) SetStandsFor(value *string)

SetStandsFor sets the standsFor property value. What the acronym stands for.

func (*Acronym) SetState

func (m *Acronym) SetState(value *AnswerState)

SetState sets the state property value. The state property

type AcronymCollectionResponse

func NewAcronymCollectionResponse

func NewAcronymCollectionResponse() *AcronymCollectionResponse

NewAcronymCollectionResponse instantiates a new AcronymCollectionResponse and sets the default values.

func (*AcronymCollectionResponse) GetFieldDeserializers

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

func (*AcronymCollectionResponse) GetValue

func (m *AcronymCollectionResponse) GetValue() []Acronymable

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

func (*AcronymCollectionResponse) Serialize

Serialize serializes information the current object

func (*AcronymCollectionResponse) SetValue

func (m *AcronymCollectionResponse) SetValue(value []Acronymable)

SetValue sets the value property value. The value property

type Acronymable

type Acronymable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	SearchAnswerable
	GetStandsFor() *string
	GetState() *AnswerState
	SetStandsFor(value *string)
	SetState(value *AnswerState)
}

type AnswerKeyword

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

func NewAnswerKeyword

func NewAnswerKeyword() *AnswerKeyword

NewAnswerKeyword instantiates a new AnswerKeyword and sets the default values.

func (*AnswerKeyword) GetAdditionalData

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

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

func (*AnswerKeyword) GetBackingStore

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

func (*AnswerKeyword) GetFieldDeserializers

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

func (*AnswerKeyword) GetKeywords

func (m *AnswerKeyword) GetKeywords() []string

GetKeywords gets the keywords property value. A collection of keywords used to trigger the search answer. returns a []string when successful

func (*AnswerKeyword) GetMatchSimilarKeywords

func (m *AnswerKeyword) GetMatchSimilarKeywords() *bool

GetMatchSimilarKeywords gets the matchSimilarKeywords property value. If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. returns a *bool when successful

func (*AnswerKeyword) GetOdataType

func (m *AnswerKeyword) GetOdataType() *string

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

func (*AnswerKeyword) GetReservedKeywords

func (m *AnswerKeyword) GetReservedKeywords() []string

GetReservedKeywords gets the reservedKeywords property value. Unique keywords that guarantee the search answer is triggered. returns a []string when successful

func (*AnswerKeyword) Serialize

Serialize serializes information the current object

func (*AnswerKeyword) SetAdditionalData

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

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

func (*AnswerKeyword) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*AnswerKeyword) SetKeywords

func (m *AnswerKeyword) SetKeywords(value []string)

SetKeywords sets the keywords property value. A collection of keywords used to trigger the search answer.

func (*AnswerKeyword) SetMatchSimilarKeywords

func (m *AnswerKeyword) SetMatchSimilarKeywords(value *bool)

SetMatchSimilarKeywords sets the matchSimilarKeywords property value. If true, indicates that the search term contains similar words to the keywords that should trigger the search answer.

func (*AnswerKeyword) SetOdataType

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

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

func (*AnswerKeyword) SetReservedKeywords

func (m *AnswerKeyword) SetReservedKeywords(value []string)

SetReservedKeywords sets the reservedKeywords property value. Unique keywords that guarantee the search answer is triggered.

type AnswerState

type AnswerState int
const (
	PUBLISHED_ANSWERSTATE AnswerState = iota
	DRAFT_ANSWERSTATE
	EXCLUDED_ANSWERSTATE
	UNKNOWNFUTUREVALUE_ANSWERSTATE
)

func (AnswerState) String

func (i AnswerState) String() string

type AnswerVariant

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

func NewAnswerVariant

func NewAnswerVariant() *AnswerVariant

NewAnswerVariant instantiates a new AnswerVariant and sets the default values.

func (*AnswerVariant) GetAdditionalData

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

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

func (*AnswerVariant) GetBackingStore

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

func (*AnswerVariant) GetDescription

func (m *AnswerVariant) GetDescription() *string

GetDescription gets the description property value. The answer variation description that is shown on the search results page. returns a *string when successful

func (*AnswerVariant) GetDisplayName

func (m *AnswerVariant) GetDisplayName() *string

GetDisplayName gets the displayName property value. The answer variation name that is displayed in search results. returns a *string when successful

func (*AnswerVariant) GetFieldDeserializers

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

func (*AnswerVariant) GetLanguageTag

func (m *AnswerVariant) GetLanguageTag() *string

GetLanguageTag gets the languageTag property value. The country or region that can view this answer variation. returns a *string when successful

func (*AnswerVariant) GetOdataType

func (m *AnswerVariant) GetOdataType() *string

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

func (*AnswerVariant) GetPlatform

GetPlatform gets the platform property value. The device or operating system that can view this answer variation. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. returns a *DevicePlatformType when successful

func (*AnswerVariant) GetWebUrl

func (m *AnswerVariant) GetWebUrl() *string

GetWebUrl gets the webUrl property value. The URL link for the answer variation. When users select this answer variation from the search results, they're directed to the specified URL. returns a *string when successful

func (*AnswerVariant) Serialize

Serialize serializes information the current object

func (*AnswerVariant) SetAdditionalData

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

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

func (*AnswerVariant) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*AnswerVariant) SetDescription

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

SetDescription sets the description property value. The answer variation description that is shown on the search results page.

func (*AnswerVariant) SetDisplayName

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

SetDisplayName sets the displayName property value. The answer variation name that is displayed in search results.

func (*AnswerVariant) SetLanguageTag

func (m *AnswerVariant) SetLanguageTag(value *string)

SetLanguageTag sets the languageTag property value. The country or region that can view this answer variation.

func (*AnswerVariant) SetOdataType

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

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

func (*AnswerVariant) SetPlatform

SetPlatform sets the platform property value. The device or operating system that can view this answer variation. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.

func (*AnswerVariant) SetWebUrl

func (m *AnswerVariant) SetWebUrl(value *string)

SetWebUrl sets the webUrl property value. The URL link for the answer variation. When users select this answer variation from the search results, they're directed to the specified URL.

type Bookmark

type Bookmark struct {
	SearchAnswer
}

func NewBookmark

func NewBookmark() *Bookmark

NewBookmark instantiates a new Bookmark and sets the default values.

func (*Bookmark) GetAvailabilityEndDateTime

GetAvailabilityEndDateTime gets the availabilityEndDateTime property value. Date and time when the bookmark stops appearing as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Bookmark) GetAvailabilityStartDateTime

GetAvailabilityStartDateTime gets the availabilityStartDateTime property value. Date and time when the bookmark starts to appear as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Bookmark) GetCategories

func (m *Bookmark) GetCategories() []string

GetCategories gets the categories property value. Categories commonly used to describe this bookmark. For example, IT and HR. returns a []string when successful

func (*Bookmark) GetFieldDeserializers

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

func (*Bookmark) GetGroupIds

func (m *Bookmark) GetGroupIds() []string

GetGroupIds gets the groupIds property value. The list of security groups that are able to view this bookmark. returns a []string when successful

func (*Bookmark) GetIsSuggested

func (m *Bookmark) GetIsSuggested() *bool

GetIsSuggested gets the isSuggested property value. True if this bookmark was suggested to the admin, by a user, or was mined and suggested by Microsoft. Read-only. returns a *bool when successful

func (*Bookmark) GetKeywords

func (m *Bookmark) GetKeywords() AnswerKeywordable

GetKeywords gets the keywords property value. Keywords that trigger this bookmark to appear in search results. returns a AnswerKeywordable when successful

func (*Bookmark) GetLanguageTags

func (m *Bookmark) GetLanguageTags() []string

GetLanguageTags gets the languageTags property value. A list of geographically specific language names in which this bookmark can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags. returns a []string when successful

func (*Bookmark) GetPlatforms

GetPlatforms gets the platforms property value. List of devices and operating systems that are able to view this bookmark. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. returns a []DevicePlatformType when successful

func (*Bookmark) GetPowerAppIds

func (m *Bookmark) GetPowerAppIds() []string

GetPowerAppIds gets the powerAppIds property value. List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks directly on the search results page, such as entering vacation time or reporting expenses. returns a []string when successful

func (*Bookmark) GetState

func (m *Bookmark) GetState() *AnswerState

GetState gets the state property value. The state property returns a *AnswerState when successful

func (*Bookmark) GetTargetedVariations

func (m *Bookmark) GetTargetedVariations() []AnswerVariantable

GetTargetedVariations gets the targetedVariations property value. Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. returns a []AnswerVariantable when successful

func (*Bookmark) Serialize

Serialize serializes information the current object

func (*Bookmark) SetAvailabilityEndDateTime

SetAvailabilityEndDateTime sets the availabilityEndDateTime property value. Date and time when the bookmark stops appearing as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Bookmark) SetAvailabilityStartDateTime

SetAvailabilityStartDateTime sets the availabilityStartDateTime property value. Date and time when the bookmark starts to appear as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Bookmark) SetCategories

func (m *Bookmark) SetCategories(value []string)

SetCategories sets the categories property value. Categories commonly used to describe this bookmark. For example, IT and HR.

func (*Bookmark) SetGroupIds

func (m *Bookmark) SetGroupIds(value []string)

SetGroupIds sets the groupIds property value. The list of security groups that are able to view this bookmark.

func (*Bookmark) SetIsSuggested

func (m *Bookmark) SetIsSuggested(value *bool)

SetIsSuggested sets the isSuggested property value. True if this bookmark was suggested to the admin, by a user, or was mined and suggested by Microsoft. Read-only.

func (*Bookmark) SetKeywords

func (m *Bookmark) SetKeywords(value AnswerKeywordable)

SetKeywords sets the keywords property value. Keywords that trigger this bookmark to appear in search results.

func (*Bookmark) SetLanguageTags

func (m *Bookmark) SetLanguageTags(value []string)

SetLanguageTags sets the languageTags property value. A list of geographically specific language names in which this bookmark can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags.

func (*Bookmark) SetPlatforms

SetPlatforms sets the platforms property value. List of devices and operating systems that are able to view this bookmark. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.

func (*Bookmark) SetPowerAppIds

func (m *Bookmark) SetPowerAppIds(value []string)

SetPowerAppIds sets the powerAppIds property value. List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks directly on the search results page, such as entering vacation time or reporting expenses.

func (*Bookmark) SetState

func (m *Bookmark) SetState(value *AnswerState)

SetState sets the state property value. The state property

func (*Bookmark) SetTargetedVariations

func (m *Bookmark) SetTargetedVariations(value []AnswerVariantable)

SetTargetedVariations sets the targetedVariations property value. Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations.

type BookmarkCollectionResponse

func NewBookmarkCollectionResponse

func NewBookmarkCollectionResponse() *BookmarkCollectionResponse

NewBookmarkCollectionResponse instantiates a new BookmarkCollectionResponse and sets the default values.

func (*BookmarkCollectionResponse) GetFieldDeserializers

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

func (*BookmarkCollectionResponse) GetValue

func (m *BookmarkCollectionResponse) GetValue() []Bookmarkable

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

func (*BookmarkCollectionResponse) Serialize

Serialize serializes information the current object

func (*BookmarkCollectionResponse) SetValue

func (m *BookmarkCollectionResponse) SetValue(value []Bookmarkable)

SetValue sets the value property value. The value property

type Bookmarkable

type Bookmarkable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	SearchAnswerable
	GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetCategories() []string
	GetGroupIds() []string
	GetIsSuggested() *bool
	GetKeywords() AnswerKeywordable
	GetLanguageTags() []string
	GetPlatforms() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType
	GetPowerAppIds() []string
	GetState() *AnswerState
	GetTargetedVariations() []AnswerVariantable
	SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetCategories(value []string)
	SetGroupIds(value []string)
	SetIsSuggested(value *bool)
	SetKeywords(value AnswerKeywordable)
	SetLanguageTags(value []string)
	SetPlatforms(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType)
	SetPowerAppIds(value []string)
	SetState(value *AnswerState)
	SetTargetedVariations(value []AnswerVariantable)
}

type Identity

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

func NewIdentity

func NewIdentity() *Identity

NewIdentity instantiates a new Identity and sets the default values.

func (*Identity) GetAdditionalData

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

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

func (*Identity) GetBackingStore

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

func (*Identity) GetDisplayName

func (m *Identity) GetDisplayName() *string

GetDisplayName gets the displayName property value. The displayName property returns a *string when successful

func (*Identity) GetFieldDeserializers

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

func (*Identity) GetId

func (m *Identity) GetId() *string

GetId gets the id property value. The id property returns a *string when successful

func (*Identity) GetOdataType

func (m *Identity) GetOdataType() *string

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

func (*Identity) Serialize

Serialize serializes information the current object

func (*Identity) SetAdditionalData

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

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

func (*Identity) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*Identity) SetDisplayName

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

SetDisplayName sets the displayName property value. The displayName property

func (*Identity) SetId

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

SetId sets the id property value. The id property

func (*Identity) SetOdataType

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

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

type IdentitySet

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

func NewIdentitySet

func NewIdentitySet() *IdentitySet

NewIdentitySet instantiates a new IdentitySet and sets the default values.

func (*IdentitySet) GetAdditionalData

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

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

func (*IdentitySet) GetApplication

func (m *IdentitySet) GetApplication() Identityable

GetApplication gets the application property value. The application property returns a Identityable when successful

func (*IdentitySet) GetBackingStore

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

func (*IdentitySet) GetDevice

func (m *IdentitySet) GetDevice() Identityable

GetDevice gets the device property value. The device property returns a Identityable when successful

func (*IdentitySet) GetFieldDeserializers

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

func (*IdentitySet) GetOdataType

func (m *IdentitySet) GetOdataType() *string

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

func (*IdentitySet) GetUser

func (m *IdentitySet) GetUser() Identityable

GetUser gets the user property value. The user property returns a Identityable when successful

func (*IdentitySet) Serialize

Serialize serializes information the current object

func (*IdentitySet) SetAdditionalData

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

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

func (*IdentitySet) SetApplication

func (m *IdentitySet) SetApplication(value Identityable)

SetApplication sets the application property value. The application property

func (*IdentitySet) SetBackingStore

SetBackingStore sets the BackingStore property value. Stores model information.

func (*IdentitySet) SetDevice

func (m *IdentitySet) SetDevice(value Identityable)

SetDevice sets the device property value. The device property

func (*IdentitySet) SetOdataType

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

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

func (*IdentitySet) SetUser

func (m *IdentitySet) SetUser(value Identityable)

SetUser sets the user property value. The user property

type Qna

type Qna struct {
	SearchAnswer
}

func NewQna

func NewQna() *Qna

NewQna instantiates a new Qna and sets the default values.

func (*Qna) GetAvailabilityEndDateTime

GetAvailabilityEndDateTime gets the availabilityEndDateTime property value. Date and time when the QnA stops appearing as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Qna) GetAvailabilityStartDateTime

GetAvailabilityStartDateTime gets the availabilityStartDateTime property value. Date and time when the QnA starts to appear as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. returns a *Time when successful

func (*Qna) GetFieldDeserializers

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

func (*Qna) GetGroupIds

func (m *Qna) GetGroupIds() []string

GetGroupIds gets the groupIds property value. The list of security groups that are able to view this QnA. returns a []string when successful

func (*Qna) GetIsSuggested

func (m *Qna) GetIsSuggested() *bool

GetIsSuggested gets the isSuggested property value. True if a user or Microsoft suggested this QnA to the admin. Read-only. returns a *bool when successful

func (*Qna) GetKeywords

func (m *Qna) GetKeywords() AnswerKeywordable

GetKeywords gets the keywords property value. Keywords that trigger this QnA to appear in search results. returns a AnswerKeywordable when successful

func (*Qna) GetLanguageTags

func (m *Qna) GetLanguageTags() []string

GetLanguageTags gets the languageTags property value. A list of geographically specific language names in which this QnA can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags. returns a []string when successful

func (*Qna) GetPlatforms

GetPlatforms gets the platforms property value. List of devices and operating systems that are able to view this QnA. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue. returns a []DevicePlatformType when successful

func (*Qna) GetState

func (m *Qna) GetState() *AnswerState

GetState gets the state property value. The state property returns a *AnswerState when successful

func (*Qna) GetTargetedVariations

func (m *Qna) GetTargetedVariations() []AnswerVariantable

GetTargetedVariations gets the targetedVariations property value. Variations of a QnA for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations. returns a []AnswerVariantable when successful

func (*Qna) Serialize

Serialize serializes information the current object

func (*Qna) SetAvailabilityEndDateTime

func (m *Qna) SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)

SetAvailabilityEndDateTime sets the availabilityEndDateTime property value. Date and time when the QnA stops appearing as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Qna) SetAvailabilityStartDateTime

func (m *Qna) SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)

SetAvailabilityStartDateTime sets the availabilityStartDateTime property value. Date and time when the QnA starts to appear as a search result. Set as null for always available. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

func (*Qna) SetGroupIds

func (m *Qna) SetGroupIds(value []string)

SetGroupIds sets the groupIds property value. The list of security groups that are able to view this QnA.

func (*Qna) SetIsSuggested

func (m *Qna) SetIsSuggested(value *bool)

SetIsSuggested sets the isSuggested property value. True if a user or Microsoft suggested this QnA to the admin. Read-only.

func (*Qna) SetKeywords

func (m *Qna) SetKeywords(value AnswerKeywordable)

SetKeywords sets the keywords property value. Keywords that trigger this QnA to appear in search results.

func (*Qna) SetLanguageTags

func (m *Qna) SetLanguageTags(value []string)

SetLanguageTags sets the languageTags property value. A list of geographically specific language names in which this QnA can be viewed. Each language tag value follows the pattern {language}-{region}. For example, en-us is English as used in the United States. For the list of possible values, see Supported language tags.

func (*Qna) SetPlatforms

SetPlatforms sets the platforms property value. List of devices and operating systems that are able to view this QnA. Possible values are: android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, unknown, androidASOP, androidMobileApplicationManagement, iOSMobileApplicationManagement, unknownFutureValue.

func (*Qna) SetState

func (m *Qna) SetState(value *AnswerState)

SetState sets the state property value. The state property

func (*Qna) SetTargetedVariations

func (m *Qna) SetTargetedVariations(value []AnswerVariantable)

SetTargetedVariations sets the targetedVariations property value. Variations of a QnA for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings apply to all variations.

type QnaCollectionResponse

func NewQnaCollectionResponse

func NewQnaCollectionResponse() *QnaCollectionResponse

NewQnaCollectionResponse instantiates a new QnaCollectionResponse and sets the default values.

func (*QnaCollectionResponse) GetFieldDeserializers

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

func (*QnaCollectionResponse) GetValue

func (m *QnaCollectionResponse) GetValue() []Qnaable

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

func (*QnaCollectionResponse) Serialize

Serialize serializes information the current object

func (*QnaCollectionResponse) SetValue

func (m *QnaCollectionResponse) SetValue(value []Qnaable)

SetValue sets the value property value. The value property

type Qnaable

type Qnaable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	SearchAnswerable
	GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetGroupIds() []string
	GetIsSuggested() *bool
	GetKeywords() AnswerKeywordable
	GetLanguageTags() []string
	GetPlatforms() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType
	GetState() *AnswerState
	GetTargetedVariations() []AnswerVariantable
	SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetGroupIds(value []string)
	SetIsSuggested(value *bool)
	SetKeywords(value AnswerKeywordable)
	SetLanguageTags(value []string)
	SetPlatforms(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType)
	SetState(value *AnswerState)
	SetTargetedVariations(value []AnswerVariantable)
}

type SearchAnswer

func NewSearchAnswer

func NewSearchAnswer() *SearchAnswer

NewSearchAnswer instantiates a new SearchAnswer and sets the default values.

func (*SearchAnswer) GetDescription

func (m *SearchAnswer) GetDescription() *string

GetDescription gets the description property value. The search answer description that is shown on the search results page. returns a *string when successful

func (*SearchAnswer) GetDisplayName

func (m *SearchAnswer) GetDisplayName() *string

GetDisplayName gets the displayName property value. The search answer name that is displayed in search results. returns a *string when successful

func (*SearchAnswer) GetFieldDeserializers

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

func (*SearchAnswer) GetLastModifiedBy

func (m *SearchAnswer) GetLastModifiedBy() IdentitySetable

GetLastModifiedBy gets the lastModifiedBy property value. Details of the user who created or last modified the search answer. Read-only. returns a IdentitySetable when successful

func (*SearchAnswer) GetLastModifiedDateTime

GetLastModifiedDateTime gets the lastModifiedDateTime property value. Date and time when the search answer was created or last edited. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. returns a *Time when successful

func (*SearchAnswer) GetWebUrl

func (m *SearchAnswer) GetWebUrl() *string

GetWebUrl gets the webUrl property value. The URL link for the search answer. When users select this search answer from the search results, they are directed to the specified URL. returns a *string when successful

func (*SearchAnswer) Serialize

Serialize serializes information the current object

func (*SearchAnswer) SetDescription

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

SetDescription sets the description property value. The search answer description that is shown on the search results page.

func (*SearchAnswer) SetDisplayName

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

SetDisplayName sets the displayName property value. The search answer name that is displayed in search results.

func (*SearchAnswer) SetLastModifiedBy

func (m *SearchAnswer) SetLastModifiedBy(value IdentitySetable)

SetLastModifiedBy sets the lastModifiedBy property value. Details of the user who created or last modified the search answer. Read-only.

func (*SearchAnswer) SetLastModifiedDateTime

SetLastModifiedDateTime sets the lastModifiedDateTime property value. Date and time when the search answer was created or last edited. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.

func (*SearchAnswer) SetWebUrl

func (m *SearchAnswer) SetWebUrl(value *string)

SetWebUrl sets the webUrl property value. The URL link for the search answer. When users select this search answer from the search results, they are directed to the specified URL.

type SearchAnswerable

type SearchAnswerable interface {
	iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetDisplayName() *string
	GetLastModifiedBy() IdentitySetable
	GetLastModifiedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetWebUrl() *string
	SetDescription(value *string)
	SetDisplayName(value *string)
	SetLastModifiedBy(value IdentitySetable)
	SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetWebUrl(value *string)
}

Jump to

Keyboard shortcuts

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