Documentation ¶
Index ¶
- func CreateAcronymCollectionResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateAcronymFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateAnswerKeywordFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateAnswerVariantFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateBookmarkCollectionResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateBookmarkFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateIdentityFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateIdentitySetFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateQnaCollectionResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateQnaFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateSearchAnswerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func ParseAnswerState(v string) (any, error)
- func SerializeAnswerState(values []AnswerState) []string
- type Acronym
- type AcronymCollectionResponse
- type AcronymCollectionResponseable
- type Acronymable
- type AnswerKeyword
- func (m *AnswerKeyword) GetAdditionalData() map[string]any
- func (m *AnswerKeyword) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
- func (m *AnswerKeyword) GetFieldDeserializers() ...
- func (m *AnswerKeyword) GetKeywords() []string
- func (m *AnswerKeyword) GetMatchSimilarKeywords() *bool
- func (m *AnswerKeyword) GetOdataType() *string
- func (m *AnswerKeyword) GetReservedKeywords() []string
- func (m *AnswerKeyword) Serialize(...) error
- func (m *AnswerKeyword) SetAdditionalData(value map[string]any)
- func (m *AnswerKeyword) SetBackingStore(...)
- func (m *AnswerKeyword) SetKeywords(value []string)
- func (m *AnswerKeyword) SetMatchSimilarKeywords(value *bool)
- func (m *AnswerKeyword) SetOdataType(value *string)
- func (m *AnswerKeyword) SetReservedKeywords(value []string)
- type AnswerKeywordable
- type AnswerState
- type AnswerVariant
- func (m *AnswerVariant) GetAdditionalData() map[string]any
- func (m *AnswerVariant) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
- func (m *AnswerVariant) GetDescription() *string
- func (m *AnswerVariant) GetDisplayName() *string
- func (m *AnswerVariant) GetFieldDeserializers() ...
- func (m *AnswerVariant) GetLanguageTag() *string
- func (m *AnswerVariant) GetOdataType() *string
- func (m *AnswerVariant) GetPlatform() ...
- func (m *AnswerVariant) GetWebUrl() *string
- func (m *AnswerVariant) Serialize(...) error
- func (m *AnswerVariant) SetAdditionalData(value map[string]any)
- func (m *AnswerVariant) SetBackingStore(...)
- func (m *AnswerVariant) SetDescription(value *string)
- func (m *AnswerVariant) SetDisplayName(value *string)
- func (m *AnswerVariant) SetLanguageTag(value *string)
- func (m *AnswerVariant) SetOdataType(value *string)
- func (m *AnswerVariant) SetPlatform(...)
- func (m *AnswerVariant) SetWebUrl(value *string)
- type AnswerVariantable
- type Bookmark
- func (m *Bookmark) GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *Bookmark) GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *Bookmark) GetCategories() []string
- func (m *Bookmark) GetFieldDeserializers() ...
- func (m *Bookmark) GetGroupIds() []string
- func (m *Bookmark) GetIsSuggested() *bool
- func (m *Bookmark) GetKeywords() AnswerKeywordable
- func (m *Bookmark) GetLanguageTags() []string
- func (m *Bookmark) GetPlatforms() ...
- func (m *Bookmark) GetPowerAppIds() []string
- func (m *Bookmark) GetState() *AnswerState
- func (m *Bookmark) GetTargetedVariations() []AnswerVariantable
- func (m *Bookmark) Serialize(...) error
- func (m *Bookmark) SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *Bookmark) SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *Bookmark) SetCategories(value []string)
- func (m *Bookmark) SetGroupIds(value []string)
- func (m *Bookmark) SetIsSuggested(value *bool)
- func (m *Bookmark) SetKeywords(value AnswerKeywordable)
- func (m *Bookmark) SetLanguageTags(value []string)
- func (m *Bookmark) SetPlatforms(...)
- func (m *Bookmark) SetPowerAppIds(value []string)
- func (m *Bookmark) SetState(value *AnswerState)
- func (m *Bookmark) SetTargetedVariations(value []AnswerVariantable)
- type BookmarkCollectionResponse
- type BookmarkCollectionResponseable
- type Bookmarkable
- type Identity
- func (m *Identity) GetAdditionalData() map[string]any
- func (m *Identity) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
- func (m *Identity) GetDisplayName() *string
- func (m *Identity) GetFieldDeserializers() ...
- func (m *Identity) GetId() *string
- func (m *Identity) GetOdataType() *string
- func (m *Identity) Serialize(...) error
- func (m *Identity) SetAdditionalData(value map[string]any)
- func (m *Identity) SetBackingStore(...)
- func (m *Identity) SetDisplayName(value *string)
- func (m *Identity) SetId(value *string)
- func (m *Identity) SetOdataType(value *string)
- type IdentitySet
- func (m *IdentitySet) GetAdditionalData() map[string]any
- func (m *IdentitySet) GetApplication() Identityable
- func (m *IdentitySet) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
- func (m *IdentitySet) GetDevice() Identityable
- func (m *IdentitySet) GetFieldDeserializers() ...
- func (m *IdentitySet) GetOdataType() *string
- func (m *IdentitySet) GetUser() Identityable
- func (m *IdentitySet) Serialize(...) error
- func (m *IdentitySet) SetAdditionalData(value map[string]any)
- func (m *IdentitySet) SetApplication(value Identityable)
- func (m *IdentitySet) SetBackingStore(...)
- func (m *IdentitySet) SetDevice(value Identityable)
- func (m *IdentitySet) SetOdataType(value *string)
- func (m *IdentitySet) SetUser(value Identityable)
- type IdentitySetable
- type Identityable
- type Qna
- func (m *Qna) GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *Qna) GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *Qna) GetFieldDeserializers() ...
- func (m *Qna) GetGroupIds() []string
- func (m *Qna) GetIsSuggested() *bool
- func (m *Qna) GetKeywords() AnswerKeywordable
- func (m *Qna) GetLanguageTags() []string
- func (m *Qna) GetPlatforms() ...
- func (m *Qna) GetState() *AnswerState
- func (m *Qna) GetTargetedVariations() []AnswerVariantable
- func (m *Qna) Serialize(...) error
- func (m *Qna) SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *Qna) SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *Qna) SetGroupIds(value []string)
- func (m *Qna) SetIsSuggested(value *bool)
- func (m *Qna) SetKeywords(value AnswerKeywordable)
- func (m *Qna) SetLanguageTags(value []string)
- func (m *Qna) SetPlatforms(...)
- func (m *Qna) SetState(value *AnswerState)
- func (m *Qna) SetTargetedVariations(value []AnswerVariantable)
- type QnaCollectionResponse
- type QnaCollectionResponseable
- type Qnaable
- type SearchAnswer
- func (m *SearchAnswer) GetDescription() *string
- func (m *SearchAnswer) GetDisplayName() *string
- func (m *SearchAnswer) GetFieldDeserializers() ...
- func (m *SearchAnswer) GetLastModifiedBy() IdentitySetable
- func (m *SearchAnswer) GetLastModifiedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *SearchAnswer) GetWebUrl() *string
- func (m *SearchAnswer) Serialize(...) error
- func (m *SearchAnswer) SetDescription(value *string)
- func (m *SearchAnswer) SetDisplayName(value *string)
- func (m *SearchAnswer) SetLastModifiedBy(value IdentitySetable)
- func (m *SearchAnswer) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *SearchAnswer) SetWebUrl(value *string)
- type SearchAnswerable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAcronymCollectionResponseFromDiscriminatorValue ¶
func CreateAcronymCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAcronymCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateAcronymFromDiscriminatorValue ¶
func CreateAcronymFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAcronymFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateAnswerKeywordFromDiscriminatorValue ¶
func CreateAnswerKeywordFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAnswerKeywordFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateAnswerVariantFromDiscriminatorValue ¶
func CreateAnswerVariantFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAnswerVariantFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateBookmarkCollectionResponseFromDiscriminatorValue ¶
func CreateBookmarkCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateBookmarkCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateBookmarkFromDiscriminatorValue ¶
func CreateBookmarkFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateBookmarkFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateIdentityFromDiscriminatorValue ¶
func CreateIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateIdentityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateIdentitySetFromDiscriminatorValue ¶
func CreateIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateIdentitySetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateQnaCollectionResponseFromDiscriminatorValue ¶
func CreateQnaCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateQnaCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateQnaFromDiscriminatorValue ¶
func CreateQnaFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateQnaFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateSearchAnswerFromDiscriminatorValue ¶
func CreateSearchAnswerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateSearchAnswerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func ParseAnswerState ¶
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 ¶
func (m *Acronym) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Acronym) GetStandsFor ¶
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 ¶
func (m *Acronym) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Acronym) SetStandsFor ¶
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 ¶
type AcronymCollectionResponse struct {
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
}
func NewAcronymCollectionResponse ¶
func NewAcronymCollectionResponse() *AcronymCollectionResponse
NewAcronymCollectionResponse instantiates a new AcronymCollectionResponse and sets the default values.
func (*AcronymCollectionResponse) GetFieldDeserializers ¶
func (m *AcronymCollectionResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *AcronymCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 AcronymCollectionResponseable ¶
type AcronymCollectionResponseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValue() []Acronymable SetValue(value []Acronymable) }
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 ¶
func (m *AnswerKeyword) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
func (*AnswerKeyword) GetFieldDeserializers ¶
func (m *AnswerKeyword) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *AnswerKeyword) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *AnswerKeyword) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
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 AnswerKeywordable ¶
type AnswerKeywordable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore GetKeywords() []string GetMatchSimilarKeywords() *bool GetOdataType() *string GetReservedKeywords() []string SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) SetKeywords(value []string) SetMatchSimilarKeywords(value *bool) SetOdataType(value *string) SetReservedKeywords(value []string) }
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 ¶
func (m *AnswerVariant) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
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 ¶
func (m *AnswerVariant) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *AnswerVariant) GetPlatform() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType
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 ¶
func (m *AnswerVariant) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *AnswerVariant) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
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 ¶
func (m *AnswerVariant) SetPlatform(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType)
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 AnswerVariantable ¶
type AnswerVariantable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore GetDescription() *string GetDisplayName() *string GetLanguageTag() *string GetOdataType() *string GetPlatform() *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType GetWebUrl() *string SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) SetDescription(value *string) SetDisplayName(value *string) SetLanguageTag(value *string) SetOdataType(value *string) SetPlatform(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType) SetWebUrl(value *string) }
type Bookmark ¶
type Bookmark struct {
SearchAnswer
}
func NewBookmark ¶
func NewBookmark() *Bookmark
NewBookmark instantiates a new Bookmark and sets the default values.
func (*Bookmark) GetAvailabilityEndDateTime ¶
func (m *Bookmark) GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
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 ¶
func (m *Bookmark) GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
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 ¶
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 ¶
func (m *Bookmark) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Bookmark) GetGroupIds ¶
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 ¶
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 ¶
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 ¶
func (m *Bookmark) GetPlatforms() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType
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 ¶
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 ¶
func (m *Bookmark) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Bookmark) SetAvailabilityEndDateTime ¶
func (m *Bookmark) SetAvailabilityEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
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 ¶
func (m *Bookmark) SetAvailabilityStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
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 ¶
SetCategories sets the categories property value. Categories commonly used to describe this bookmark. For example, IT and HR.
func (*Bookmark) SetGroupIds ¶
SetGroupIds sets the groupIds property value. The list of security groups that are able to view this bookmark.
func (*Bookmark) SetIsSuggested ¶
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 ¶
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 ¶
func (m *Bookmark) SetPlatforms(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType)
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 ¶
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 ¶
type BookmarkCollectionResponse struct {
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
}
func NewBookmarkCollectionResponse ¶
func NewBookmarkCollectionResponse() *BookmarkCollectionResponse
NewBookmarkCollectionResponse instantiates a new BookmarkCollectionResponse and sets the default values.
func (*BookmarkCollectionResponse) GetFieldDeserializers ¶
func (m *BookmarkCollectionResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *BookmarkCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 BookmarkCollectionResponseable ¶
type BookmarkCollectionResponseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValue() []Bookmarkable SetValue(value []Bookmarkable) }
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 ¶
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 ¶
func (m *Identity) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
func (*Identity) GetDisplayName ¶
GetDisplayName gets the displayName property value. The displayName property returns a *string when successful
func (*Identity) GetFieldDeserializers ¶
func (m *Identity) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Identity) GetId ¶
GetId gets the id property value. The id property returns a *string when successful
func (*Identity) GetOdataType ¶
GetOdataType gets the @odata.type property value. The OdataType property returns a *string when successful
func (*Identity) Serialize ¶
func (m *Identity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Identity) SetAdditionalData ¶
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 ¶
func (m *Identity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
SetBackingStore sets the BackingStore property value. Stores model information.
func (*Identity) SetDisplayName ¶
SetDisplayName sets the displayName property value. The displayName property
func (*Identity) SetOdataType ¶
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 ¶
func (m *IdentitySet) GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore
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 ¶
func (m *IdentitySet) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *IdentitySet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)
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 IdentitySetable ¶
type IdentitySetable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApplication() Identityable GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore GetDevice() Identityable GetOdataType() *string GetUser() Identityable SetApplication(value Identityable) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) SetDevice(value Identityable) SetOdataType(value *string) SetUser(value Identityable) }
type Identityable ¶
type Identityable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore() ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore GetDisplayName() *string GetId() *string GetOdataType() *string SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) SetDisplayName(value *string) SetId(value *string) SetOdataType(value *string) }
type Qna ¶
type Qna struct {
SearchAnswer
}
func (*Qna) GetAvailabilityEndDateTime ¶
func (m *Qna) GetAvailabilityEndDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
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 ¶
func (m *Qna) GetAvailabilityStartDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
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 ¶
func (m *Qna) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Qna) GetGroupIds ¶
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 ¶
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 ¶
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 ¶
func (m *Qna) GetPlatforms() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType
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 ¶
func (m *Qna) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
SetGroupIds sets the groupIds property value. The list of security groups that are able to view this QnA.
func (*Qna) SetIsSuggested ¶
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 ¶
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 ¶
func (m *Qna) SetPlatforms(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DevicePlatformType)
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 ¶
type QnaCollectionResponse struct {
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse
}
func NewQnaCollectionResponse ¶
func NewQnaCollectionResponse() *QnaCollectionResponse
NewQnaCollectionResponse instantiates a new QnaCollectionResponse and sets the default values.
func (*QnaCollectionResponse) GetFieldDeserializers ¶
func (m *QnaCollectionResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *QnaCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 QnaCollectionResponseable ¶
type QnaCollectionResponseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValue() []Qnaable SetValue(value []Qnaable) }
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 ¶
type SearchAnswer struct {
iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity
}
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 ¶
func (m *SearchAnswer) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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 ¶
func (m *SearchAnswer) GetLastModifiedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
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 ¶
func (m *SearchAnswer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *SearchAnswer) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
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) }