diff --git a/admin/300264995efda7d9f24c825262446060dc6a00e4bc6301f55fa18305005d4f42.go b/admin/300264995efda7d9f24c825262446060dc6a00e4bc6301f55fa18305005d4f42.go new file mode 100644 index 0000000000..f305086ebe --- /dev/null +++ b/admin/300264995efda7d9f24c825262446060dc6a00e4bc6301f55fa18305005d4f42.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" +) + +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody(), nil +} +// 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 (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["numberType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.ParseNumberType) + if err != nil { + return err + } + if val != nil { + m.SetNumberType(val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)) + } + return nil + } + res["telephoneNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumber(val) + } + return nil + } + return res +} +// GetNumberType gets the numberType property value. The numberType property +// returns a *NumberType when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) GetNumberType()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) { + val, err := m.GetBackingStore().Get("numberType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) + } + return nil +} +// GetTelephoneNumber gets the telephoneNumber property value. The telephoneNumber property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) GetTelephoneNumber()(*string) { + val, err := m.GetBackingStore().Get("telephoneNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetNumberType() != nil { + cast := (*m.GetNumberType()).String() + err := writer.WriteStringValue("numberType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("telephoneNumber", m.GetTelephoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetNumberType sets the numberType property value. The numberType property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) SetNumberType(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)() { + err := m.GetBackingStore().Set("numberType", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumber sets the telephoneNumber property value. The telephoneNumber property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody) SetTelephoneNumber(value *string)() { + err := m.GetBackingStore().Set("telephoneNumber", value) + if err != nil { + panic(err) + } +} +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetNumberType()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) + GetTelephoneNumber()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetNumberType(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)() + SetTelephoneNumber(value *string)() +} diff --git a/admin/6956c9c4ed5d2d931d61ef55930f3b235c256cfe31b814ed71d253f653a1feb1.go b/admin/6956c9c4ed5d2d931d61ef55930f3b235c256cfe31b814ed71d253f653a1feb1.go new file mode 100644 index 0000000000..4edc54fe94 --- /dev/null +++ b/admin/6956c9c4ed5d2d931d61ef55930f3b235c256cfe31b814ed71d253f653a1feb1.go @@ -0,0 +1,267 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" +) + +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody(), nil +} +// 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 (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetAssignmentCategory gets the assignmentCategory property value. The assignmentCategory property +// returns a *AssignmentCategory when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetAssignmentCategory()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory) { + val, err := m.GetBackingStore().Get("assignmentCategory") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory) + } + return nil +} +// GetAssignmentTargetId gets the assignmentTargetId property value. The assignmentTargetId property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetAssignmentTargetId()(*string) { + val, err := m.GetBackingStore().Get("assignmentTargetId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignmentCategory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.ParseAssignmentCategory) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentCategory(val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory)) + } + return nil + } + res["assignmentTargetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignmentTargetId(val) + } + return nil + } + res["locationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocationId(val) + } + return nil + } + res["numberType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.ParseNumberType) + if err != nil { + return err + } + if val != nil { + m.SetNumberType(val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)) + } + return nil + } + res["telephoneNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumber(val) + } + return nil + } + return res +} +// GetLocationId gets the locationId property value. The locationId property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetLocationId()(*string) { + val, err := m.GetBackingStore().Get("locationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetNumberType gets the numberType property value. The numberType property +// returns a *NumberType when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetNumberType()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) { + val, err := m.GetBackingStore().Get("numberType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) + } + return nil +} +// GetTelephoneNumber gets the telephoneNumber property value. The telephoneNumber property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) GetTelephoneNumber()(*string) { + val, err := m.GetBackingStore().Get("telephoneNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignmentCategory() != nil { + cast := (*m.GetAssignmentCategory()).String() + err := writer.WriteStringValue("assignmentCategory", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("assignmentTargetId", m.GetAssignmentTargetId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("locationId", m.GetLocationId()) + if err != nil { + return err + } + } + if m.GetNumberType() != nil { + cast := (*m.GetNumberType()).String() + err := writer.WriteStringValue("numberType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("telephoneNumber", m.GetTelephoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAssignmentCategory sets the assignmentCategory property value. The assignmentCategory property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetAssignmentCategory(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory)() { + err := m.GetBackingStore().Set("assignmentCategory", value) + if err != nil { + panic(err) + } +} +// SetAssignmentTargetId sets the assignmentTargetId property value. The assignmentTargetId property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetAssignmentTargetId(value *string)() { + err := m.GetBackingStore().Set("assignmentTargetId", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLocationId sets the locationId property value. The locationId property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetLocationId(value *string)() { + err := m.GetBackingStore().Set("locationId", value) + if err != nil { + panic(err) + } +} +// SetNumberType sets the numberType property value. The numberType property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetNumberType(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)() { + err := m.GetBackingStore().Set("numberType", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumber sets the telephoneNumber property value. The telephoneNumber property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody) SetTelephoneNumber(value *string)() { + err := m.GetBackingStore().Set("telephoneNumber", value) + if err != nil { + panic(err) + } +} +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentCategory()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory) + GetAssignmentTargetId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLocationId()(*string) + GetNumberType()(*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType) + GetTelephoneNumber()(*string) + SetAssignmentCategory(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory)() + SetAssignmentTargetId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLocationId(value *string)() + SetNumberType(value *i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType)() + SetTelephoneNumber(value *string)() +} diff --git a/admin/8127a667f0a6aafa032fae773bc52fedb8119d79aa6fcfd250fb6e8e4532c20b.go b/admin/8127a667f0a6aafa032fae773bc52fedb8119d79aa6fcfd250fb6e8e4532c20b.go new file mode 100644 index 0000000000..67448d11a2 --- /dev/null +++ b/admin/8127a667f0a6aafa032fae773bc52fedb8119d79aa6fcfd250fb6e8e4532c20b.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder provides operations to call the unassignNumber method. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.unassignNumber", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderInternal(urlParams, requestAdapter) +} +// Post creates an asynchronous order to unassign a telephone number from a user account. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-numberassignment-unassignnumber?view=graph-rest-1.0 +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) Post(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation creates an asynchronous order to unassign a telephone number from a user account. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/962e697c8c0c0c72f870db14c2537ff6d19ee6e2d888c58b02b6d53a134b0439.go b/admin/962e697c8c0c0c72f870db14c2537ff6d19ee6e2d888c58b02b6d53a134b0439.go new file mode 100644 index 0000000000..8087f60a20 --- /dev/null +++ b/admin/962e697c8c0c0c72f870db14c2537ff6d19ee6e2d888c58b02b6d53a134b0439.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder provides operations to call the updateNumber method. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.updateNumber", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderInternal(urlParams, requestAdapter) +} +// Post this method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-numberassignment-updatenumber?view=graph-rest-1.0 +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) Post(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation this method is used to update an existing number with optional attributes. Currently supported attributes are locationId, networkSiteId, and reverseNumberLookupOptions. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/a321b40fa675c25dc404969bfd65f7362e80dab896ae93748543b6d7f5d74e57.go b/admin/a321b40fa675c25dc404969bfd65f7362e80dab896ae93748543b6d7f5d74e57.go new file mode 100644 index 0000000000..4c4956b2f0 --- /dev/null +++ b/admin/a321b40fa675c25dc404969bfd65f7362e80dab896ae93748543b6d7f5d74e57.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +type TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +type TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters +} +// TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) { + m := &TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/{telephoneNumberLongRunningOperation%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder instantiates a new TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property operations for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +// returns a TelephoneNumberLongRunningOperationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-telephonenumberlongrunningoperation-get?view=graph-rest-1.0 +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable), nil +} +// Patch update the navigation property operations in admin +// returns a TelephoneNumberLongRunningOperationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable), nil +} +// ToDeleteRequestInformation delete navigation property operations for admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property operations in admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, requestConfiguration *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) { + return NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/e13256e9e0fbcce9497110a49d132fcafa69c4a6505dab64139b1a83e3e417c5.go b/admin/e13256e9e0fbcce9497110a49d132fcafa69c4a6505dab64139b1a83e3e417c5.go new file mode 100644 index 0000000000..f26ed6bde2 --- /dev/null +++ b/admin/e13256e9e0fbcce9497110a49d132fcafa69c4a6505dab64139b1a83e3e417c5.go @@ -0,0 +1,233 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody(), nil +} +// 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 (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["locationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocationId(val) + } + return nil + } + res["networkSiteId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNetworkSiteId(val) + } + return nil + } + res["reverseNumberLookupOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetReverseNumberLookupOptions(res) + } + return nil + } + res["telephoneNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumber(val) + } + return nil + } + return res +} +// GetLocationId gets the locationId property value. The locationId property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetLocationId()(*string) { + val, err := m.GetBackingStore().Get("locationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetNetworkSiteId gets the networkSiteId property value. The networkSiteId property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetNetworkSiteId()(*string) { + val, err := m.GetBackingStore().Get("networkSiteId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReverseNumberLookupOptions gets the reverseNumberLookupOptions property value. The reverseNumberLookupOptions property +// returns a []string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetReverseNumberLookupOptions()([]string) { + val, err := m.GetBackingStore().Get("reverseNumberLookupOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTelephoneNumber gets the telephoneNumber property value. The telephoneNumber property +// returns a *string when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) GetTelephoneNumber()(*string) { + val, err := m.GetBackingStore().Get("telephoneNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("locationId", m.GetLocationId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("networkSiteId", m.GetNetworkSiteId()) + if err != nil { + return err + } + } + if m.GetReverseNumberLookupOptions() != nil { + err := writer.WriteCollectionOfStringValues("reverseNumberLookupOptions", m.GetReverseNumberLookupOptions()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("telephoneNumber", m.GetTelephoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLocationId sets the locationId property value. The locationId property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetLocationId(value *string)() { + err := m.GetBackingStore().Set("locationId", value) + if err != nil { + panic(err) + } +} +// SetNetworkSiteId sets the networkSiteId property value. The networkSiteId property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetNetworkSiteId(value *string)() { + err := m.GetBackingStore().Set("networkSiteId", value) + if err != nil { + panic(err) + } +} +// SetReverseNumberLookupOptions sets the reverseNumberLookupOptions property value. The reverseNumberLookupOptions property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetReverseNumberLookupOptions(value []string)() { + err := m.GetBackingStore().Set("reverseNumberLookupOptions", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumber sets the telephoneNumber property value. The telephoneNumber property +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody) SetTelephoneNumber(value *string)() { + err := m.GetBackingStore().Set("telephoneNumber", value) + if err != nil { + panic(err) + } +} +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLocationId()(*string) + GetNetworkSiteId()(*string) + GetReverseNumberLookupOptions()([]string) + GetTelephoneNumber()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLocationId(value *string)() + SetNetworkSiteId(value *string)() + SetReverseNumberLookupOptions(value []string)() + SetTelephoneNumber(value *string)() +} diff --git a/admin/ff412629fc69ec4e46927049d49ad7e40636f21a0994719e345550d2a2d0dc8d.go b/admin/ff412629fc69ec4e46927049d49ad7e40636f21a0994719e345550d2a2d0dc8d.go new file mode 100644 index 0000000000..b57fc2ad45 --- /dev/null +++ b/admin/ff412629fc69ec4e46927049d49ad7e40636f21a0994719e345550d2a2d0dc8d.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder provides operations to call the assignNumber method. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/microsoft.graph.teamsAdministration.assignNumber", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderInternal(urlParams, requestAdapter) +} +// Post creates an asynchronous order to assign a telephone number to a user account. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-numberassignment-assignnumber?view=graph-rest-1.0 +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) Post(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation creates an asynchronous order to assign a telephone number to a user account. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_sources_count_request_builder.go b/admin/people_profile_sources_count_request_builder.go new file mode 100644 index 0000000000..e32919ac34 --- /dev/null +++ b/admin/people_profile_sources_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PeopleProfileSourcesCountRequestBuilder provides operations to count the resources in the collection. +type PeopleProfileSourcesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PeopleProfileSourcesCountRequestBuilderGetQueryParameters get the number of the resource +type PeopleProfileSourcesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PeopleProfileSourcesCountRequestBuilderGetQueryParameters +} +// NewPeopleProfileSourcesCountRequestBuilderInternal instantiates a new PeopleProfileSourcesCountRequestBuilder and sets the default values. +func NewPeopleProfileSourcesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesCountRequestBuilder) { + m := &PeopleProfileSourcesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewPeopleProfileSourcesCountRequestBuilder instantiates a new PeopleProfileSourcesCountRequestBuilder and sets the default values. +func NewPeopleProfileSourcesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPeopleProfileSourcesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *PeopleProfileSourcesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PeopleProfileSourcesCountRequestBuilder when successful +func (m *PeopleProfileSourcesCountRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileSourcesCountRequestBuilder) { + return NewPeopleProfileSourcesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_sources_profile_source_item_request_builder.go b/admin/people_profile_sources_profile_source_item_request_builder.go new file mode 100644 index 0000000000..b828c6a1d9 --- /dev/null +++ b/admin/people_profile_sources_profile_source_item_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PeopleProfileSourcesProfileSourceItemRequestBuilder provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +type PeopleProfileSourcesProfileSourceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters a collection of profile source settings configured by an administrator in an organization. +type PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters +} +// PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPeopleProfileSourcesProfileSourceItemRequestBuilderInternal instantiates a new PeopleProfileSourcesProfileSourceItemRequestBuilder and sets the default values. +func NewPeopleProfileSourcesProfileSourceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesProfileSourceItemRequestBuilder) { + m := &PeopleProfileSourcesProfileSourceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewPeopleProfileSourcesProfileSourceItemRequestBuilder instantiates a new PeopleProfileSourcesProfileSourceItemRequestBuilder and sets the default values. +func NewPeopleProfileSourcesProfileSourceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesProfileSourceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPeopleProfileSourcesProfileSourceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a profileSource object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/profilesource-delete?view=graph-rest-1.0 +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of profile source settings configured by an administrator in an organization. +// returns a ProfileSourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable), nil +} +// Patch update the properties of a profileSource object. +// returns a ProfileSourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/profilesource-update?view=graph-rest-1.0 +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable), nil +} +// ToDeleteRequestInformation delete a profileSource object. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of profile source settings configured by an administrator in an organization. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a profileSource object. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PeopleProfileSourcesProfileSourceItemRequestBuilder when successful +func (m *PeopleProfileSourcesProfileSourceItemRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileSourcesProfileSourceItemRequestBuilder) { + return NewPeopleProfileSourcesProfileSourceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_sources_request_builder.go b/admin/people_profile_sources_request_builder.go new file mode 100644 index 0000000000..3ac134b278 --- /dev/null +++ b/admin/people_profile_sources_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PeopleProfileSourcesRequestBuilder provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +type PeopleProfileSourcesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PeopleProfileSourcesRequestBuilderGetQueryParameters get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. +type PeopleProfileSourcesRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// PeopleProfileSourcesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PeopleProfileSourcesRequestBuilderGetQueryParameters +} +// PeopleProfileSourcesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByProfileSourceId provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +// returns a *PeopleProfileSourcesProfileSourceItemRequestBuilder when successful +func (m *PeopleProfileSourcesRequestBuilder) ByProfileSourceId(profileSourceId string)(*PeopleProfileSourcesProfileSourceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if profileSourceId != "" { + urlTplParams["profileSource%2Did"] = profileSourceId + } + return NewPeopleProfileSourcesProfileSourceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewPeopleProfileSourcesRequestBuilderInternal instantiates a new PeopleProfileSourcesRequestBuilder and sets the default values. +func NewPeopleProfileSourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesRequestBuilder) { + m := &PeopleProfileSourcesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewPeopleProfileSourcesRequestBuilder instantiates a new PeopleProfileSourcesRequestBuilder and sets the default values. +func NewPeopleProfileSourcesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPeopleProfileSourcesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *PeopleProfileSourcesCountRequestBuilder when successful +func (m *PeopleProfileSourcesRequestBuilder) Count()(*PeopleProfileSourcesCountRequestBuilder) { + return NewPeopleProfileSourcesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. +// returns a ProfileSourceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-list-profilesources?view=graph-rest-1.0 +func (m *PeopleProfileSourcesRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileSourcesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceCollectionResponseable), nil +} +// Post create a new profileSource object. +// returns a ProfileSourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/peopleadminsettings-post-profilesources?view=graph-rest-1.0 +func (m *PeopleProfileSourcesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable), nil +} +// ToGetRequestInformation get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new profileSource object. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PeopleProfileSourcesRequestBuilder when successful +func (m *PeopleProfileSourcesRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileSourcesRequestBuilder) { + return NewPeopleProfileSourcesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_profile_sources_with_source_id_request_builder.go b/admin/people_profile_sources_with_source_id_request_builder.go new file mode 100644 index 0000000000..7dfdbbe869 --- /dev/null +++ b/admin/people_profile_sources_with_source_id_request_builder.go @@ -0,0 +1,169 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// PeopleProfileSourcesWithSourceIdRequestBuilder provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +type PeopleProfileSourcesWithSourceIdRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters a collection of profile source settings configured by an administrator in an organization. +type PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters +} +// PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewPeopleProfileSourcesWithSourceIdRequestBuilderInternal instantiates a new PeopleProfileSourcesWithSourceIdRequestBuilder and sets the default values. +func NewPeopleProfileSourcesWithSourceIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, sourceId *string)(*PeopleProfileSourcesWithSourceIdRequestBuilder) { + m := &PeopleProfileSourcesWithSourceIdRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", pathParameters), + } + if sourceId != nil { + m.BaseRequestBuilder.PathParameters["sourceId"] = *sourceId + } + return m +} +// NewPeopleProfileSourcesWithSourceIdRequestBuilder instantiates a new PeopleProfileSourcesWithSourceIdRequestBuilder and sets the default values. +func NewPeopleProfileSourcesWithSourceIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*PeopleProfileSourcesWithSourceIdRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewPeopleProfileSourcesWithSourceIdRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Delete delete a profileSource object. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/profilesource-delete?view=graph-rest-1.0 +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of profile source settings configured by an administrator in an organization. +// returns a ProfileSourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) Get(ctx context.Context, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable), nil +} +// Patch update the properties of a profileSource object. +// returns a ProfileSourceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/profilesource-update?view=graph-rest-1.0 +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateProfileSourceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable), nil +} +// ToDeleteRequestInformation delete a profileSource object. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of profile source settings configured by an administrator in an organization. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a profileSource object. +// returns a *RequestInformation when successful +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable, requestConfiguration *PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *PeopleProfileSourcesWithSourceIdRequestBuilder when successful +func (m *PeopleProfileSourcesWithSourceIdRequestBuilder) WithUrl(rawUrl string)(*PeopleProfileSourcesWithSourceIdRequestBuilder) { + return NewPeopleProfileSourcesWithSourceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/people_request_builder.go b/admin/people_request_builder.go index f9e7ca059a..d0247830b2 100644 --- a/admin/people_request_builder.go +++ b/admin/people_request_builder.go @@ -76,6 +76,16 @@ func (m *PeopleRequestBuilder) ItemInsights()(*PeopleItemInsightsRequestBuilder) func (m *PeopleRequestBuilder) ProfileCardProperties()(*PeopleProfileCardPropertiesRequestBuilder) { return NewPeopleProfileCardPropertiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ProfileSources provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +// returns a *PeopleProfileSourcesRequestBuilder when successful +func (m *PeopleRequestBuilder) ProfileSources()(*PeopleProfileSourcesRequestBuilder) { + return NewPeopleProfileSourcesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ProfileSourcesWithSourceId provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity. +// returns a *PeopleProfileSourcesWithSourceIdRequestBuilder when successful +func (m *PeopleRequestBuilder) ProfileSourcesWithSourceId(sourceId *string)(*PeopleProfileSourcesWithSourceIdRequestBuilder) { + return NewPeopleProfileSourcesWithSourceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, sourceId) +} // Pronouns provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity. // returns a *PeoplePronounsRequestBuilder when successful func (m *PeopleRequestBuilder) Pronouns()(*PeoplePronounsRequestBuilder) { diff --git a/admin/teams_request_builder.go b/admin/teams_request_builder.go index ede5c2a2cc..3b9ecff421 100644 --- a/admin/teams_request_builder.go +++ b/admin/teams_request_builder.go @@ -21,7 +21,7 @@ type TeamsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsRequestBuilderGetQueryParameters a container for Teams administration functionalities, such as user configurations and policy assignments. +// TeamsRequestBuilderGetQueryParameters a container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. type TeamsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *TeamsRequestBuilder) Delete(ctx context.Context, requestConfiguration * } return nil } -// Get a container for Teams administration functionalities, such as user configurations and policy assignments. +// Get a container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. // returns a TeamsAdminRootable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable, error) { @@ -118,6 +118,11 @@ func (m *TeamsRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3 func (m *TeamsRequestBuilder) Policy()(*TeamsPolicyRequestBuilder) { return NewTeamsPolicyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// TelephoneNumberManagement provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +// returns a *TeamsTelephoneNumberManagementRequestBuilder when successful +func (m *TeamsRequestBuilder) TelephoneNumberManagement()(*TeamsTelephoneNumberManagementRequestBuilder) { + return NewTeamsTelephoneNumberManagementRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property teams for admin // returns a *RequestInformation when successful func (m *TeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -129,7 +134,7 @@ func (m *TeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation a container for Teams administration functionalities, such as user configurations and policy assignments. +// ToGetRequestInformation a container for Teams administration functionalities, such as Teams telephone number management functionalities, user Teams configurations, and policy assignments. // returns a *RequestInformation when successful func (m *TeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/teams_telephone_number_management_number_assignments_count_request_builder.go b/admin/teams_telephone_number_management_number_assignments_count_request_builder.go new file mode 100644 index 0000000000..18a6b1b2f0 --- /dev/null +++ b/admin/teams_telephone_number_management_number_assignments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder provides operations to count the resources in the collection. +type TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters get the number of the resource +type TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/teams_telephone_number_management_number_assignments_number_assignment_item_request_builder.go b/admin/teams_telephone_number_management_number_assignments_number_assignment_item_request_builder.go new file mode 100644 index 0000000000..23b62ca556 --- /dev/null +++ b/admin/teams_telephone_number_management_number_assignments_number_assignment_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +type TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters represents a collection of synchronous telephone number management operations. +type TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters +} +// TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments/{numberAssignment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property numberAssignments for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents a collection of synchronous telephone number management operations. +// returns a NumberAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateNumberAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable), nil +} +// Patch update the navigation property numberAssignments in admin +// returns a NumberAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateNumberAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable), nil +} +// ToDeleteRequestInformation delete navigation property numberAssignments for admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents a collection of synchronous telephone number management operations. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property numberAssignments in admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/teams_telephone_number_management_number_assignments_request_builder.go b/admin/teams_telephone_number_management_number_assignments_request_builder.go new file mode 100644 index 0000000000..2b54fbffb1 --- /dev/null +++ b/admin/teams_telephone_number_management_number_assignments_request_builder.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +type TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. +type TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters +} +// TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByNumberAssignmentId provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) ByNumberAssignmentId(numberAssignmentId string)(*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if numberAssignmentId != "" { + urlTplParams["numberAssignment%2Did"] = numberAssignmentId + } + return NewTeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) { + m := &TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/numberAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder instantiates a new TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) Count()(*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. +// returns a NumberAssignmentCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamsadministration-telephonenumbermanagementroot-list-numberassignments?view=graph-rest-1.0 +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateNumberAssignmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentCollectionResponseable), nil +} +// MicrosoftGraphTeamsAdministrationAssignNumber provides operations to call the assignNumber method. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) MicrosoftGraphTeamsAdministrationAssignNumber()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphTeamsAdministrationUnassignNumber provides operations to call the unassignNumber method. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) MicrosoftGraphTeamsAdministrationUnassignNumber()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// MicrosoftGraphTeamsAdministrationUpdateNumber provides operations to call the updateNumber method. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) MicrosoftGraphTeamsAdministrationUpdateNumber()(*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create new navigation property to numberAssignments for admin +// returns a NumberAssignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) Post(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateNumberAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable), nil +} +// ToGetRequestInformation read the properties and relationships of microsoft.graph.teamsAdministration.numberAssignment object. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to numberAssignments for admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable, requestConfiguration *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/teams_telephone_number_management_operations_count_request_builder.go b/admin/teams_telephone_number_management_operations_count_request_builder.go new file mode 100644 index 0000000000..b8c438e532 --- /dev/null +++ b/admin/teams_telephone_number_management_operations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementOperationsCountRequestBuilder provides operations to count the resources in the collection. +type TeamsTelephoneNumberManagementOperationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters get the number of the resource +type TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters +} +// NewTeamsTelephoneNumberManagementOperationsCountRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementOperationsCountRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsCountRequestBuilder) { + m := &TeamsTelephoneNumberManagementOperationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementOperationsCountRequestBuilder instantiates a new TeamsTelephoneNumberManagementOperationsCountRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementOperationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementOperationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementOperationsCountRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementOperationsCountRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementOperationsCountRequestBuilder) { + return NewTeamsTelephoneNumberManagementOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/teams_telephone_number_management_operations_request_builder.go b/admin/teams_telephone_number_management_operations_request_builder.go new file mode 100644 index 0000000000..767fb23a3f --- /dev/null +++ b/admin/teams_telephone_number_management_operations_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementOperationsRequestBuilder provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +type TeamsTelephoneNumberManagementOperationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +type TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters +} +// TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByTelephoneNumberLongRunningOperationId provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +// returns a *TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) ByTelephoneNumberLongRunningOperationId(telephoneNumberLongRunningOperationId string)(*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if telephoneNumberLongRunningOperationId != "" { + urlTplParams["telephoneNumberLongRunningOperation%2Did"] = telephoneNumberLongRunningOperationId + } + return NewTeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTeamsTelephoneNumberManagementOperationsRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementOperationsRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsRequestBuilder) { + m := &TeamsTelephoneNumberManagementOperationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementOperationsRequestBuilder instantiates a new TeamsTelephoneNumberManagementOperationsRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementOperationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementOperationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TeamsTelephoneNumberManagementOperationsCountRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) Count()(*TeamsTelephoneNumberManagementOperationsCountRequestBuilder) { + return NewTeamsTelephoneNumberManagementOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +// returns a TelephoneNumberLongRunningOperationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberLongRunningOperationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationCollectionResponseable), nil +} +// Post create new navigation property to operations for admin +// returns a TelephoneNumberLongRunningOperationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) Post(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, requestConfiguration *TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable), nil +} +// ToGetRequestInformation read the properties and relationships of microsoft.graph.teamsAdministration.telephoneNumberLongRunningOperation object. This method is used to query the status of an assign or unassign number action using Graph API. This link is returned in the Location response header found in assign or unassign operation result. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to operations for admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable, requestConfiguration *TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementOperationsRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementOperationsRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementOperationsRequestBuilder) { + return NewTeamsTelephoneNumberManagementOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/teams_telephone_number_management_request_builder.go b/admin/teams_telephone_number_management_request_builder.go new file mode 100644 index 0000000000..69cd7ee9e2 --- /dev/null +++ b/admin/teams_telephone_number_management_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84 "github.com/microsoftgraph/msgraph-sdk-go/models/teamsadministration" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// TeamsTelephoneNumberManagementRequestBuilder provides operations to manage the telephoneNumberManagement property of the microsoft.graph.teamsAdministration.teamsAdminRoot entity. +type TeamsTelephoneNumberManagementRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters represents a collection of available telephone number management operations. +type TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters +} +// TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamsTelephoneNumberManagementRequestBuilderInternal instantiates a new TeamsTelephoneNumberManagementRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementRequestBuilder) { + m := &TeamsTelephoneNumberManagementRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/teams/telephoneNumberManagement{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTeamsTelephoneNumberManagementRequestBuilder instantiates a new TeamsTelephoneNumberManagementRequestBuilder and sets the default values. +func NewTeamsTelephoneNumberManagementRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamsTelephoneNumberManagementRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamsTelephoneNumberManagementRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property telephoneNumberManagement for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementRequestBuilder) Delete(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents a collection of available telephone number management operations. +// returns a TelephoneNumberManagementRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberManagementRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable), nil +} +// NumberAssignments provides operations to manage the numberAssignments property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +// returns a *TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) NumberAssignments()(*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder) { + return NewTeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Operations provides operations to manage the operations property of the microsoft.graph.teamsAdministration.telephoneNumberManagementRoot entity. +// returns a *TeamsTelephoneNumberManagementOperationsRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) Operations()(*TeamsTelephoneNumberManagementOperationsRequestBuilder) { + return NewTeamsTelephoneNumberManagementOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property telephoneNumberManagement in admin +// returns a TelephoneNumberManagementRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TeamsTelephoneNumberManagementRequestBuilder) Patch(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration)(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.CreateTelephoneNumberManagementRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable), nil +} +// ToDeleteRequestInformation delete navigation property telephoneNumberManagement for admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents a collection of available telephone number management operations. +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property telephoneNumberManagement in admin +// returns a *RequestInformation when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable, requestConfiguration *TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *TeamsTelephoneNumberManagementRequestBuilder when successful +func (m *TeamsTelephoneNumberManagementRequestBuilder) WithUrl(rawUrl string)(*TeamsTelephoneNumberManagementRequestBuilder) { + return NewTeamsTelephoneNumberManagementRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/application_item_request_builder.go b/applications/application_item_request_builder.go index 9613fcaf03..c8a9b00835 100644 --- a/applications/application_item_request_builder.go +++ b/applications/application_item_request_builder.go @@ -21,7 +21,7 @@ type ApplicationItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApplicationItemRequestBuilderGetQueryParameters get the properties and relationships of an application object. +// ApplicationItemRequestBuilderGetQueryParameters get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. type ApplicationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -87,7 +87,7 @@ func NewApplicationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7da func (m *ApplicationItemRequestBuilder) CreatedOnBehalfOf()(*ItemCreatedOnBehalfOfRequestBuilder) { return NewItemCreatedOnBehalfOfRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -121,7 +121,7 @@ func (m *ApplicationItemRequestBuilder) FederatedIdentityCredentials()(*ItemFede func (m *ApplicationItemRequestBuilder) FederatedIdentityCredentialsWithName(name *string)(*ItemFederatedIdentityCredentialsWithNameRequestBuilder) { return NewItemFederatedIdentityCredentialsWithNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, name) } -// Get get the properties and relationships of an application object. +// Get get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -169,7 +169,7 @@ func (m *ApplicationItemRequestBuilder) Logo()(*ItemLogoRequestBuilder) { func (m *ApplicationItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { return NewItemOwnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. +// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -217,7 +217,7 @@ func (m *ApplicationItemRequestBuilder) SetVerifiedPublisher()(*ItemSetVerifiedP func (m *ApplicationItemRequestBuilder) Synchronization()(*ItemSynchronizationRequestBuilder) { return NewItemSynchronizationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a *RequestInformation when successful func (m *ApplicationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ApplicationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -228,7 +228,7 @@ func (m *ApplicationItemRequestBuilder) ToDeleteRequestInformation(ctx context.C requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an application object. +// ToGetRequestInformation get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a *RequestInformation when successful func (m *ApplicationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -252,7 +252,7 @@ func (m *ApplicationItemRequestBuilder) TokenIssuancePolicies()(*ItemTokenIssuan func (m *ApplicationItemRequestBuilder) TokenLifetimePolicies()(*ItemTokenLifetimePoliciesRequestBuilder) { return NewItemTokenLifetimePoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. +// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a *RequestInformation when successful func (m *ApplicationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable, requestConfiguration *ApplicationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/applications_request_builder.go b/applications/applications_request_builder.go index 86ff8d6c58..4f26ef7d46 100644 --- a/applications/applications_request_builder.go +++ b/applications/applications_request_builder.go @@ -14,7 +14,7 @@ import ( type ApplicationsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ApplicationsRequestBuilderGetQueryParameters get the list of applications in this organization. +// ApplicationsRequestBuilderGetQueryParameters get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. type ApplicationsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ApplicationsRequestBuilder) Count()(*CountRequestBuilder) { func (m *ApplicationsRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the list of applications in this organization. +// Get get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. // returns a ApplicationCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -117,7 +117,7 @@ func (m *ApplicationsRequestBuilder) GetAvailableExtensionProperties()(*GetAvail func (m *ApplicationsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new application object. +// Post create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -140,7 +140,7 @@ func (m *ApplicationsRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable), nil } -// ToGetRequestInformation get the list of applications in this organization. +// ToGetRequestInformation get the list of applications in this organization. This API also returns agentIdentityBlueprint objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprint. // returns a *RequestInformation when successful func (m *ApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +154,7 @@ func (m *ApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new application object. +// ToPostRequestInformation create a new application object. This API can also create an agentIdentityBlueprint object when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a *RequestInformation when successful func (m *ApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable, requestConfiguration *ApplicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/delta_get_response.go b/applications/delta_get_response.go index 26dd1c3c5d..c3c4fec18d 100644 --- a/applications/delta_get_response.go +++ b/applications/delta_get_response.go @@ -28,15 +28,15 @@ func CreateDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d2689 func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateApplicationFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable, len(val)) + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable) + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) } } m.SetValue(res) @@ -46,14 +46,14 @@ func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e return res } // GetValue gets the value property value. The value property -// returns a []Applicationable when successful -func (m *DeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable) { +// returns a []DirectoryObjectable when successful +func (m *DeltaGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable) + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) } return nil } @@ -78,7 +78,7 @@ func (m *DeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return nil } // SetValue sets the value property value. The value property -func (m *DeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable)() { +func (m *DeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -87,6 +87,6 @@ func (m *DeltaGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba type DeltaGetResponseable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable) - SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable)() + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() } diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 96ab6ae1fb..47ee96d628 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -13,7 +13,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,13 +54,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0 func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +78,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-1.0 func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_remove_key_request_builder.go b/applications/item_remove_key_request_builder.go index c4470ac380..51852a95e9 100644 --- a/applications/item_remove_key_request_builder.go +++ b/applications/item_remove_key_request_builder.go @@ -33,11 +33,11 @@ func NewItemRemoveKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee urlParams["request-raw-url"] = rawUrl return NewItemRemoveKeyRequestBuilderInternal(urlParams, requestAdapter) } -// Post remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. +// Post remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-removekey?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agentidentityblueprint-removekey?view=graph-rest-1.0 func (m *ItemRemoveKeyRequestBuilder) Post(ctx context.Context, body ItemRemoveKeyPostRequestBodyable, requestConfiguration *ItemRemoveKeyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemRemoveKeyRequestBuilder) Post(ctx context.Context, body ItemRemoveK } return nil } -// ToPostRequestInformation remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. +// ToPostRequestInformation remove a key credential from an agentIdentityBlueprint. This method along with addKey can be used to automate rolling its expiring keys. // returns a *RequestInformation when successful func (m *ItemRemoveKeyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRemoveKeyPostRequestBodyable, requestConfiguration *ItemRemoveKeyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_restore_request_builder.go b/applications/item_restore_request_builder.go index e740de152a..54b799fbf9 100644 --- a/applications/item_restore_request_builder.go +++ b/applications/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_set_verified_publisher_request_builder.go b/applications/item_set_verified_publisher_request_builder.go index 68d122f294..66ef489f1f 100644 --- a/applications/item_set_verified_publisher_request_builder.go +++ b/applications/item_set_verified_publisher_request_builder.go @@ -33,11 +33,11 @@ func NewItemSetVerifiedPublisherRequestBuilder(rawUrl string, requestAdapter i2a urlParams["request-raw-url"] = rawUrl return NewItemSetVerifiedPublisherRequestBuilderInternal(urlParams, requestAdapter) } -// Post set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. +// Post set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-setverifiedpublisher?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agentidentityblueprint-setverifiedpublisher?view=graph-rest-1.0 func (m *ItemSetVerifiedPublisherRequestBuilder) Post(ctx context.Context, body ItemSetVerifiedPublisherPostRequestBodyable, requestConfiguration *ItemSetVerifiedPublisherRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemSetVerifiedPublisherRequestBuilder) Post(ctx context.Context, body } return nil } -// ToPostRequestInformation set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. +// ToPostRequestInformation set the the verifiedPublisher on an agentIdentityBlueprint. For more information, including prerequisites to setting a verified publisher, see Publisher verification. // returns a *RequestInformation when successful func (m *ItemSetVerifiedPublisherRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSetVerifiedPublisherPostRequestBodyable, requestConfiguration *ItemSetVerifiedPublisherRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applications/item_unset_verified_publisher_request_builder.go b/applications/item_unset_verified_publisher_request_builder.go index e10848d924..da2d9a8764 100644 --- a/applications/item_unset_verified_publisher_request_builder.go +++ b/applications/item_unset_verified_publisher_request_builder.go @@ -33,11 +33,11 @@ func NewItemUnsetVerifiedPublisherRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemUnsetVerifiedPublisherRequestBuilderInternal(urlParams, requestAdapter) } -// Post unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. +// Post unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/application-unsetverifiedpublisher?view=graph-rest-1.0 +// [Find more info here]: https://learn.microsoft.com/graph/api/agentidentityblueprint-unsetverifiedpublisher?view=graph-rest-1.0 func (m *ItemUnsetVerifiedPublisherRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemUnsetVerifiedPublisherRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -52,7 +52,7 @@ func (m *ItemUnsetVerifiedPublisherRequestBuilder) Post(ctx context.Context, req } return nil } -// ToPostRequestInformation unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. +// ToPostRequestInformation unset the verifiedPublisher previously set on an agentIdentityBlueprint, removing all verified publisher properties. For more information, see Publisher verification. // returns a *RequestInformation when successful func (m *ItemUnsetVerifiedPublisherRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemUnsetVerifiedPublisherRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applicationswithappid/applications_with_app_id_request_builder.go b/applicationswithappid/applications_with_app_id_request_builder.go index 478de0f9d2..736dbafb94 100644 --- a/applicationswithappid/applications_with_app_id_request_builder.go +++ b/applicationswithappid/applications_with_app_id_request_builder.go @@ -21,7 +21,7 @@ type ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApplicationsWithAppIdRequestBuilderGetQueryParameters get the properties and relationships of an application object. +// ApplicationsWithAppIdRequestBuilderGetQueryParameters get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. type ApplicationsWithAppIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -60,7 +60,7 @@ func NewApplicationsWithAppIdRequestBuilder(rawUrl string, requestAdapter i2ae41 urlParams["request-raw-url"] = rawUrl return NewApplicationsWithAppIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -79,7 +79,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) Delete(ctx context.Context, reques } return nil } -// Get get the properties and relationships of an application object. +// Get get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) Get(ctx context.Context, requestCo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable), nil } -// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. +// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -125,7 +125,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) Patch(ctx context.Context, body ia } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable), nil } -// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a *RequestInformation when successful func (m *ApplicationsWithAppIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ApplicationsWithAppIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToDeleteRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an application object. +// ToGetRequestInformation get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a *RequestInformation when successful func (m *ApplicationsWithAppIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationsWithAppIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +150,7 @@ func (m *ApplicationsWithAppIdRequestBuilder) ToGetRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. +// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a *RequestInformation when successful func (m *ApplicationsWithAppIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable, requestConfiguration *ApplicationsWithAppIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/applicationswithuniquename/applications_with_unique_name_request_builder.go b/applicationswithuniquename/applications_with_unique_name_request_builder.go index 7392912725..a8d32edc50 100644 --- a/applicationswithuniquename/applications_with_unique_name_request_builder.go +++ b/applicationswithuniquename/applications_with_unique_name_request_builder.go @@ -21,7 +21,7 @@ type ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ApplicationsWithUniqueNameRequestBuilderGetQueryParameters get the properties and relationships of an application object. +// ApplicationsWithUniqueNameRequestBuilderGetQueryParameters get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. type ApplicationsWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -60,7 +60,7 @@ func NewApplicationsWithUniqueNameRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewApplicationsWithUniqueNameRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// Delete delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -79,7 +79,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get get the properties and relationships of an application object. +// Get get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) Get(ctx context.Context, requ } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable), nil } -// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. +// Patch create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a Applicationable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -125,7 +125,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) Patch(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable), nil } -// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. +// ToDeleteRequestInformation delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. This API can also delete an agentIdentityBlueprint object by its ID. // returns a *RequestInformation when successful func (m *ApplicationsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get the properties and relationships of an application object. +// ToGetRequestInformation get the properties and relationships of an application object. This API can be used to get agentIdentityBlueprint objects as well by their ID. // returns a *RequestInformation when successful func (m *ApplicationsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +150,7 @@ func (m *ApplicationsWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. +// ToPatchRequestInformation create a new application object if it doesn't exist, or update the properties of an existing application object. This API can also create an agentIdentityBlueprint object if it doesn't exist, or update properties of an existing agentIdentityBlueprint, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprint. // returns a *RequestInformation when successful func (m *ApplicationsWithUniqueNameRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable, requestConfiguration *ApplicationsWithUniqueNameRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/item_messages_item_replies_reply_with_quote_post_request_body.go b/chats/item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..a19824d015 --- /dev/null +++ b/chats/item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/chats/item_messages_item_replies_reply_with_quote_request_builder.go b/chats/item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..e7a20e6d19 --- /dev/null +++ b/chats/item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_item_replies_request_builder.go b/chats/item_messages_item_replies_request_builder.go index 6909b8f1fd..4da2f08a6c 100644 --- a/chats/item_messages_item_replies_request_builder.go +++ b/chats/item_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body i } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/chats/item_messages_reply_with_quote_post_request_body.go b/chats/item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..b89be51d66 --- /dev/null +++ b/chats/item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemMessagesReplyWithQuotePostRequestBody instantiates a new ItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemMessagesReplyWithQuotePostRequestBody()(*ItemMessagesReplyWithQuotePostRequestBody) { + m := &ItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/chats/item_messages_reply_with_quote_request_builder.go b/chats/item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..8b22c3c12a --- /dev/null +++ b/chats/item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMessagesReplyWithQuoteRequestBuilder) { + m := &ItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemMessagesReplyWithQuoteRequestBuilder instantiates a new ItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 1f850bb431..d4b854fd6d 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -130,6 +130,11 @@ func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body iadcd8112441 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemMessagesRequestBuilder) ReplyWithQuote()(*ItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/contacts/item_restore_request_builder.go b/contacts/item_restore_request_builder.go index a384b08334..7b431acbdf 100644 --- a/contacts/item_restore_request_builder.go +++ b/contacts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contacts/item_retry_service_provisioning_request_builder.go b/contacts/item_retry_service_provisioning_request_builder.go index c1406df78b..dcaeb3c966 100644 --- a/contacts/item_retry_service_provisioning_request_builder.go +++ b/contacts/item_retry_service_provisioning_request_builder.go @@ -33,8 +33,11 @@ func NewItemRetryServiceProvisioningRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewItemRetryServiceProvisioningRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action retryServiceProvisioning +// Post retry the orgContact service provisioning. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/orgcontact-retryserviceprovisioning?view=graph-rest-1.0 func (m *ItemRetryServiceProvisioningRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemRetryServiceProvisioningRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +52,7 @@ func (m *ItemRetryServiceProvisioningRequestBuilder) Post(ctx context.Context, r } return nil } -// ToPostRequestInformation invoke action retryServiceProvisioning +// ToPostRequestInformation retry the orgContact service provisioning. // returns a *RequestInformation when successful func (m *ItemRetryServiceProvisioningRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRetryServiceProvisioningRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/contracts/item_restore_request_builder.go b/contracts/item_restore_request_builder.go index 575d3ca668..e94218bb30 100644 --- a/contracts/item_restore_request_builder.go +++ b/contracts/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devices/item_restore_request_builder.go b/devices/item_restore_request_builder.go index a23bf90226..bdff262c07 100644 --- a/devices/item_restore_request_builder.go +++ b/devices/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_directory_object_item_request_builder.go b/directory/deleted_items_directory_object_item_request_builder.go index 3a5b5f5d8e..0a5dc4428a 100644 --- a/directory/deleted_items_directory_object_item_request_builder.go +++ b/directory/deleted_items_directory_object_item_request_builder.go @@ -21,7 +21,7 @@ type DeletedItemsDirectoryObjectItemRequestBuilderDeleteRequestConfiguration str // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeletedItemsDirectoryObjectItemRequestBuilderGetQueryParameters retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// DeletedItemsDirectoryObjectItemRequestBuilderGetQueryParameters retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user type DeletedItemsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -79,7 +79,7 @@ func (m *DeletedItemsDirectoryObjectItemRequestBuilder) Delete(ctx context.Conte } return nil } -// Get retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// Get retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -158,7 +158,7 @@ func (m *DeletedItemsDirectoryObjectItemRequestBuilder) ToDeleteRequestInformati requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// ToGetRequestInformation retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a *RequestInformation when successful func (m *DeletedItemsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_graph_group_request_builder.go b/directory/deleted_items_graph_group_request_builder.go index 3ad0910eff..a9ca57274e 100644 --- a/directory/deleted_items_graph_group_request_builder.go +++ b/directory/deleted_items_graph_group_request_builder.go @@ -14,7 +14,7 @@ import ( type DeletedItemsGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedItemsGraphGroupRequestBuilderGetQueryParameters retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// DeletedItemsGraphGroupRequestBuilderGetQueryParameters retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user type DeletedItemsGraphGroupRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -60,7 +60,7 @@ func NewDeletedItemsGraphGroupRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *DeletedItemsGraphGroupRequestBuilder) Count()(*DeletedItemsGraphGroupCountRequestBuilder) { return NewDeletedItemsGraphGroupCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// Get retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -83,7 +83,7 @@ func (m *DeletedItemsGraphGroupRequestBuilder) Get(ctx context.Context, requestC } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.GroupCollectionResponseable), nil } -// ToGetRequestInformation retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// ToGetRequestInformation retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a *RequestInformation when successful func (m *DeletedItemsGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_item_graph_group_request_builder.go b/directory/deleted_items_item_graph_group_request_builder.go index 467bf834c5..d5875dc2bf 100644 --- a/directory/deleted_items_item_graph_group_request_builder.go +++ b/directory/deleted_items_item_graph_group_request_builder.go @@ -14,7 +14,7 @@ import ( type DeletedItemsItemGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedItemsItemGraphGroupRequestBuilderGetQueryParameters retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// DeletedItemsItemGraphGroupRequestBuilderGetQueryParameters retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user type DeletedItemsItemGraphGroupRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewDeletedItemsItemGraphGroupRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewDeletedItemsItemGraphGroupRequestBuilderInternal(urlParams, requestAdapter) } -// Get retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// Get retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -66,7 +66,7 @@ func (m *DeletedItemsItemGraphGroupRequestBuilder) Get(ctx context.Context, requ } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Groupable), nil } -// ToGetRequestInformation retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// ToGetRequestInformation retrieve a list of recently deleted directory objects. Currently, deleted items functionality is only supported for the application, servicePrincipal, group, administrative unit, and user resources. Retrieve a list of recently deleted directory objects from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a *RequestInformation when successful func (m *DeletedItemsItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsItemGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_item_restore_request_builder.go b/directory/deleted_items_item_restore_request_builder.go index d508a30e8b..e98a1677e9 100644 --- a/directory/deleted_items_item_restore_request_builder.go +++ b/directory/deleted_items_item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewDeletedItemsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae urlParams["request-raw-url"] = rawUrl return NewDeletedItemsItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *DeletedItemsItemRestoreRequestBuilder) Post(ctx context.Context, reques } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *DeletedItemsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directory/deleted_items_request_builder.go b/directory/deleted_items_request_builder.go index 655282f02a..23d047e0f8 100644 --- a/directory/deleted_items_request_builder.go +++ b/directory/deleted_items_request_builder.go @@ -14,7 +14,7 @@ import ( type DeletedItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeletedItemsRequestBuilderGetQueryParameters retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// DeletedItemsRequestBuilderGetQueryParameters retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user type DeletedItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewDeletedItemsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *DeletedItemsRequestBuilder) Count()(*DeletedItemsCountRequestBuilder) { return NewDeletedItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// Get retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeletedItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeletedItemsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { @@ -132,7 +132,7 @@ func (m *DeletedItemsRequestBuilder) GraphServicePrincipal()(*DeletedItemsGraphS func (m *DeletedItemsRequestBuilder) GraphUser()(*DeletedItemsGraphUserRequestBuilder) { return NewDeletedItemsGraphUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user +// ToGetRequestInformation retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Retrieve the properties of a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user // returns a *RequestInformation when successful func (m *DeletedItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryobjects/item_restore_request_builder.go b/directoryobjects/item_restore_request_builder.go index 17f43e7d64..4d19e5691e 100644 --- a/directoryobjects/item_restore_request_builder.go +++ b/directoryobjects/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroles/item_restore_request_builder.go b/directoryroles/item_restore_request_builder.go index 7c0f9b6f69..69c143eab2 100644 --- a/directoryroles/item_restore_request_builder.go +++ b/directoryroles/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/directoryroletemplates/item_restore_request_builder.go b/directoryroletemplates/item_restore_request_builder.go index 4877375f25..8e916a7019 100644 --- a/directoryroletemplates/item_restore_request_builder.go +++ b/directoryroletemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_restore_request_builder.go b/groups/item_restore_request_builder.go index 48724759d1..b29e2ba411 100644 --- a/groups/item_restore_request_builder.go +++ b/groups/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_team_channels_item_messages_item_replies_reply_with_quote_post_request_body.go b/groups/item_team_channels_item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..863a0bb08d --- /dev/null +++ b/groups/item_team_channels_item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/groups/item_team_channels_item_messages_item_replies_reply_with_quote_request_builder.go b/groups/item_team_channels_item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..ac5a5df61b --- /dev/null +++ b/groups/item_team_channels_item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_item_replies_request_builder.go b/groups/item_team_channels_item_messages_item_replies_request_builder.go index 7f0091f3ef..9026fd60cb 100644 --- a/groups/item_team_channels_item_messages_item_replies_request_builder.go +++ b/groups/item_team_channels_item_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_team_channels_item_messages_reply_with_quote_post_request_body.go b/groups/item_team_channels_item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..bf665ddc3f --- /dev/null +++ b/groups/item_team_channels_item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody instantiates a new ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody()(*ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) { + m := &ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/groups/item_team_channels_item_messages_reply_with_quote_request_builder.go b/groups/item_team_channels_item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..69df9487c3 --- /dev/null +++ b/groups/item_team_channels_item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) { + m := &ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder instantiates a new ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_channels_item_messages_request_builder.go b/groups/item_team_channels_item_messages_request_builder.go index 6e7a471396..c0e24bd54d 100644 --- a/groups/item_team_channels_item_messages_request_builder.go +++ b/groups/item_team_channels_item_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemTeamChannelsItemMessagesRequestBuilder) Post(ctx context.Context, b } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamChannelsItemMessagesRequestBuilder) ReplyWithQuote()(*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go b/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..1a8f4c90fa --- /dev/null +++ b/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..e0be3b6ba8 --- /dev/null +++ b/groups/item_team_primary_channel_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_item_replies_request_builder.go b/groups/item_team_primary_channel_messages_item_replies_request_builder.go index 7c74f48cdc..ae57ab292f 100644 --- a/groups/item_team_primary_channel_messages_item_replies_request_builder.go +++ b/groups/item_team_primary_channel_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groups/item_team_primary_channel_messages_reply_with_quote_post_request_body.go b/groups/item_team_primary_channel_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..a1fa4c9199 --- /dev/null +++ b/groups/item_team_primary_channel_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody instantiates a new ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody()(*ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) { + m := &ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/groups/item_team_primary_channel_messages_reply_with_quote_request_builder.go b/groups/item_team_primary_channel_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..580cc3294b --- /dev/null +++ b/groups/item_team_primary_channel_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + m := &ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder instantiates a new ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_messages_request_builder.go b/groups/item_team_primary_channel_messages_request_builder.go index a253dc4661..b719fb8e85 100644 --- a/groups/item_team_primary_channel_messages_request_builder.go +++ b/groups/item_team_primary_channel_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ReplyWithQuote()(*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemTeamPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/groupsettingtemplates/item_restore_request_builder.go b/groupsettingtemplates/item_restore_request_builder.go index 8eea144278..62d1fda746 100644 --- a/groupsettingtemplates/item_restore_request_builder.go +++ b/groupsettingtemplates/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/08f5f5fa43c2d296111b9e40f7b948426b7f951753ebd3b61f4032cc5be2f94f.go b/identitygovernance/08f5f5fa43c2d296111b9e40f7b948426b7f951753ebd3b61f4032cc5be2f94f.go index a62450a782..33f08f595e 100644 --- a/identitygovernance/08f5f5fa43c2d296111b9e40f7b948426b7f951753ebd3b61f4032cc5be2f94f.go +++ b/identitygovernance/08f5f5fa43c2d296111b9e40f7b948426b7f951753ebd3b61f4032cc5be2f94f.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDir urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDi } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/1499e797c8154126bab843eabe79be9d71e4c6a7c4bab1cdbd9668a3f06ed765.go b/identitygovernance/1499e797c8154126bab843eabe79be9d71e4c6a7c4bab1cdbd9668a3f06ed765.go index a2e422347f..b763ebbcfc 100644 --- a/identitygovernance/1499e797c8154126bab843eabe79be9d71e4c6a7c4bab1cdbd9668a3f06ed765.go +++ b/identitygovernance/1499e797c8154126bab843eabe79be9d71e4c6a7c4bab1cdbd9668a3f06ed765.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDir urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDi } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/592baf868ce4d9089b9b0c400f88c874d652a2663767aab7356e60d6c83f94d2.go b/identitygovernance/592baf868ce4d9089b9b0c400f88c874d652a2663767aab7356e60d6c83f94d2.go index d1201137e1..dd9064e2ff 100644 --- a/identitygovernance/592baf868ce4d9089b9b0c400f88c874d652a2663767aab7356e60d6c83f94d2.go +++ b/identitygovernance/592baf868ce4d9089b9b0c400f88c874d652a2663767aab7356e60d6c83f94d2.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationSco func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationSc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/65deeda89e4801b48414a59d1ca195d0d80a6ab1feda92de997eb5df381eed1c.go b/identitygovernance/65deeda89e4801b48414a59d1ca195d0d80a6ab1feda92de997eb5df381eed1c.go index 6375b47118..66135b553a 100644 --- a/identitygovernance/65deeda89e4801b48414a59d1ca195d0d80a6ab1feda92de997eb5df381eed1c.go +++ b/identitygovernance/65deeda89e4801b48414a59d1ca195d0d80a6ab1feda92de997eb5df381eed1c.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationSco urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationSc } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemVersionsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/e522272560bbb13494d10a3e983fdac2464890163b13f35abd17f11a353e870c.go b/identitygovernance/e522272560bbb13494d10a3e983fdac2464890163b13f35abd17f11a353e870c.go index b07cccee56..181018d151 100644 --- a/identitygovernance/e522272560bbb13494d10a3e983fdac2464890163b13f35abd17f11a353e870c.go +++ b/identitygovernance/e522272560bbb13494d10a3e983fdac2464890163b13f35abd17f11a353e870c.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewLifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObject urlParams["request-raw-url"] = rawUrl return NewLifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { @@ -63,7 +63,7 @@ func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjec } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_item_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_access_packages_item_assignment_policies_item_access_package_request_builder.go index 1ea429fdc3..22427d6a67 100644 --- a/identitygovernance/entitlement_management_access_packages_item_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_item_assignment_policies_item_access_package_request_builder.go @@ -14,7 +14,7 @@ import ( type EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters access package containing this policy. Read-only. Supports $expand. +// EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters access package containing this policy. Read-only. Supports $expand. type EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewEntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPacka urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderInternal(urlParams, requestAdapter) } -// Get access package containing this policy. Read-only. Supports $expand. +// Get access package containing this policy. Read-only. Supports $expand. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { @@ -63,7 +63,7 @@ func (m *EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPack } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable), nil } -// ToGetRequestInformation access package containing this policy. Read-only. Supports $expand. +// ToGetRequestInformation access package containing this policy. Read-only. Supports $expand. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesItemAssignmentPoliciesItemAccessPackageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_assignment_policies_item_access_package_request_builder.go b/identitygovernance/entitlement_management_assignment_policies_item_access_package_request_builder.go index 797b498910..e95487b46d 100644 --- a/identitygovernance/entitlement_management_assignment_policies_item_access_package_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_policies_item_access_package_request_builder.go @@ -14,7 +14,7 @@ import ( type EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters access package containing this policy. Read-only. Supports $expand. +// EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters access package containing this policy. Read-only. Supports $expand. type EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewEntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilder(r urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderInternal(urlParams, requestAdapter) } -// Get access package containing this policy. Read-only. Supports $expand. +// Get access package containing this policy. Read-only. Supports $expand. // returns a AccessPackageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable, error) { @@ -63,7 +63,7 @@ func (m *EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilder) } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AccessPackageable), nil } -// ToGetRequestInformation access package containing this policy. Read-only. Supports $expand. +// ToGetRequestInformation access package containing this policy. Read-only. Supports $expand. // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentPoliciesItemAccessPackageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_administration_scope_targets_request_builder.go b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_administration_scope_targets_request_builder.go index 0cb45a3101..0f1f1c2da0 100644 --- a/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_administration_scope_targets_request_builder.go +++ b/identitygovernance/lifecycle_workflows_deleted_items_workflows_item_administration_scope_targets_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsReq func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilder) Count()(*LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsCountRequestBuilder) { return NewLifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRe } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsDeletedItemsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_administration_scope_targets_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_administration_scope_targets_request_builder.go index a5ace4dc68..691c952ea8 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_administration_scope_targets_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_administration_scope_targets_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder( func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_administration_scope_targets_request_builder.go b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_administration_scope_targets_request_builder.go index 0c8c68c8fe..d7fc5a4870 100644 --- a/identitygovernance/lifecycle_workflows_workflows_item_versions_item_administration_scope_targets_request_builder.go +++ b/identitygovernance/lifecycle_workflows_workflows_item_versions_item_administration_scope_targets_request_builder.go @@ -14,7 +14,7 @@ import ( type LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters get administrationScopeTargets from identityGovernance +// LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters the administrative units in the scope of the workflow. Optional. Supports $expand. type LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewLifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsReq func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) Count()(*LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsCountRequestBuilder) { return NewLifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get administrationScopeTargets from identityGovernance +// Get the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) Get(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) { @@ -92,7 +92,7 @@ func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRe } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil } -// ToGetRequestInformation get administrationScopeTargets from identityGovernance +// ToGetRequestInformation the administrative units in the scope of the workflow. Optional. Supports $expand. // returns a *RequestInformation when successful func (m *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *LifecycleWorkflowsWorkflowsItemVersionsItemAdministrationScopeTargetsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 36c9e131bb..0947b89cbe 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -567,6 +567,90 @@ github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileCardPropertiesReque github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileCardPropertiesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileCardPropertyable; ctx:context.Context; requestConfiguration?:*PeopleProfileCardPropertiesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileCardPropertiesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileCardPropertiesRequestBuilder::|public|WithUrl(rawUrl:string):*PeopleProfileCardPropertiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder.PeopleProfileSourcesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder.PeopleProfileSourcesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder.PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder.PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder.PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*PeopleProfileSourcesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesCountRequestBuilder::|public|WithUrl(rawUrl:string):*PeopleProfileSourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*PeopleProfileSourcesProfileSourceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder.PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesProfileSourceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesProfileSourceItemRequestBuilder::|public|WithUrl(rawUrl:string):*PeopleProfileSourcesProfileSourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderGetRequestConfiguration::|public|queryParameters:*PeopleProfileSourcesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder.PeopleProfileSourcesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|ByProfileSourceId(profileSourceId:string):*PeopleProfileSourcesProfileSourceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|Count():*PeopleProfileSourcesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesRequestBuilder::|public|WithUrl(rawUrl:string):*PeopleProfileSourcesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration::|public|queryParameters:*PeopleProfileSourcesWithSourceIdRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder.PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; sourceId?:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ProfileSourceable; ctx:context.Context; requestConfiguration?:*PeopleProfileSourcesWithSourceIdRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleProfileSourcesWithSourceIdRequestBuilder::|public|WithUrl(rawUrl:string):*PeopleProfileSourcesWithSourceIdRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.PeoplePronounsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.PeoplePronounsRequestBuilder.PeoplePronounsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.admin.PeoplePronounsRequestBuilder.PeoplePronounsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -597,6 +681,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|Ge github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|itemInsights():*PeopleItemInsightsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|profileCardProperties():*PeopleProfileCardPropertiesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|profileSources():*PeopleProfileSourcesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:*string):*PeopleProfileSourcesWithSourceIdRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|pronouns():*PeoplePronounsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.admin.PeopleRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*PeopleRequestBuilderGetRequestConfiguration):*RequestInformation @@ -1559,12 +1645,277 @@ github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|Pat github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|policy():*TeamsPolicyRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|telephoneNumberManagement():*TeamsTelephoneNumberManagementRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TeamsAdminRootable; ctx:context.Context; requestConfiguration?:*TeamsRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|userConfigurations():*TeamsUserConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetAssignmentCategory():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetAssignmentTargetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetNumberType():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetAssignmentCategory(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetAssignmentTargetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetNumberType(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetAssignmentCategory():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetAssignmentTargetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetNumberType():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetAssignmentCategory(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetAssignmentTargetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetNumberType(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBody~~>TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|Post(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|ToPostRequestInformation(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberAssignNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|Post(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|ToPostRequestInformation(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|GetNumberType():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|SetNumberType(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|GetNumberType():*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|SetNumberType(value:*i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBody~~>TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberUnassignNumberPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|Post(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|ToPostRequestInformation(body:TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetNetworkSiteId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetReverseNumberLookupOptions():[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetNetworkSiteId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetReverseNumberLookupOptions(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|GetNetworkSiteId():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|GetReverseNumberLookupOptions():[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|SetNetworkSiteId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|SetReverseNumberLookupOptions(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBody~~>TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberUpdateNumberPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|ByNumberAssignmentId(numberAssignmentId:string):*TeamsTelephoneNumberManagementNumberAssignmentsNumberAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|Count():*TeamsTelephoneNumberManagementNumberAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationAssignNumber():*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationAssignNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUnassignNumber():*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUnassignNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|microsoftGraphTeamsAdministrationUpdateNumber():*TeamsTelephoneNumberManagementNumberAssignmentsMicrosoftGraphTeamsAdministrationUpdateNumberRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|Post(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.NumberAssignmentable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder.TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder.TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder.TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder.TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder.TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementOperationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder.TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|ByTelephoneNumberLongRunningOperationId(telephoneNumberLongRunningOperationId:string):*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|Count():*TeamsTelephoneNumberManagementOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|Post(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|ToPostRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementOperationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberLongRunningOperationable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementOperationsTelephoneNumberLongRunningOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration::|public|queryParameters:*TeamsTelephoneNumberManagementRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder.TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|numberAssignments():*TeamsTelephoneNumberManagementNumberAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|operations():*TeamsTelephoneNumberManagementOperationsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|Patch(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration):i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|ToPatchRequestInformation(body:i22ad7c1b3905b3ca3489583547f6edfaef2f77bdd9a38e24b2fdb52e37702f84.TelephoneNumberManagementRootable; ctx:context.Context; requestConfiguration?:*TeamsTelephoneNumberManagementRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsTelephoneNumberManagementRequestBuilder::|public|WithUrl(rawUrl:string):*TeamsTelephoneNumberManagementRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.admin.TeamsUserConfigurationsCountRequestBuilder.TeamsUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -2385,12 +2736,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.applications.CountRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponse github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable +github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable):void +github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable -github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Applicationable):void +github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.applications.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|Count:*bool @@ -6039,6 +6390,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesItemUnset github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder.ItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder.ItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -6061,6 +6443,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBu github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -6142,6 +6525,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemUnsetReactionReq github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuotePostRequestBody~~>ItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder.ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder.ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder.ItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder.ItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -6164,6 +6578,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|replyWithQuote():*ItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -95158,6 +95573,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesIte github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder.ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder.ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -95180,6 +95626,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesIte github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemTeamChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -95261,6 +95708,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesIte github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBody~~>ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder.ItemTeamChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder.ItemTeamChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -95283,6 +95761,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesReq github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|replyWithQuote():*ItemTeamChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamChannelsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -96941,6 +97420,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesI github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -96963,6 +97473,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesI github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemTeamPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -97044,6 +97555,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesI github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBody~~>ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder.ItemTeamPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder.ItemTeamPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -97066,6 +97608,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesR github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|replyWithQuote():*ItemTeamPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.groups.ItemTeamPrimaryChannelMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -122289,6 +122832,70 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.advancedConfigState::0000-defau github.com/microsoftgraph/msgraph-sdk-go/.models.advancedConfigState::0001-enabled github.com/microsoftgraph/msgraph-sdk-go/.models.advancedConfigState::0002-disabled github.com/microsoftgraph/msgraph-sdk-go/.models.advancedConfigState::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity-->*ServicePrincipal +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|GetAgentIdentityBlueprintId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|SetAgentIdentityBlueprintId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|GetAgentIdentityBlueprintId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|SetAgentIdentityBlueprintId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ServicePrincipalable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint-->*Application +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|GetInheritablePermissions():[]InheritablePermissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|SetInheritablePermissions(value:[]InheritablePermissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|GetInheritablePermissions():[]InheritablePermissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|SetInheritablePermissions(value:[]InheritablePermissionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintable~~>Applicationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal-->*ServicePrincipal +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipal::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|GetCreatedByAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|SetCreatedByAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|SetSponsors(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentIdentityBlueprintPrincipalable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ServicePrincipalable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser-->*User +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.agentUserable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Userable github.com/microsoftgraph/msgraph-sdk-go/.models.aggregationOption::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.aggregationOption::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.aggregationOption::|public|GetBackingStore():BackingStore @@ -123270,6 +123877,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.alertTriggerable::|public|SetTy github.com/microsoftgraph/msgraph-sdk-go/.models.alertTriggerable::|public|SetValue(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.alertTriggerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.alertTrigger~~>AlertTriggerable +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.allAllowedScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.allDeviceRegistrationMembership-->*DeviceRegistrationMembership github.com/microsoftgraph/msgraph-sdk-go/.models.allDeviceRegistrationMembership::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.allDeviceRegistrationMembership::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -127323,6 +127937,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodModes::0013 github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodModes::0014-federatedSingleFactor github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodModes::0015-federatedMultiFactor github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodModes::0016-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodModes::0017-qrCodePin github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodPlatform::0000-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodPlatform::0001-windows github.com/microsoftgraph/msgraph-sdk-go/.models.authenticationMethodPlatform::0002-macOS @@ -128065,6 +128680,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.baseAuthenticationMethod::0009- github.com/microsoftgraph/msgraph-sdk-go/.models.baseAuthenticationMethod::0010-x509Certificate github.com/microsoftgraph/msgraph-sdk-go/.models.baseAuthenticationMethod::0011-federation github.com/microsoftgraph/msgraph-sdk-go/.models.baseAuthenticationMethod::0012-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.baseAuthenticationMethod::0013-qrCodePin github.com/microsoftgraph/msgraph-sdk-go/.models.BaseCollectionPaginationCountResponse::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.BaseCollectionPaginationCountResponse::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.BaseCollectionPaginationCountResponse::|public|GetBackingStore():BackingStore @@ -135993,10 +136609,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetOtherAddres github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetParentFolderId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetPersonalNotes():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetPhoto():ProfilePhotoable +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetPrimaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetProfession():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetSecondaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetSpouseName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetSurname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetTertiaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetTitle():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetYomiCompanyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|GetYomiGivenName():*string @@ -136032,10 +136651,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetOtherAddres github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetParentFolderId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetPersonalNotes(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetPhoto(value:ProfilePhotoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetPrimaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetProfession(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetSecondaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetSpouseName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetSurname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetTertiaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetTitle(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetYomiCompanyName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contact::|public|SetYomiGivenName(value:*string):void @@ -136070,10 +136692,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetOtherAd github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetParentFolderId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetPersonalNotes():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetPhoto():ProfilePhotoable +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetPrimaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetProfession():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetSecondaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetSpouseName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetSurname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetTertiaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetTitle():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetYomiCompanyName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|GetYomiGivenName():*string @@ -136107,10 +136732,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetOtherAd github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetParentFolderId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetPersonalNotes(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetPhoto(value:ProfilePhotoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetPrimaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetProfession(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetSecondaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetSpouseName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetSurname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetTertiaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetTitle(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetYomiCompanyName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.contactable::|public|SetYomiGivenName(value:*string):void @@ -141727,6 +142355,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0008-sPBlockAnonymou github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0009-sPRuntimeAccessControl github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0010-sPSharingNotifyUser github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0011-sPSharingGenerateIncidentReport +github.com/microsoftgraph/msgraph-sdk-go/.models.dlpAction::0012-restrictWebGrounding github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetAction():*DlpAction github.com/microsoftgraph/msgraph-sdk-go/.models.dlpActionInfo::|public|GetAdditionalData():map[string]any @@ -145586,6 +146215,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMem github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable::|public|SetGroups(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable::|public|SetUsers(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedDeviceRegistrationMembershipable~~>DeviceRegistrationMembershipable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|GetScopes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|public|SetScopes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopesable::|public|GetScopes():[]string +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopesable::|public|SetScopes(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.enumeratedScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.errorCorrectionLevel::0000-l +github.com/microsoftgraph/msgraph-sdk-go/.models.errorCorrectionLevel::0001-m +github.com/microsoftgraph/msgraph-sdk-go/.models.errorCorrectionLevel::0002-q +github.com/microsoftgraph/msgraph-sdk-go/.models.errorCorrectionLevel::0003-h +github.com/microsoftgraph/msgraph-sdk-go/.models.errorCorrectionLevel::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.event-->*OutlookItem github.com/microsoftgraph/msgraph-sdk-go/.models.event::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.event::|public|GetAllowNewTimeProposals():*bool @@ -146393,6 +147038,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.connectionSt github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.connectionState::0002-obsolete github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.connectionState::0003-limitExceeded github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.connectionState::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0000-uncategorized +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0001-knowledgeBase +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0002-wikis +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0003-fileRepository +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0004-qna +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0005-crm +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0006-dashboard +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0007-people +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0008-media +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0009-email +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0010-messaging +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0011-meetingTranscripts +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0012-taskManagement +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0013-learningManagement +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.contentCategory::0014-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.displayTemplate::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.displayTemplate::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.displayTemplate::|public|GetBackingStore():BackingStore @@ -146494,6 +147154,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConn github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetActivitySettings():ActivitySettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetConfiguration():Configurationable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetConnectorId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetContentCategory():*ContentCategory github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|GetGroups():[]ExternalGroupable @@ -146508,6 +147169,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConn github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetActivitySettings(value:ActivitySettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetConfiguration(value:Configurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetConnectorId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetContentCategory(value:*ContentCategory):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetGroups(value:[]ExternalGroupable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnection::|public|SetItems(value:[]ExternalItemable):void @@ -146520,6 +147182,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConn github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetActivitySettings():ActivitySettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetConfiguration():Configurationable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetConnectorId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetContentCategory():*ContentCategory github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetGroups():[]ExternalGroupable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|GetItems():[]ExternalItemable @@ -146531,6 +147194,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConn github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetActivitySettings(value:ActivitySettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetConfiguration(value:Configurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetConnectorId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetContentCategory(value:*ContentCategory):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetGroups(value:[]ExternalGroupable):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.externalConnectionable::|public|SetItems(value:[]ExternalItemable):void @@ -146690,7 +147354,45 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0006- github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0007-fileName github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0008-fileExtension github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0009-unknownFutureValue -github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0010-iconUrl +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0010-containerName +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0011-containerUrl +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0012-iconUrl +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0013-assignedToPeople +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0014-closedBy +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0015-closedDate +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0016-priority +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0017-sprintName +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0018-tags +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0019-severity +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0020-state +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0021-dueDate +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0022-itemParentId +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0023-itemPath +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0024-itemType +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0025-numberOfReactions +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0026-parentUrl +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0027-priorityNormalized +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0028-reportedBy +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0029-secondaryId +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0030-personEmails +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0031-personAddresses +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0032-personAnniversaries +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0033-personName +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0034-personNote +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0035-personPhones +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0036-personCurrentPosition +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0037-personWebAccounts +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0038-personWebSite +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0039-personSkills +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0040-personProjects +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0041-personAccount +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0042-personAwards +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0043-personCertifications +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0044-personAssistants +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0045-personColleagues +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0046-personManager +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0047-personAlternateContacts +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.label::0048-personEmergencyContacts github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.properties::|public|GetBackingStore():BackingStore @@ -146711,6 +147413,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|p github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetAliases():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetIsQueryable():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|GetIsRefinable():*bool @@ -146724,6 +147427,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|p github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetAliases(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetIsQueryable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetIsRefinable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|public|SetIsRetrievable(value:*bool):void @@ -146735,6 +147439,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|p github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetAliases():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetIsQueryable():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetIsRefinable():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetIsRetrievable():*bool @@ -146745,6 +147450,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|GetTypeEscaped():*PropertyType github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetAliases(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetIsQueryable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetIsRefinable(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyable::|public|SetIsRetrievable(value:*bool):void @@ -146796,6 +147502,8 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType::0007-doubleCollection github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType::0008-dateTimeCollection github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType::0009-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType::0010-principal +github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.propertyType::0011-principalCollection github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.property~~>Propertyable github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.ruleOperation::0000-null github.com/microsoftgraph/msgraph-sdk-go/.models.externalconnectors.ruleOperation::0001-equals @@ -147437,6 +148145,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetSettings():FileStorageContainerSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetSharePointGroups():[]SharePointGroupable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetStatus():*FileStorageContainerStatus github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetViewpoint():FileStorageContainerViewpointable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|OdataType:*string @@ -147454,6 +148163,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetSettings(value:FileStorageContainerSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetSharePointGroups(value:[]SharePointGroupable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetViewpoint(value:FileStorageContainerViewpointable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -147470,6 +148180,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetSettings():FileStorageContainerSettingsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetSharePointGroups():[]SharePointGroupable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetStatus():*FileStorageContainerStatus github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetViewpoint():FileStorageContainerViewpointable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetAssignedSensitivityLabel(value:AssignedLabelable):void @@ -147485,6 +148196,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetSettings(value:FileStorageContainerSettingsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetSharePointGroups(value:[]SharePointGroupable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetStatus(value:*FileStorageContainerStatus):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetViewpoint(value:FileStorageContainerViewpointable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -148413,6 +149125,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetTransitiveMem github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUniqueName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetUnseenCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetVisibility():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetAcceptedSenders(value:[]DirectoryObjectable):void @@ -148486,6 +149199,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetTransitiveMem github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUniqueName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetUnseenCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetVisibility(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.group::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.group::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAcceptedSenders():[]DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetAllowExternalSenders():*bool @@ -148558,6 +149272,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetTransitiv github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUniqueName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetUnseenCount():*int32 github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetVisibility():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAcceptedSenders(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAllowExternalSenders(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetAppRoleAssignments(value:[]AppRoleAssignmentable):void @@ -148629,6 +149344,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetTransitiv github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUniqueName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetUnseenCount(value:*int32):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetVisibility(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.groupable::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.groupable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.groupAssignmentTarget-->*DeviceAndAppManagementAssignmentTarget github.com/microsoftgraph/msgraph-sdk-go/.models.groupAssignmentTarget::|public|constructor():void @@ -150915,6 +151631,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.includedUserTypes::0000-all github.com/microsoftgraph/msgraph-sdk-go/.models.includedUserTypes::0001-member github.com/microsoftgraph/msgraph-sdk-go/.models.includedUserTypes::0002-guest github.com/microsoftgraph/msgraph-sdk-go/.models.includedUserTypes::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|GetTargetType():*AuthenticationMethodTargetType +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|public|SetTargetType(value:*AuthenticationMethodTargetType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|GetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|GetTargetType():*AuthenticationMethodTargetType +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|SetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable::|public|SetTargetType(value:*AuthenticationMethodTargetType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTargetable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.includeTarget~~>IncludeTargetable github.com/microsoftgraph/msgraph-sdk-go/.models.incomingCallOptions-->*CallOptions github.com/microsoftgraph/msgraph-sdk-go/.models.incomingCallOptions::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.incomingCallOptions::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -151079,6 +151819,50 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.informationProtectionable::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.informationProtectionable::|public|SetThreatAssessmentRequests(value:[]ThreatAssessmentRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.informationProtectionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.informationProtection~~>InformationProtectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|GetInheritableScopes():InheritableScopesable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|GetResourceAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|SetInheritableScopes(value:InheritableScopesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|public|SetResourceAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|GetInheritableScopes():InheritableScopesable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|GetResourceAppId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|SetInheritableScopes(value:InheritableScopesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable::|public|SetResourceAppId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermissionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritablePermission~~>InheritablePermissionable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|GetKind():*ScopeCollectionKind +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|SetKind(value:*ScopeCollectionKind):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|GetKind():*ScopeCollectionKind +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|SetKind(value:*ScopeCollectionKind):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopesable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.inheritableScopes~~>InheritableScopesable github.com/microsoftgraph/msgraph-sdk-go/.models.initiator-->*Identity github.com/microsoftgraph/msgraph-sdk-go/.models.initiator::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.initiator::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -159245,6 +160029,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.noDeviceRegistrationMembership: github.com/microsoftgraph/msgraph-sdk-go/.models.noDeviceRegistrationMembership::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.noDeviceRegistrationMembership::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.noDeviceRegistrationMembershipable~~>DeviceRegistrationMembershipable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.noScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.notebook-->*OnenoteEntityHierarchyModel github.com/microsoftgraph/msgraph-sdk-go/.models.notebook::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.notebook::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -163337,18 +164128,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|co github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|GetItemInsights():InsightsSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|GetProfileCardProperties():[]ProfileCardPropertyable +github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|GetProfileSources():[]ProfileSourceable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|GetPronouns():PronounsSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|SetItemInsights(value:InsightsSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|SetProfileCardProperties(value:[]ProfileCardPropertyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|SetProfileSources(value:[]ProfileSourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|public|SetPronouns(value:PronounsSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|GetItemInsights():InsightsSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|GetProfileCardProperties():[]ProfileCardPropertyable +github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|GetProfileSources():[]ProfileSourceable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|GetPronouns():PronounsSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|SetItemInsights(value:InsightsSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|SetProfileCardProperties(value:[]ProfileCardPropertyable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|SetProfileSources(value:[]ProfileSourceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable::|public|SetPronouns(value:PronounsSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.peopleAdminSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.permission-->*Entity @@ -168083,6 +168878,71 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.profilePhotoCollectionResponse: github.com/microsoftgraph/msgraph-sdk-go/.models.profilePhotoCollectionResponseable::|public|GetValue():[]ProfilePhotoable github.com/microsoftgraph/msgraph-sdk-go/.models.profilePhotoCollectionResponseable::|public|SetValue(value:[]ProfilePhotoable):void github.com/microsoftgraph/msgraph-sdk-go/.models.profilePhotoCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|GetKind():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|GetLocalizations():[]ProfileSourceLocalizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|GetSourceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|GetWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|SetKind(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|SetLocalizations(value:[]ProfileSourceLocalizationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|SetSourceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|public|SetWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSource::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|GetKind():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|GetLocalizations():[]ProfileSourceLocalizationable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|GetSourceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|GetWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|SetKind(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|SetLocalizations(value:[]ProfileSourceLocalizationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|SetSourceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable::|public|SetWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|public|GetValue():[]ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|public|SetValue(value:[]ProfileSourceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponseable::|public|GetValue():[]ProfileSourceable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponseable::|public|SetValue(value:[]ProfileSourceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetLanguageTag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|GetWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetLanguageTag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|public|SetWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|GetLanguageTag():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|GetWebUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|SetLanguageTag(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable::|public|SetWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalizationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.profileSourceLocalization~~>ProfileSourceLocalizationable github.com/microsoftgraph/msgraph-sdk-go/.models.prompt::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.prompt::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.prompt::|public|GetBackingStore():BackingStore @@ -168854,6 +169714,126 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.publicKeyInfrastructureRoot::|s github.com/microsoftgraph/msgraph-sdk-go/.models.publicKeyInfrastructureRootable::|public|GetCertificateBasedAuthConfigurations():[]CertificateBasedAuthPkiable github.com/microsoftgraph/msgraph-sdk-go/.models.publicKeyInfrastructureRootable::|public|SetCertificateBasedAuthConfigurations(value:[]CertificateBasedAuthPkiable):void github.com/microsoftgraph/msgraph-sdk-go/.models.publicKeyInfrastructureRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|GetExpireDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|GetImage():QrCodeImageDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|GetLastUsedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|SetExpireDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|SetImage(value:QrCodeImageDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|SetLastUsedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|GetExpireDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|GetImage():QrCodeImageDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|GetLastUsedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|SetExpireDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|SetImage(value:QrCodeImageDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|SetLastUsedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetBinaryValue():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetErrorCorrectionLevel():*ErrorCorrectionLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetRawContent():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|GetVersion():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetBinaryValue(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetErrorCorrectionLevel(value:*ErrorCorrectionLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetRawContent(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|public|SetVersion(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetBinaryValue():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetErrorCorrectionLevel():*ErrorCorrectionLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetRawContent():[]byte +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|GetVersion():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetBinaryValue(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetErrorCorrectionLevel(value:*ErrorCorrectionLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetRawContent(value:[]byte):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable::|public|SetVersion(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodeImageDetails~~>QrCodeImageDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod-->*AuthenticationMethod +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|GetPin():QrPinable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|GetStandardQRCode():QrCodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|GetTemporaryQRCode():QrCodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|SetPin(value:QrPinable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|SetStandardQRCode(value:QrCodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|public|SetTemporaryQRCode(value:QrCodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethod::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|GetPin():QrPinable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|GetStandardQRCode():QrCodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|GetTemporaryQRCode():QrCodeable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|SetPin(value:QrPinable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|SetStandardQRCode(value:QrCodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable::|public|SetTemporaryQRCode(value:QrCodeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodable~~>AuthenticationMethodable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration-->*AuthenticationMethodConfiguration +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|GetIncludeTargets():[]AuthenticationMethodTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|GetPinLength():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|GetStandardQRCodeLifetimeInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|SetPinLength(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|public|SetStandardQRCodeLifetimeInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|GetIncludeTargets():[]AuthenticationMethodTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|GetPinLength():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|GetStandardQRCodeLifetimeInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|SetPinLength(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable::|public|SetStandardQRCodeLifetimeInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrCodePinAuthenticationMethodConfigurationable~~>AuthenticationMethodConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|GetForceChangePinNextSignIn():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|GetUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|SetForceChangePinNextSignIn(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|public|SetUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|GetCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|GetForceChangePinNextSignIn():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|GetUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|SetForceChangePinNextSignIn(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable::|public|SetUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.qrPinable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.quarantineReason::0000-EncounteredBaseEscrowThreshold github.com/microsoftgraph/msgraph-sdk-go/.models.quarantineReason::0001-EncounteredTotalEscrowThreshold github.com/microsoftgraph/msgraph-sdk-go/.models.quarantineReason::0002-EncounteredEscrowProportionThreshold @@ -172463,6 +173443,11 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|SetIdent github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.scopeBase~~>ScopeBaseable +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeCollectionKind::0000-allAllowed +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeCollectionKind::0001-enumerated +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeCollectionKind::0002-none +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeCollectionKind::0003-scopeKindNotSet +github.com/microsoftgraph/msgraph-sdk-go/.models.scopeCollectionKind::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.scopedRoleMembership::|public|GetAdministrativeUnitId():*string @@ -181228,6 +182213,75 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sharepoint::|static|public|Crea github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointable::|public|GetSettings():SharepointSettingsable github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointable::|public|SetSettings(value:SharepointSettingsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|GetMembers():[]SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|GetPrincipalId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|SetMembers(value:[]SharePointGroupMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|SetPrincipalId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroup::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|GetMembers():[]SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|GetPrincipalId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|SetMembers(value:[]SharePointGroupMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|SetPrincipalId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|public|GetValue():[]SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|public|SetValue(value:[]SharePointGroupable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponseable::|public|GetValue():[]SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponseable::|public|SetValue(value:[]SharePointGroupable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity-->*Identity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|GetPrincipalId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|SetPrincipalId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentityable::|public|GetPrincipalId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentityable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentityable::|public|SetPrincipalId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentityable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|GetIdentity():SharePointIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|public|SetIdentity(value:SharePointIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberable::|public|GetIdentity():SharePointIdentitySetable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberable::|public|SetIdentity(value:SharePointIdentitySetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|public|GetValue():[]SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|public|SetValue(value:[]SharePointGroupMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponseable::|public|GetValue():[]SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponseable::|public|SetValue(value:[]SharePointGroupMemberable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointGroupMemberCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentity-->*Identity github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentity::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -181243,18 +182297,22 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet-->*Identi github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|GetGroup():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|GetSharePointGroup():SharePointGroupIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|GetSiteGroup():SharePointIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|GetSiteUser():SharePointIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|SetGroup(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|SetSharePointGroup(value:SharePointGroupIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|SetSiteGroup(value:SharePointIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|public|SetSiteUser(value:SharePointIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|GetGroup():Identityable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|GetSharePointGroup():SharePointGroupIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|GetSiteGroup():SharePointIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|GetSiteUser():SharePointIdentityable github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|SetGroup(value:Identityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|SetSharePointGroup(value:SharePointGroupIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|SetSiteGroup(value:SharePointIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable::|public|SetSiteUser(value:SharePointIdentityable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointIdentitySetable~~>IdentitySetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -185620,6 +186678,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0004-unknown github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0005-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.accountType::0006-ineligibleUser +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0000-activated +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0001-assignmentPending +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0002-assignmentFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0003-updatePending +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0004-updateFailed +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.activationState::0005-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignedTelephoneNumber::|public|GetAssignmentCategory():*AssignmentCategory @@ -185648,9 +186712,20 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentC github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0001-private github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0002-alternate github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentCategory::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0000-unassigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0001-internalError +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0002-userAssigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0003-conferenceAssigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0004-voiceApplicationAssigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0005-thirdPartyAppAssigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0006-policyAssigned +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentStatus::0007-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0000-direct github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0001-group github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.assignmentType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.customerAction::0000-locationUpdate +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.customerAction::0001-release +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.customerAction::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment::|public|GetBackingStore():BackingStore @@ -185675,6 +186750,104 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePo github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable::|public|SetPolicyType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.effectivePolicyAssignment~~>EffectivePolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetActivationState():*ActivationState +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetAssignmentCategory():*AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetAssignmentStatus():*AssignmentStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetAssignmentTargetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetCapabilities():[]NumberCapability +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetCity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetCivicAddressId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetIsoCountryCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetNetworkSiteId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetNumberSource():*NumberSource +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetNumberType():*NumberType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetOperatorId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetPortInStatus():*PortInStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetReverseNumberLookupOptions():[]ReverseNumberLookupOption +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetSupportedCustomerActions():[]CustomerAction +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetActivationState(value:*ActivationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetAssignmentCategory(value:*AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetAssignmentStatus(value:*AssignmentStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetAssignmentTargetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetCapabilities(value:[]NumberCapability):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetCity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetCivicAddressId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetIsoCountryCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetNetworkSiteId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetNumberSource(value:*NumberSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetNumberType(value:*NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetOperatorId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetPortInStatus(value:*PortInStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetReverseNumberLookupOptions(value:[]ReverseNumberLookupOption):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetSupportedCustomerActions(value:[]CustomerAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetActivationState():*ActivationState +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetAssignmentCategory():*AssignmentCategory +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetAssignmentStatus():*AssignmentStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetAssignmentTargetId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetCapabilities():[]NumberCapability +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetCity():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetCivicAddressId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetIsoCountryCode():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetLocationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetNetworkSiteId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetNumberSource():*NumberSource +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetNumberType():*NumberType +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetOperatorId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetPortInStatus():*PortInStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetReverseNumberLookupOptions():[]ReverseNumberLookupOption +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetSupportedCustomerActions():[]CustomerAction +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|GetTelephoneNumber():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetActivationState(value:*ActivationState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetAssignmentCategory(value:*AssignmentCategory):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetAssignmentStatus(value:*AssignmentStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetAssignmentTargetId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetCapabilities(value:[]NumberCapability):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetCity(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetCivicAddressId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetIsoCountryCode(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetLocationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetNetworkSiteId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetNumberSource(value:*NumberSource):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetNumberType(value:*NumberType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetOperatorId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetPortInStatus(value:*PortInStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetReverseNumberLookupOptions(value:[]ReverseNumberLookupOption):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetSupportedCustomerActions(value:[]CustomerAction):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable::|public|SetTelephoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|public|GetValue():[]NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|public|SetValue(value:[]NumberAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponseable::|public|GetValue():[]NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponseable::|public|SetValue(value:[]NumberAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberAssignmentCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberCapability::0000-conferenceAssignment +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberCapability::0001-voiceApplicationAssignment +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberCapability::0002-userAssignment +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberCapability::0003-teamsPhoneMobile +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberCapability::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberSource::0000-online +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberSource::0001-onPremises +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberSource::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberType::0000-internalError +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberType::0001-directRouting +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberType::0002-callingPlan +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberType::0003-operatorConnect +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.numberType::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyAssignment::|public|GetAssignmentType():*AssignmentType @@ -185722,19 +186895,28 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdent github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|SetName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable::|public|SetPolicyId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.policyIdentifierDetailable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.portInStatus::0000-completed +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.portInStatus::0001-firmOrderCommitmentAccepted +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.portInStatus::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.reverseNumberLookupOption::0000-skipInternalVoip +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.reverseNumberLookupOption::0001-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|GetPolicy():TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|GetTelephoneNumberManagement():TelephoneNumberManagementRootable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|GetUserConfigurations():[]TeamsUserConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|SetPolicy(value:TeamsPolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|SetTelephoneNumberManagement(value:TelephoneNumberManagementRootable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|public|SetUserConfigurations(value:[]TeamsUserConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|GetPolicy():TeamsPolicyAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|GetTelephoneNumberManagement():TelephoneNumberManagementRootable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|GetUserConfigurations():[]TeamsUserConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|SetPolicy(value:TeamsPolicyAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|SetTelephoneNumberManagement(value:TelephoneNumberManagementRootable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable::|public|SetUserConfigurations(value:[]TeamsUserConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsAdminRootable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsPolicyAssignment-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity @@ -185834,6 +187016,78 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserCo github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable::|public|GetValue():[]TeamsUserConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable::|public|SetValue(value:[]TeamsUserConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.teamsUserConfigurationCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|GetCreatedDateTime():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|GetNumbers():[]TelephoneNumberLongRunningOperationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|GetStatus():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|SetCreatedDateTime(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|SetNumbers(value:[]TelephoneNumberLongRunningOperationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|public|SetStatus(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|GetCreatedDateTime():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|GetNumbers():[]TelephoneNumberLongRunningOperationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|GetStatus():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|SetCreatedDateTime(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|SetNumbers(value:[]TelephoneNumberLongRunningOperationDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable::|public|SetStatus(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|public|GetValue():[]TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|public|SetValue(value:[]TelephoneNumberLongRunningOperationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponseable::|public|GetValue():[]TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponseable::|public|SetValue(value:[]TelephoneNumberLongRunningOperationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetStatus():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|GetStatusDetail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetStatus(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|public|SetStatusDetail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|GetStatus():*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|GetStatusDetail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|SetStatus(value:*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable::|public|SetStatusDetail(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberLongRunningOperationDetails~~>TelephoneNumberLongRunningOperationDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|GetNumberAssignments():[]NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|GetOperations():[]TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|SetNumberAssignments(value:[]NumberAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|public|SetOperations(value:[]TelephoneNumberLongRunningOperationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRootable::|public|GetNumberAssignments():[]NumberAssignmentable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRootable::|public|GetOperations():[]TelephoneNumberLongRunningOperationable +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRootable::|public|SetNumberAssignments(value:[]NumberAssignmentable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRootable::|public|SetOperations(value:[]TelephoneNumberLongRunningOperationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.teamsadministration.telephoneNumberManagementRootable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.teamsApp::|public|GetAppDefinitions():[]TeamsAppDefinitionable @@ -189994,6 +191248,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetFollowedSites( github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetGivenName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetHireDate():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetIdentities():[]ObjectIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetIdentityParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetImAddresses():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetInferenceClassification():InferenceClassificationable github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|GetInsights():ItemInsightsable @@ -190129,6 +191384,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetFollowedSites( github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetGivenName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetHireDate(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetIdentities(value:[]ObjectIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetIdentityParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetImAddresses(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetInferenceClassification(value:InferenceClassificationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.user::|public|SetInsights(value:ItemInsightsable):void @@ -190263,6 +191519,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetFollowedSi github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetGivenName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetHireDate():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetIdentities():[]ObjectIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetIdentityParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetImAddresses():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetInferenceClassification():InferenceClassificationable github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|GetInsights():ItemInsightsable @@ -190396,6 +191653,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetFollowedSi github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetGivenName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetHireDate(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetIdentities(value:[]ObjectIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetIdentityParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetImAddresses(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetInferenceClassification(value:InferenceClassificationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.userable::|public|SetInsights(value:ItemInsightsable):void @@ -199874,25 +201132,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0 github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration-->*AuthenticationMethodConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetAuthenticationModeConfiguration():X509CertificateAuthenticationModeConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetCertificateAuthorityScopes():[]X509CertificateAuthorityScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetCertificateUserBindings():[]X509CertificateUserBindingable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetCrlValidationConfiguration():X509CertificateCRLValidationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetIncludeTargets():[]AuthenticationMethodTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|GetIssuerHintsConfiguration():X509CertificateIssuerHintsConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetAuthenticationModeConfiguration(value:X509CertificateAuthenticationModeConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetCertificateAuthorityScopes(value:[]X509CertificateAuthorityScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetCertificateUserBindings(value:[]X509CertificateUserBindingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetCrlValidationConfiguration(value:X509CertificateCRLValidationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|public|SetIssuerHintsConfiguration(value:X509CertificateIssuerHintsConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetAuthenticationModeConfiguration():X509CertificateAuthenticationModeConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetCertificateAuthorityScopes():[]X509CertificateAuthorityScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetCertificateUserBindings():[]X509CertificateUserBindingable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetCrlValidationConfiguration():X509CertificateCRLValidationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetIncludeTargets():[]AuthenticationMethodTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|GetIssuerHintsConfiguration():X509CertificateIssuerHintsConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetAuthenticationModeConfiguration(value:X509CertificateAuthenticationModeConfigurationable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetCertificateAuthorityScopes(value:[]X509CertificateAuthorityScopeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetCertificateUserBindings(value:[]X509CertificateUserBindingable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetCrlValidationConfiguration(value:X509CertificateCRLValidationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetIncludeTargets(value:[]AuthenticationMethodTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable::|public|SetIssuerHintsConfiguration(value:X509CertificateIssuerHintsConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMethodConfigurationable~~>AuthenticationMethodConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMode::0000-x509CertificateSingleFactor github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMode::0001-x509CertificateMultiFactor @@ -199925,6 +201191,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationMo github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationModeConfigurationable::|public|SetX509CertificateDefaultRequiredAffinityLevel(value:*X509CertificateAffinityLevel):void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationModeConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthenticationModeConfiguration~~>X509CertificateAuthenticationModeConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetIncludeTargets():[]IncludeTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetPublicKeyInfrastructureIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|GetSubjectKeyIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetIncludeTargets(value:[]IncludeTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetPublicKeyInfrastructureIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|public|SetSubjectKeyIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|GetIncludeTargets():[]IncludeTargetable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|GetPublicKeyInfrastructureIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|GetSubjectKeyIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|SetIncludeTargets(value:[]IncludeTargetable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|SetPublicKeyInfrastructureIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable::|public|SetSubjectKeyIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScopeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAuthorityScope~~>X509CertificateAuthorityScopeable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfiguration-->*AuthenticationCombinationConfiguration github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCombinationConfiguration::|public|GetAllowedIssuerSkis():[]string @@ -199967,6 +201261,29 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationCon github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationState::0001-enabled github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfigurationState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateCRLValidationConfiguration~~>X509CertificateCRLValidationConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|GetState():*X509CertificateIssuerHintsState +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|public|SetState(value:*X509CertificateIssuerHintsState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|GetState():*X509CertificateIssuerHintsState +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable::|public|SetState(value:*X509CertificateIssuerHintsState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsConfiguration~~>X509CertificateIssuerHintsConfigurationable +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsState::0000-disabled +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsState::0001-enabled +github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateIssuerHintsState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateRule::|public|GetBackingStore():BackingStore @@ -243857,6 +245174,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStora github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|sharePointGroups():*FileStorageContainersItemSharePointGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -244624,6 +245942,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemResto github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder.FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder.FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder.FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder.FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder.FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|BySharePointGroupMemberId(sharePointGroupMemberId:string):*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Count():*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder.FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|BySharePointGroupId(sharePointGroupId:string):*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|Count():*FileStorageContainersItemSharePointGroupsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|members():*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -244889,6 +246332,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageDeletedContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageDeletedContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|sharePointGroups():*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -245656,6 +247100,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersIt github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|BySharePointGroupMemberId(sharePointGroupMemberId:string):*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Count():*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|BySharePointGroupId(sharePointGroupId:string):*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|members():*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -246996,6 +248565,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepl github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder.ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder.ItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -247018,6 +248618,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepl github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -247099,6 +248700,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemUnse github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuotePostRequestBody~~>ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder.ItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder.ItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -247121,6 +248753,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestB github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|replyWithQuote():*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemChannelsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -248779,6 +250412,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRe github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder.ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder.ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -248801,6 +250465,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRe github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -248882,6 +250547,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemUn github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody~~>ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder.ItemPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder.ItemPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -248904,6 +250600,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesReques github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|replyWithQuote():*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teams.ItemPrimaryChannelMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -251475,6 +253172,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -251497,6 +253225,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -251578,6 +253307,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody~~>DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder.DeletedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder.DeletedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -251600,6 +253360,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|replyWithQuote():*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.teamwork.DeletedTeamsItemChannelsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -257661,6 +259422,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemReplies github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder.ItemChatsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder.ItemChatsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -257683,6 +259475,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemReplies github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -257764,6 +259557,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemUnsetRe github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuotePostRequestBody~~>ItemChatsItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder.ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder.ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemChatsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder.ItemChatsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder.ItemChatsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -257786,6 +259610,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuil github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|replyWithQuote():*ItemChatsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemChatsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -263009,6 +264834,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -263031,6 +264887,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -263112,6 +264969,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemChannelsItemMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody~~>ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -263134,6 +265022,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemM github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|replyWithQuote():*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -264792,6 +266681,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChanne github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody~~>ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|Post(body:ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -264814,6 +266734,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChanne github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|replyWithQuote():*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -264895,6 +266816,37 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChanne github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemPrimaryChannelMessagesItemUnsetReactionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetMessageIds():[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|GetReplyMessage():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetMessageIds(value:[]string):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable::|public|SetReplyMessage(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody~~>ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|Post(body:ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|ToPostRequestInformation(body:ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -264917,6 +266869,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChanne github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|replyWithQuote():*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable; ctx:context.Context; requestConfiguration?:*ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderPostRequestConfiguration):*RequestInformation @@ -275394,19 +277347,51 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsCountRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSponsorsCountRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder.ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder.ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder.ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder.ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder.ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|Ref():*ItemSponsorsItemRefRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsDirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSponsorsDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder.ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder.ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsItemRefRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSponsorsItemRefRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderDeleteQueryParameters::|public|Id:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderDeleteRequestConfiguration::|public|queryParameters:*ItemSponsorsRefRequestBuilderDeleteQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSponsorsRefRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder.ItemSponsorsRefRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable; ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable; ctx:context.Context; requestConfiguration?:*ItemSponsorsRefRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRefRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSponsorsRefRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder.ItemSponsorsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder.ItemSponsorsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -275425,6 +277410,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|pub github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|Count():*ItemSponsorsCountRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSponsorsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|Ref():*ItemSponsorsRefRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSponsorsRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemSponsorsRequestBuilder::|public|urlTemplate:string diff --git a/kiota-lock.json b/kiota-lock.json index 6b5e801c8a..a722a07b1b 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "4F06022D5B45031BAB5C100A8706A34FA46122344724E8FCA8C63860D90BF29AC24BE841A1ED2D972C817F599F3CB3D773FDC21B97C78F4BD30527C351DF0259", + "descriptionHash": "89E8F6D74A32BB61DE8F4EB953F340F058C3B87D73273DC2DF16A3356AB383E85983A902A22001D6AB119C3FB39EB5DF2C76C3D82A5FA86344385E3A8DDCD30D", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/models/access_package_assignment_policy.go b/models/access_package_assignment_policy.go index d30510aa9d..bf569bf19b 100644 --- a/models/access_package_assignment_policy.go +++ b/models/access_package_assignment_policy.go @@ -23,7 +23,7 @@ func NewAccessPackageAssignmentPolicy()(*AccessPackageAssignmentPolicy) { func CreateAccessPackageAssignmentPolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAccessPackageAssignmentPolicy(), nil } -// GetAccessPackage gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. +// GetAccessPackage gets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. // returns a AccessPackageable when successful func (m *AccessPackageAssignmentPolicy) GetAccessPackage()(AccessPackageable) { val, err := m.GetBackingStore().Get("accessPackage") @@ -35,7 +35,7 @@ func (m *AccessPackageAssignmentPolicy) GetAccessPackage()(AccessPackageable) { } return nil } -// GetAllowedTargetScope gets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. +// GetAllowedTargetScope gets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue. // returns a *AllowedTargetScope when successful func (m *AccessPackageAssignmentPolicy) GetAllowedTargetScope()(*AllowedTargetScope) { val, err := m.GetBackingStore().Get("allowedTargetScope") @@ -522,14 +522,14 @@ func (m *AccessPackageAssignmentPolicy) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetAccessPackage sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. +// SetAccessPackage sets the accessPackage property value. Access package containing this policy. Read-only. Supports $expand. func (m *AccessPackageAssignmentPolicy) SetAccessPackage(value AccessPackageable)() { err := m.GetBackingStore().Set("accessPackage", value) if err != nil { panic(err) } } -// SetAllowedTargetScope sets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, unknownFutureValue. +// SetAllowedTargetScope sets the allowedTargetScope property value. Principals that can be assigned the access package through this policy. The possible values are: notSpecified, specificDirectoryUsers, specificConnectedOrganizationUsers, specificDirectoryServicePrincipals, allMemberUsers, allDirectoryUsers, allDirectoryServicePrincipals, allConfiguredConnectedOrganizationUsers, allExternalUsers, allDirectoryAgentIdentities, unknownFutureValue. func (m *AccessPackageAssignmentPolicy) SetAllowedTargetScope(value *AllowedTargetScope)() { err := m.GetBackingStore().Set("allowedTargetScope", value) if err != nil { diff --git a/models/agent_identity.go b/models/agent_identity.go new file mode 100644 index 0000000000..1142f458a7 --- /dev/null +++ b/models/agent_identity.go @@ -0,0 +1,205 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AgentIdentity struct { + ServicePrincipal +} +// NewAgentIdentity instantiates a new AgentIdentity and sets the default values. +func NewAgentIdentity()(*AgentIdentity) { + m := &AgentIdentity{ + ServicePrincipal: *NewServicePrincipal(), + } + odataTypeValue := "#microsoft.graph.agentIdentity" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAgentIdentityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAgentIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAgentIdentity(), nil +} +// GetAgentIdentityBlueprintId gets the agentIdentityBlueprintId property value. The appId of the agent identity blueprint that defines the configuration for this agent identity. +// returns a *string when successful +func (m *AgentIdentity) GetAgentIdentityBlueprintId()(*string) { + val, err := m.GetBackingStore().Get("agentIdentityBlueprintId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedByAppId gets the createdByAppId property value. The appId of the application that created this agent identity. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +// returns a *string when successful +func (m *AgentIdentity) GetCreatedByAppId()(*string) { + val, err := m.GetBackingStore().Get("createdByAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. +// returns a *Time when successful +func (m *AgentIdentity) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AgentIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ServicePrincipal.GetFieldDeserializers() + res["agentIdentityBlueprintId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAgentIdentityBlueprintId(val) + } + return nil + } + res["createdByAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedByAppId(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["sponsors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DirectoryObjectable) + } + } + m.SetSponsors(res) + } + return nil + } + return res +} +// GetSponsors gets the sponsors property value. The sponsors for this agent identity. +// returns a []DirectoryObjectable when successful +func (m *AgentIdentity) GetSponsors()([]DirectoryObjectable) { + val, err := m.GetBackingStore().Get("sponsors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *AgentIdentity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ServicePrincipal.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("agentIdentityBlueprintId", m.GetAgentIdentityBlueprintId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("createdByAppId", m.GetCreatedByAppId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + if m.GetSponsors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSponsors())) + for i, v := range m.GetSponsors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sponsors", cast) + if err != nil { + return err + } + } + return nil +} +// SetAgentIdentityBlueprintId sets the agentIdentityBlueprintId property value. The appId of the agent identity blueprint that defines the configuration for this agent identity. +func (m *AgentIdentity) SetAgentIdentityBlueprintId(value *string)() { + err := m.GetBackingStore().Set("agentIdentityBlueprintId", value) + if err != nil { + panic(err) + } +} +// SetCreatedByAppId sets the createdByAppId property value. The appId of the application that created this agent identity. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +func (m *AgentIdentity) SetCreatedByAppId(value *string)() { + err := m.GetBackingStore().Set("createdByAppId", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time the agent identity was created. Read-only. Inherited from servicePrincipal. +func (m *AgentIdentity) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetSponsors sets the sponsors property value. The sponsors for this agent identity. +func (m *AgentIdentity) SetSponsors(value []DirectoryObjectable)() { + err := m.GetBackingStore().Set("sponsors", value) + if err != nil { + panic(err) + } +} +type AgentIdentityable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ServicePrincipalable + GetAgentIdentityBlueprintId()(*string) + GetCreatedByAppId()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSponsors()([]DirectoryObjectable) + SetAgentIdentityBlueprintId(value *string)() + SetCreatedByAppId(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSponsors(value []DirectoryObjectable)() +} diff --git a/models/agent_identity_blueprint.go b/models/agent_identity_blueprint.go new file mode 100644 index 0000000000..e10bbbd528 --- /dev/null +++ b/models/agent_identity_blueprint.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AgentIdentityBlueprint struct { + Application +} +// NewAgentIdentityBlueprint instantiates a new AgentIdentityBlueprint and sets the default values. +func NewAgentIdentityBlueprint()(*AgentIdentityBlueprint) { + m := &AgentIdentityBlueprint{ + Application: *NewApplication(), + } + odataTypeValue := "#microsoft.graph.agentIdentityBlueprint" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAgentIdentityBlueprintFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAgentIdentityBlueprintFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAgentIdentityBlueprint(), nil +} +// GetCreatedByAppId gets the createdByAppId property value. The appId of the application that created this agent identity blueprint. Set internally by Microsoft Entra ID. Read-only. Inherited from application. +// returns a *string when successful +func (m *AgentIdentityBlueprint) GetCreatedByAppId()(*string) { + val, err := m.GetBackingStore().Get("createdByAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AgentIdentityBlueprint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Application.GetFieldDeserializers() + res["createdByAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedByAppId(val) + } + return nil + } + res["inheritablePermissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateInheritablePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]InheritablePermissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(InheritablePermissionable) + } + } + m.SetInheritablePermissions(res) + } + return nil + } + res["sponsors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DirectoryObjectable) + } + } + m.SetSponsors(res) + } + return nil + } + return res +} +// GetInheritablePermissions gets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +// returns a []InheritablePermissionable when successful +func (m *AgentIdentityBlueprint) GetInheritablePermissions()([]InheritablePermissionable) { + val, err := m.GetBackingStore().Get("inheritablePermissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]InheritablePermissionable) + } + return nil +} +// GetSponsors gets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. +// returns a []DirectoryObjectable when successful +func (m *AgentIdentityBlueprint) GetSponsors()([]DirectoryObjectable) { + val, err := m.GetBackingStore().Get("sponsors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *AgentIdentityBlueprint) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Application.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("createdByAppId", m.GetCreatedByAppId()) + if err != nil { + return err + } + } + if m.GetInheritablePermissions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetInheritablePermissions())) + for i, v := range m.GetInheritablePermissions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("inheritablePermissions", cast) + if err != nil { + return err + } + } + if m.GetSponsors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSponsors())) + for i, v := range m.GetSponsors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sponsors", cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedByAppId sets the createdByAppId property value. The appId of the application that created this agent identity blueprint. Set internally by Microsoft Entra ID. Read-only. Inherited from application. +func (m *AgentIdentityBlueprint) SetCreatedByAppId(value *string)() { + err := m.GetBackingStore().Set("createdByAppId", value) + if err != nil { + panic(err) + } +} +// SetInheritablePermissions sets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +func (m *AgentIdentityBlueprint) SetInheritablePermissions(value []InheritablePermissionable)() { + err := m.GetBackingStore().Set("inheritablePermissions", value) + if err != nil { + panic(err) + } +} +// SetSponsors sets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. +func (m *AgentIdentityBlueprint) SetSponsors(value []DirectoryObjectable)() { + err := m.GetBackingStore().Set("sponsors", value) + if err != nil { + panic(err) + } +} +type AgentIdentityBlueprintable interface { + Applicationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedByAppId()(*string) + GetInheritablePermissions()([]InheritablePermissionable) + GetSponsors()([]DirectoryObjectable) + SetCreatedByAppId(value *string)() + SetInheritablePermissions(value []InheritablePermissionable)() + SetSponsors(value []DirectoryObjectable)() +} diff --git a/models/agent_identity_blueprint_principal.go b/models/agent_identity_blueprint_principal.go new file mode 100644 index 0000000000..5e94b1efe4 --- /dev/null +++ b/models/agent_identity_blueprint_principal.go @@ -0,0 +1,130 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AgentIdentityBlueprintPrincipal struct { + ServicePrincipal +} +// NewAgentIdentityBlueprintPrincipal instantiates a new AgentIdentityBlueprintPrincipal and sets the default values. +func NewAgentIdentityBlueprintPrincipal()(*AgentIdentityBlueprintPrincipal) { + m := &AgentIdentityBlueprintPrincipal{ + ServicePrincipal: *NewServicePrincipal(), + } + odataTypeValue := "#microsoft.graph.agentIdentityBlueprintPrincipal" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAgentIdentityBlueprintPrincipalFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAgentIdentityBlueprintPrincipalFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAgentIdentityBlueprintPrincipal(), nil +} +// GetCreatedByAppId gets the createdByAppId property value. The appId of the application that created this agent identity blueprint principal. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +// returns a *string when successful +func (m *AgentIdentityBlueprintPrincipal) GetCreatedByAppId()(*string) { + val, err := m.GetBackingStore().Get("createdByAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AgentIdentityBlueprintPrincipal) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ServicePrincipal.GetFieldDeserializers() + res["createdByAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedByAppId(val) + } + return nil + } + res["sponsors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DirectoryObjectable) + } + } + m.SetSponsors(res) + } + return nil + } + return res +} +// GetSponsors gets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. +// returns a []DirectoryObjectable when successful +func (m *AgentIdentityBlueprintPrincipal) GetSponsors()([]DirectoryObjectable) { + val, err := m.GetBackingStore().Get("sponsors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *AgentIdentityBlueprintPrincipal) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ServicePrincipal.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("createdByAppId", m.GetCreatedByAppId()) + if err != nil { + return err + } + } + if m.GetSponsors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSponsors())) + for i, v := range m.GetSponsors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sponsors", cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedByAppId sets the createdByAppId property value. The appId of the application that created this agent identity blueprint principal. Set internally by Microsoft Entra ID. Read-only. Inherited from servicePrincipal. +func (m *AgentIdentityBlueprintPrincipal) SetCreatedByAppId(value *string)() { + err := m.GetBackingStore().Set("createdByAppId", value) + if err != nil { + panic(err) + } +} +// SetSponsors sets the sponsors property value. The sponsors for this agent identity blueprint principal. Sponsors are users or service principals who can authorize and manage the lifecycle of agent identity instances. +func (m *AgentIdentityBlueprintPrincipal) SetSponsors(value []DirectoryObjectable)() { + err := m.GetBackingStore().Set("sponsors", value) + if err != nil { + panic(err) + } +} +type AgentIdentityBlueprintPrincipalable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ServicePrincipalable + GetCreatedByAppId()(*string) + GetSponsors()([]DirectoryObjectable) + SetCreatedByAppId(value *string)() + SetSponsors(value []DirectoryObjectable)() +} diff --git a/models/agent_user.go b/models/agent_user.go new file mode 100644 index 0000000000..45e8888d3f --- /dev/null +++ b/models/agent_user.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// AgentUser represents a Microsoft Entra user account. +type AgentUser struct { + User +} +// NewAgentUser instantiates a new AgentUser and sets the default values. +func NewAgentUser()(*AgentUser) { + m := &AgentUser{ + User: *NewUser(), + } + odataTypeValue := "#microsoft.graph.agentUser" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAgentUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAgentUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAgentUser(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AgentUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.User.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AgentUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.User.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AgentUserable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Userable +} diff --git a/models/alert.go b/models/alert.go index 8fd347878c..2a60e4509e 100644 --- a/models/alert.go +++ b/models/alert.go @@ -191,7 +191,7 @@ func (m *Alert) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a163 } return nil } -// GetFeedback gets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. +// GetFeedback gets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable. // returns a *AlertFeedback when successful func (m *Alert) GetFeedback()(*AlertFeedback) { val, err := m.GetBackingStore().Get("feedback") @@ -731,7 +731,7 @@ func (m *Alert) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return res } -// GetFileStates gets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert. +// GetFileStates gets the fileStates property value. Security-related stateful information generated by the provider about the files related to this alert. // returns a []FileSecurityStateable when successful func (m *Alert) GetFileStates()([]FileSecurityStateable) { val, err := m.GetBackingStore().Get("fileStates") @@ -755,7 +755,7 @@ func (m *Alert) GetHistoryStates()([]AlertHistoryStateable) { } return nil } -// GetHostStates gets the hostStates property value. Security-related stateful information generated by the provider about the host(s) related to this alert. +// GetHostStates gets the hostStates property value. Security-related stateful information generated by the provider about the hosts related to this alert. // returns a []HostSecurityStateable when successful func (m *Alert) GetHostStates()([]HostSecurityStateable) { val, err := m.GetBackingStore().Get("hostStates") @@ -839,7 +839,7 @@ func (m *Alert) GetMessageSecurityStates()([]MessageSecurityStateable) { } return nil } -// GetNetworkConnections gets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert. +// GetNetworkConnections gets the networkConnections property value. Security-related stateful information generated by the provider about the network connections related to this alert. // returns a []NetworkConnectionable when successful func (m *Alert) GetNetworkConnections()([]NetworkConnectionable) { val, err := m.GetBackingStore().Get("networkConnections") @@ -863,7 +863,7 @@ func (m *Alert) GetProcesses()([]Processable) { } return nil } -// GetRecommendedActions gets the recommendedActions property value. Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). +// GetRecommendedActions gets the recommendedActions property value. Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). // returns a []string when successful func (m *Alert) GetRecommendedActions()([]string) { val, err := m.GetBackingStore().Get("recommendedActions") @@ -935,7 +935,7 @@ func (m *Alert) GetStatus()(*AlertStatus) { } return nil } -// GetTags gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). +// GetTags gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update). // returns a []string when successful func (m *Alert) GetTags()([]string) { val, err := m.GetBackingStore().Get("tags") @@ -1458,14 +1458,14 @@ func (m *Alert) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077 panic(err) } } -// SetFeedback sets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update. +// SetFeedback sets the feedback property value. Analyst feedback on the alert. The possible values are: unknown, truePositive, falsePositive, benignPositive. Updatable. func (m *Alert) SetFeedback(value *AlertFeedback)() { err := m.GetBackingStore().Set("feedback", value) if err != nil { panic(err) } } -// SetFileStates sets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert. +// SetFileStates sets the fileStates property value. Security-related stateful information generated by the provider about the files related to this alert. func (m *Alert) SetFileStates(value []FileSecurityStateable)() { err := m.GetBackingStore().Set("fileStates", value) if err != nil { @@ -1479,7 +1479,7 @@ func (m *Alert) SetHistoryStates(value []AlertHistoryStateable)() { panic(err) } } -// SetHostStates sets the hostStates property value. Security-related stateful information generated by the provider about the host(s) related to this alert. +// SetHostStates sets the hostStates property value. Security-related stateful information generated by the provider about the hosts related to this alert. func (m *Alert) SetHostStates(value []HostSecurityStateable)() { err := m.GetBackingStore().Set("hostStates", value) if err != nil { @@ -1528,7 +1528,7 @@ func (m *Alert) SetMessageSecurityStates(value []MessageSecurityStateable)() { panic(err) } } -// SetNetworkConnections sets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert. +// SetNetworkConnections sets the networkConnections property value. Security-related stateful information generated by the provider about the network connections related to this alert. func (m *Alert) SetNetworkConnections(value []NetworkConnectionable)() { err := m.GetBackingStore().Set("networkConnections", value) if err != nil { @@ -1542,7 +1542,7 @@ func (m *Alert) SetProcesses(value []Processable)() { panic(err) } } -// SetRecommendedActions sets the recommendedActions property value. Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). +// SetRecommendedActions sets the recommendedActions property value. Vendor/provider recommended actions to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). func (m *Alert) SetRecommendedActions(value []string)() { err := m.GetBackingStore().Set("recommendedActions", value) if err != nil { @@ -1584,7 +1584,7 @@ func (m *Alert) SetStatus(value *AlertStatus)() { panic(err) } } -// SetTags sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). +// SetTags sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example, 'HVA', 'SAW') (supports update). func (m *Alert) SetTags(value []string)() { err := m.GetBackingStore().Set("tags", value) if err != nil { diff --git a/models/all_allowed_scopes.go b/models/all_allowed_scopes.go new file mode 100644 index 0000000000..36598aca0a --- /dev/null +++ b/models/all_allowed_scopes.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllAllowedScopes struct { + InheritableScopes +} +// NewAllAllowedScopes instantiates a new AllAllowedScopes and sets the default values. +func NewAllAllowedScopes()(*AllAllowedScopes) { + m := &AllAllowedScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.allAllowedScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllAllowedScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllAllowedScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllAllowedScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllAllowedScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AllAllowedScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AllAllowedScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/application.go b/models/application.go index b871775144..01500658b5 100644 --- a/models/application.go +++ b/models/application.go @@ -24,6 +24,24 @@ func NewApplication()(*Application) { // CreateApplicationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateApplicationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.agentIdentityBlueprint": + return NewAgentIdentityBlueprint(), nil + } + } + } + } return NewApplication(), nil } // GetAddIns gets the addIns property value. Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams can set the addIns property for its 'FileHandler' functionality. This lets services like Microsoft 365 call the application in the context of a document the user is working on. diff --git a/models/authentication.go b/models/authentication.go index 3e9cca4585..104154f6e3 100644 --- a/models/authentication.go +++ b/models/authentication.go @@ -34,7 +34,7 @@ func (m *Authentication) GetEmailMethods()([]EmailAuthenticationMethodable) { } return nil } -// GetExternalAuthenticationMethods gets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. +// GetExternalAuthenticationMethods gets the externalAuthenticationMethods property value. Represents the external MFA registered to a user for authentication using an external identity provider. // returns a []ExternalAuthenticationMethodable when successful func (m *Authentication) GetExternalAuthenticationMethods()([]ExternalAuthenticationMethodable) { val, err := m.GetBackingStore().Get("externalAuthenticationMethods") @@ -523,7 +523,7 @@ func (m *Authentication) SetEmailMethods(value []EmailAuthenticationMethodable)( panic(err) } } -// SetExternalAuthenticationMethods sets the externalAuthenticationMethods property value. Represents the external authentication methods registered to a user for authentication using an external identity provider. +// SetExternalAuthenticationMethods sets the externalAuthenticationMethods property value. Represents the external MFA registered to a user for authentication using an external identity provider. func (m *Authentication) SetExternalAuthenticationMethods(value []ExternalAuthenticationMethodable)() { err := m.GetBackingStore().Set("externalAuthenticationMethods", value) if err != nil { diff --git a/models/authentication_method.go b/models/authentication_method.go index ac7253ff5e..81cef3d19c 100644 --- a/models/authentication_method.go +++ b/models/authentication_method.go @@ -47,6 +47,8 @@ func CreateAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d return NewPhoneAuthenticationMethod(), nil case "#microsoft.graph.platformCredentialAuthenticationMethod": return NewPlatformCredentialAuthenticationMethod(), nil + case "#microsoft.graph.qrCodePinAuthenticationMethod": + return NewQrCodePinAuthenticationMethod(), nil case "#microsoft.graph.softwareOathAuthenticationMethod": return NewSoftwareOathAuthenticationMethod(), nil case "#microsoft.graph.temporaryAccessPassAuthenticationMethod": diff --git a/models/authentication_method_configuration.go b/models/authentication_method_configuration.go index 89684fc1f3..dccab29e4d 100644 --- a/models/authentication_method_configuration.go +++ b/models/authentication_method_configuration.go @@ -40,6 +40,8 @@ func CreateAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode i87 return NewFido2AuthenticationMethodConfiguration(), nil case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration": return NewMicrosoftAuthenticatorAuthenticationMethodConfiguration(), nil + case "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration": + return NewQrCodePinAuthenticationMethodConfiguration(), nil case "#microsoft.graph.smsAuthenticationMethodConfiguration": return NewSmsAuthenticationMethodConfiguration(), nil case "#microsoft.graph.softwareOathAuthenticationMethodConfiguration": diff --git a/models/authentication_method_modes.go b/models/authentication_method_modes.go index b7cf67c18a..ae54732e43 100644 --- a/models/authentication_method_modes.go +++ b/models/authentication_method_modes.go @@ -26,12 +26,13 @@ const ( FEDERATEDSINGLEFACTOR_AUTHENTICATIONMETHODMODES = 16384 FEDERATEDMULTIFACTOR_AUTHENTICATIONMETHODMODES = 32768 UNKNOWNFUTUREVALUE_AUTHENTICATIONMETHODMODES = 65536 + QRCODEPIN_AUTHENTICATIONMETHODMODES = 131072 ) func (i AuthenticationMethodModes) String() string { var values []string - options := []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticatorPush", "deviceBasedPush", "temporaryAccessPassOneTime", "temporaryAccessPassMultiUse", "email", "x509CertificateSingleFactor", "x509CertificateMultiFactor", "federatedSingleFactor", "federatedMultiFactor", "unknownFutureValue"} - for p := 0; p < 17; p++ { + options := []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticatorPush", "deviceBasedPush", "temporaryAccessPassOneTime", "temporaryAccessPassMultiUse", "email", "x509CertificateSingleFactor", "x509CertificateMultiFactor", "federatedSingleFactor", "federatedMultiFactor", "unknownFutureValue", "qrCodePin"} + for p := 0; p < 18; p++ { mantis := AuthenticationMethodModes(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -78,6 +79,8 @@ func ParseAuthenticationMethodModes(v string) (any, error) { result |= FEDERATEDMULTIFACTOR_AUTHENTICATIONMETHODMODES case "unknownFutureValue": result |= UNKNOWNFUTUREVALUE_AUTHENTICATIONMETHODMODES + case "qrCodePin": + result |= QRCODEPIN_AUTHENTICATIONMETHODMODES default: return nil, nil } diff --git a/models/base_authentication_method.go b/models/base_authentication_method.go index bb384d646c..7a373d430e 100644 --- a/models/base_authentication_method.go +++ b/models/base_authentication_method.go @@ -18,10 +18,11 @@ const ( X509CERTIFICATE_BASEAUTHENTICATIONMETHOD FEDERATION_BASEAUTHENTICATIONMETHOD UNKNOWNFUTUREVALUE_BASEAUTHENTICATIONMETHOD + QRCODEPIN_BASEAUTHENTICATIONMETHOD ) func (i BaseAuthenticationMethod) String() string { - return []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticator", "temporaryAccessPass", "email", "x509Certificate", "federation", "unknownFutureValue"}[i] + return []string{"password", "voice", "hardwareOath", "softwareOath", "sms", "fido2", "windowsHelloForBusiness", "microsoftAuthenticator", "temporaryAccessPass", "email", "x509Certificate", "federation", "unknownFutureValue", "qrCodePin"}[i] } func ParseBaseAuthenticationMethod(v string) (any, error) { result := PASSWORD_BASEAUTHENTICATIONMETHOD @@ -52,6 +53,8 @@ func ParseBaseAuthenticationMethod(v string) (any, error) { result = FEDERATION_BASEAUTHENTICATIONMETHOD case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_BASEAUTHENTICATIONMETHOD + case "qrCodePin": + result = QRCODEPIN_BASEAUTHENTICATIONMETHOD default: return nil, nil } diff --git a/models/contact.go b/models/contact.go index 8e31032071..93c0f92b1d 100644 --- a/models/contact.go +++ b/models/contact.go @@ -493,6 +493,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["primaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPrimaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["profession"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -503,6 +513,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["secondaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSecondaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["singleValueExtendedProperties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateSingleValueLegacyExtendedPropertyFromDiscriminatorValue) if err != nil { @@ -539,6 +559,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["tertiaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTertiaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -797,6 +827,18 @@ func (m *Contact) GetPhoto()(ProfilePhotoable) { } return nil } +// GetPrimaryEmailAddress gets the primaryEmailAddress property value. The contact's primary email address. +// returns a EmailAddressable when successful +func (m *Contact) GetPrimaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("primaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetProfession gets the profession property value. The contact's profession. // returns a *string when successful func (m *Contact) GetProfession()(*string) { @@ -809,6 +851,18 @@ func (m *Contact) GetProfession()(*string) { } return nil } +// GetSecondaryEmailAddress gets the secondaryEmailAddress property value. The contact's secondary email address. +// returns a EmailAddressable when successful +func (m *Contact) GetSecondaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("secondaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetSingleValueExtendedProperties gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. // returns a []SingleValueLegacyExtendedPropertyable when successful func (m *Contact) GetSingleValueExtendedProperties()([]SingleValueLegacyExtendedPropertyable) { @@ -845,6 +899,18 @@ func (m *Contact) GetSurname()(*string) { } return nil } +// GetTertiaryEmailAddress gets the tertiaryEmailAddress property value. The contact's tertiary email address. +// returns a EmailAddressable when successful +func (m *Contact) GetTertiaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("tertiaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetTitle gets the title property value. The contact's title. // returns a *string when successful func (m *Contact) GetTitle()(*string) { @@ -1091,12 +1157,24 @@ func (m *Contact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteObjectValue("primaryEmailAddress", m.GetPrimaryEmailAddress()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("profession", m.GetProfession()) if err != nil { return err } } + { + err = writer.WriteObjectValue("secondaryEmailAddress", m.GetSecondaryEmailAddress()) + if err != nil { + return err + } + } if m.GetSingleValueExtendedProperties() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSingleValueExtendedProperties())) for i, v := range m.GetSingleValueExtendedProperties() { @@ -1121,6 +1199,12 @@ func (m *Contact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteObjectValue("tertiaryEmailAddress", m.GetTertiaryEmailAddress()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("title", m.GetTitle()) if err != nil { @@ -1350,6 +1434,13 @@ func (m *Contact) SetPhoto(value ProfilePhotoable)() { panic(err) } } +// SetPrimaryEmailAddress sets the primaryEmailAddress property value. The contact's primary email address. +func (m *Contact) SetPrimaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("primaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetProfession sets the profession property value. The contact's profession. func (m *Contact) SetProfession(value *string)() { err := m.GetBackingStore().Set("profession", value) @@ -1357,6 +1448,13 @@ func (m *Contact) SetProfession(value *string)() { panic(err) } } +// SetSecondaryEmailAddress sets the secondaryEmailAddress property value. The contact's secondary email address. +func (m *Contact) SetSecondaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("secondaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetSingleValueExtendedProperties sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. func (m *Contact) SetSingleValueExtendedProperties(value []SingleValueLegacyExtendedPropertyable)() { err := m.GetBackingStore().Set("singleValueExtendedProperties", value) @@ -1378,6 +1476,13 @@ func (m *Contact) SetSurname(value *string)() { panic(err) } } +// SetTertiaryEmailAddress sets the tertiaryEmailAddress property value. The contact's tertiary email address. +func (m *Contact) SetTertiaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("tertiaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetTitle sets the title property value. The contact's title. func (m *Contact) SetTitle(value *string)() { err := m.GetBackingStore().Set("title", value) @@ -1438,10 +1543,13 @@ type Contactable interface { GetParentFolderId()(*string) GetPersonalNotes()(*string) GetPhoto()(ProfilePhotoable) + GetPrimaryEmailAddress()(EmailAddressable) GetProfession()(*string) + GetSecondaryEmailAddress()(EmailAddressable) GetSingleValueExtendedProperties()([]SingleValueLegacyExtendedPropertyable) GetSpouseName()(*string) GetSurname()(*string) + GetTertiaryEmailAddress()(EmailAddressable) GetTitle()(*string) GetYomiCompanyName()(*string) GetYomiGivenName()(*string) @@ -1475,10 +1583,13 @@ type Contactable interface { SetParentFolderId(value *string)() SetPersonalNotes(value *string)() SetPhoto(value ProfilePhotoable)() + SetPrimaryEmailAddress(value EmailAddressable)() SetProfession(value *string)() + SetSecondaryEmailAddress(value EmailAddressable)() SetSingleValueExtendedProperties(value []SingleValueLegacyExtendedPropertyable)() SetSpouseName(value *string)() SetSurname(value *string)() + SetTertiaryEmailAddress(value EmailAddressable)() SetTitle(value *string)() SetYomiCompanyName(value *string)() SetYomiGivenName(value *string)() diff --git a/models/directory_object.go b/models/directory_object.go index 93ac302bf1..58fc88831d 100644 --- a/models/directory_object.go +++ b/models/directory_object.go @@ -37,6 +37,14 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewActivityBasedTimeoutPolicy(), nil case "#microsoft.graph.administrativeUnit": return NewAdministrativeUnit(), nil + case "#microsoft.graph.agentIdentity": + return NewAgentIdentity(), nil + case "#microsoft.graph.agentIdentityBlueprint": + return NewAgentIdentityBlueprint(), nil + case "#microsoft.graph.agentIdentityBlueprintPrincipal": + return NewAgentIdentityBlueprintPrincipal(), nil + case "#microsoft.graph.agentUser": + return NewAgentUser(), nil case "#microsoft.graph.application": return NewApplication(), nil case "#microsoft.graph.appManagementPolicy": diff --git a/models/dlp_action.go b/models/dlp_action.go index 25a8dcb4eb..0af3ae516c 100644 --- a/models/dlp_action.go +++ b/models/dlp_action.go @@ -17,10 +17,11 @@ const ( SPRUNTIMEACCESSCONTROL_DLPACTION SPSHARINGNOTIFYUSER_DLPACTION SPSHARINGGENERATEINCIDENTREPORT_DLPACTION + RESTRICTWEBGROUNDING_DLPACTION ) func (i DlpAction) String() string { - return []string{"notifyUser", "blockAccess", "deviceRestriction", "browserRestriction", "unknownFutureValue", "restrictAccess", "generateAlert", "generateIncidentReportAction", "sPBlockAnonymousAccess", "sPRuntimeAccessControl", "sPSharingNotifyUser", "sPSharingGenerateIncidentReport"}[i] + return []string{"notifyUser", "blockAccess", "deviceRestriction", "browserRestriction", "unknownFutureValue", "restrictAccess", "generateAlert", "generateIncidentReportAction", "sPBlockAnonymousAccess", "sPRuntimeAccessControl", "sPSharingNotifyUser", "sPSharingGenerateIncidentReport", "restrictWebGrounding"}[i] } func ParseDlpAction(v string) (any, error) { result := NOTIFYUSER_DLPACTION @@ -49,6 +50,8 @@ func ParseDlpAction(v string) (any, error) { result = SPSHARINGNOTIFYUSER_DLPACTION case "sPSharingGenerateIncidentReport": result = SPSHARINGGENERATEINCIDENTREPORT_DLPACTION + case "restrictWebGrounding": + result = RESTRICTWEBGROUNDING_DLPACTION default: return nil, nil } diff --git a/models/entity.go b/models/entity.go index cdc55a6014..dd330eed1f 100644 --- a/models/entity.go +++ b/models/entity.go @@ -105,6 +105,14 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAdminMicrosoft365Apps(), nil case "#microsoft.graph.adminReportSettings": return NewAdminReportSettings(), nil + case "#microsoft.graph.agentIdentity": + return NewAgentIdentity(), nil + case "#microsoft.graph.agentIdentityBlueprint": + return NewAgentIdentityBlueprint(), nil + case "#microsoft.graph.agentIdentityBlueprintPrincipal": + return NewAgentIdentityBlueprintPrincipal(), nil + case "#microsoft.graph.agentUser": + return NewAgentUser(), nil case "#microsoft.graph.agreement": return NewAgreement(), nil case "#microsoft.graph.agreementAcceptance": @@ -1239,6 +1247,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewProfileCardProperty(), nil case "#microsoft.graph.profilePhoto": return NewProfilePhoto(), nil + case "#microsoft.graph.profileSource": + return NewProfileSource(), nil case "#microsoft.graph.pronounsSettings": return NewPronounsSettings(), nil case "#microsoft.graph.protectionPolicyBase": @@ -1253,6 +1263,14 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewProvisioningObjectSummary(), nil case "#microsoft.graph.publicKeyInfrastructureRoot": return NewPublicKeyInfrastructureRoot(), nil + case "#microsoft.graph.qrCode": + return NewQrCode(), nil + case "#microsoft.graph.qrCodePinAuthenticationMethod": + return NewQrCodePinAuthenticationMethod(), nil + case "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration": + return NewQrCodePinAuthenticationMethodConfiguration(), nil + case "#microsoft.graph.qrPin": + return NewQrPin(), nil case "#microsoft.graph.rbacApplication": return NewRbacApplication(), nil case "#microsoft.graph.readingAssignmentSubmission": @@ -1379,6 +1397,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSharedWithChannelTeamInfo(), nil case "#microsoft.graph.sharepoint": return NewSharepoint(), nil + case "#microsoft.graph.sharePointGroup": + return NewSharePointGroup(), nil + case "#microsoft.graph.sharePointGroupMember": + return NewSharePointGroupMember(), nil case "#microsoft.graph.sharePointMigrationEvent": return NewSharePointMigrationEvent(), nil case "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent": diff --git a/models/enumerated_scopes.go b/models/enumerated_scopes.go new file mode 100644 index 0000000000..bec80e4f7e --- /dev/null +++ b/models/enumerated_scopes.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EnumeratedScopes struct { + InheritableScopes +} +// NewEnumeratedScopes instantiates a new EnumeratedScopes and sets the default values. +func NewEnumeratedScopes()(*EnumeratedScopes) { + m := &EnumeratedScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.enumeratedScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEnumeratedScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnumeratedScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnumeratedScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnumeratedScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + res["scopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetScopes(res) + } + return nil + } + return res +} +// GetScopes gets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. +// returns a []string when successful +func (m *EnumeratedScopes) GetScopes()([]string) { + val, err := m.GetBackingStore().Get("scopes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *EnumeratedScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + if m.GetScopes() != nil { + err = writer.WriteCollectionOfStringValues("scopes", m.GetScopes()) + if err != nil { + return err + } + } + return nil +} +// SetScopes sets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. +func (m *EnumeratedScopes) SetScopes(value []string)() { + err := m.GetBackingStore().Set("scopes", value) + if err != nil { + panic(err) + } +} +type EnumeratedScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetScopes()([]string) + SetScopes(value []string)() +} diff --git a/models/error_correction_level.go b/models/error_correction_level.go new file mode 100644 index 0000000000..7492fbb86c --- /dev/null +++ b/models/error_correction_level.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ErrorCorrectionLevel int + +const ( + L_ERRORCORRECTIONLEVEL ErrorCorrectionLevel = iota + M_ERRORCORRECTIONLEVEL + Q_ERRORCORRECTIONLEVEL + H_ERRORCORRECTIONLEVEL + UNKNOWNFUTUREVALUE_ERRORCORRECTIONLEVEL +) + +func (i ErrorCorrectionLevel) String() string { + return []string{"l", "m", "q", "h", "unknownFutureValue"}[i] +} +func ParseErrorCorrectionLevel(v string) (any, error) { + result := L_ERRORCORRECTIONLEVEL + switch v { + case "l": + result = L_ERRORCORRECTIONLEVEL + case "m": + result = M_ERRORCORRECTIONLEVEL + case "q": + result = Q_ERRORCORRECTIONLEVEL + case "h": + result = H_ERRORCORRECTIONLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ERRORCORRECTIONLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeErrorCorrectionLevel(values []ErrorCorrectionLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ErrorCorrectionLevel) isMultiValue() bool { + return false +} diff --git a/models/external_authentication_method.go b/models/external_authentication_method.go index c9a4efd6e1..621b99e15f 100644 --- a/models/external_authentication_method.go +++ b/models/external_authentication_method.go @@ -36,7 +36,7 @@ func (m *ExternalAuthenticationMethod) GetConfigurationId()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Custom name given to the registered external authentication method. +// GetDisplayName gets the displayName property value. Custom name given to the registered external MFA. // returns a *string when successful func (m *ExternalAuthenticationMethod) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -101,7 +101,7 @@ func (m *ExternalAuthenticationMethod) SetConfigurationId(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. Custom name given to the registered external authentication method. +// SetDisplayName sets the displayName property value. Custom name given to the registered external MFA. func (m *ExternalAuthenticationMethod) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/external_authentication_method_configuration.go b/models/external_authentication_method_configuration.go index 111b3fcb6f..d7afb12944 100644 --- a/models/external_authentication_method_configuration.go +++ b/models/external_authentication_method_configuration.go @@ -36,7 +36,7 @@ func (m *ExternalAuthenticationMethodConfiguration) GetAppId()(*string) { } return nil } -// GetDisplayName gets the displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. +// GetDisplayName gets the displayName property value. Display name for the external MFA. This name is shown to users during sign-in. // returns a *string when successful func (m *ExternalAuthenticationMethodConfiguration) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -169,7 +169,7 @@ func (m *ExternalAuthenticationMethodConfiguration) SetAppId(value *string)() { panic(err) } } -// SetDisplayName sets the displayName property value. Display name for the external authentication method. This name is shown to users during sign-in. +// SetDisplayName sets the displayName property value. Display name for the external MFA. This name is shown to users during sign-in. func (m *ExternalAuthenticationMethodConfiguration) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/externalconnectors/content_category.go b/models/externalconnectors/content_category.go new file mode 100644 index 0000000000..1443d5d8a1 --- /dev/null +++ b/models/externalconnectors/content_category.go @@ -0,0 +1,75 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package externalconnectors +type ContentCategory int + +const ( + UNCATEGORIZED_CONTENTCATEGORY ContentCategory = iota + KNOWLEDGEBASE_CONTENTCATEGORY + WIKIS_CONTENTCATEGORY + FILEREPOSITORY_CONTENTCATEGORY + QNA_CONTENTCATEGORY + CRM_CONTENTCATEGORY + DASHBOARD_CONTENTCATEGORY + PEOPLE_CONTENTCATEGORY + MEDIA_CONTENTCATEGORY + EMAIL_CONTENTCATEGORY + MESSAGING_CONTENTCATEGORY + MEETINGTRANSCRIPTS_CONTENTCATEGORY + TASKMANAGEMENT_CONTENTCATEGORY + LEARNINGMANAGEMENT_CONTENTCATEGORY + UNKNOWNFUTUREVALUE_CONTENTCATEGORY +) + +func (i ContentCategory) String() string { + return []string{"uncategorized", "knowledgeBase", "wikis", "fileRepository", "qna", "crm", "dashboard", "people", "media", "email", "messaging", "meetingTranscripts", "taskManagement", "learningManagement", "unknownFutureValue"}[i] +} +func ParseContentCategory(v string) (any, error) { + result := UNCATEGORIZED_CONTENTCATEGORY + switch v { + case "uncategorized": + result = UNCATEGORIZED_CONTENTCATEGORY + case "knowledgeBase": + result = KNOWLEDGEBASE_CONTENTCATEGORY + case "wikis": + result = WIKIS_CONTENTCATEGORY + case "fileRepository": + result = FILEREPOSITORY_CONTENTCATEGORY + case "qna": + result = QNA_CONTENTCATEGORY + case "crm": + result = CRM_CONTENTCATEGORY + case "dashboard": + result = DASHBOARD_CONTENTCATEGORY + case "people": + result = PEOPLE_CONTENTCATEGORY + case "media": + result = MEDIA_CONTENTCATEGORY + case "email": + result = EMAIL_CONTENTCATEGORY + case "messaging": + result = MESSAGING_CONTENTCATEGORY + case "meetingTranscripts": + result = MEETINGTRANSCRIPTS_CONTENTCATEGORY + case "taskManagement": + result = TASKMANAGEMENT_CONTENTCATEGORY + case "learningManagement": + result = LEARNINGMANAGEMENT_CONTENTCATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CONTENTCATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeContentCategory(values []ContentCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ContentCategory) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/external_connection.go b/models/externalconnectors/external_connection.go index 09cc1eb1f9..f47a5b3b8e 100644 --- a/models/externalconnectors/external_connection.go +++ b/models/externalconnectors/external_connection.go @@ -59,6 +59,18 @@ func (m *ExternalConnection) GetConnectorId()(*string) { } return nil } +// GetContentCategory gets the contentCategory property value. The contentCategory property +// returns a *ContentCategory when successful +func (m *ExternalConnection) GetContentCategory()(*ContentCategory) { + val, err := m.GetBackingStore().Get("contentCategory") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ContentCategory) + } + return nil +} // GetDescription gets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional. // returns a *string when successful func (m *ExternalConnection) GetDescription()(*string) { @@ -105,6 +117,16 @@ func (m *ExternalConnection) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["contentCategory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseContentCategory) + if err != nil { + return err + } + if val != nil { + m.SetContentCategory(val.(*ContentCategory)) + } + return nil + } res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -313,6 +335,13 @@ func (m *ExternalConnection) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetContentCategory() != nil { + cast := (*m.GetContentCategory()).String() + err = writer.WriteStringValue("contentCategory", &cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("description", m.GetDescription()) if err != nil { @@ -396,6 +425,13 @@ func (m *ExternalConnection) SetConnectorId(value *string)() { panic(err) } } +// SetContentCategory sets the contentCategory property value. The contentCategory property +func (m *ExternalConnection) SetContentCategory(value *ContentCategory)() { + err := m.GetBackingStore().Set("contentCategory", value) + if err != nil { + panic(err) + } +} // SetDescription sets the description property value. Description of the connection displayed in the Microsoft 365 admin center. Optional. func (m *ExternalConnection) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) @@ -458,6 +494,7 @@ type ExternalConnectionable interface { GetActivitySettings()(ActivitySettingsable) GetConfiguration()(Configurationable) GetConnectorId()(*string) + GetContentCategory()(*ContentCategory) GetDescription()(*string) GetGroups()([]ExternalGroupable) GetItems()([]ExternalItemable) @@ -469,6 +506,7 @@ type ExternalConnectionable interface { SetActivitySettings(value ActivitySettingsable)() SetConfiguration(value Configurationable)() SetConnectorId(value *string)() + SetContentCategory(value *ContentCategory)() SetDescription(value *string)() SetGroups(value []ExternalGroupable)() SetItems(value []ExternalItemable)() diff --git a/models/externalconnectors/label.go b/models/externalconnectors/label.go index fbefca09f0..ece81c05d0 100644 --- a/models/externalconnectors/label.go +++ b/models/externalconnectors/label.go @@ -15,11 +15,49 @@ const ( FILENAME_LABEL FILEEXTENSION_LABEL UNKNOWNFUTUREVALUE_LABEL + CONTAINERNAME_LABEL + CONTAINERURL_LABEL ICONURL_LABEL + ASSIGNEDTOPEOPLE_LABEL + CLOSEDBY_LABEL + CLOSEDDATE_LABEL + PRIORITY_LABEL + SPRINTNAME_LABEL + TAGS_LABEL + SEVERITY_LABEL + STATE_LABEL + DUEDATE_LABEL + ITEMPARENTID_LABEL + ITEMPATH_LABEL + ITEMTYPE_LABEL + NUMBEROFREACTIONS_LABEL + PARENTURL_LABEL + PRIORITYNORMALIZED_LABEL + REPORTEDBY_LABEL + SECONDARYID_LABEL + PERSONEMAILS_LABEL + PERSONADDRESSES_LABEL + PERSONANNIVERSARIES_LABEL + PERSONNAME_LABEL + PERSONNOTE_LABEL + PERSONPHONES_LABEL + PERSONCURRENTPOSITION_LABEL + PERSONWEBACCOUNTS_LABEL + PERSONWEBSITE_LABEL + PERSONSKILLS_LABEL + PERSONPROJECTS_LABEL + PERSONACCOUNT_LABEL + PERSONAWARDS_LABEL + PERSONCERTIFICATIONS_LABEL + PERSONASSISTANTS_LABEL + PERSONCOLLEAGUES_LABEL + PERSONMANAGER_LABEL + PERSONALTERNATECONTACTS_LABEL + PERSONEMERGENCYCONTACTS_LABEL ) func (i Label) String() string { - return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "iconUrl"}[i] + return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "containerName", "containerUrl", "iconUrl", "assignedToPeople", "closedBy", "closedDate", "priority", "sprintName", "tags", "severity", "state", "dueDate", "itemParentId", "itemPath", "itemType", "numberOfReactions", "parentUrl", "priorityNormalized", "reportedBy", "secondaryId", "personEmails", "personAddresses", "personAnniversaries", "personName", "personNote", "personPhones", "personCurrentPosition", "personWebAccounts", "personWebSite", "personSkills", "personProjects", "personAccount", "personAwards", "personCertifications", "personAssistants", "personColleagues", "personManager", "personAlternateContacts", "personEmergencyContacts"}[i] } func ParseLabel(v string) (any, error) { result := TITLE_LABEL @@ -44,8 +82,84 @@ func ParseLabel(v string) (any, error) { result = FILEEXTENSION_LABEL case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_LABEL + case "containerName": + result = CONTAINERNAME_LABEL + case "containerUrl": + result = CONTAINERURL_LABEL case "iconUrl": result = ICONURL_LABEL + case "assignedToPeople": + result = ASSIGNEDTOPEOPLE_LABEL + case "closedBy": + result = CLOSEDBY_LABEL + case "closedDate": + result = CLOSEDDATE_LABEL + case "priority": + result = PRIORITY_LABEL + case "sprintName": + result = SPRINTNAME_LABEL + case "tags": + result = TAGS_LABEL + case "severity": + result = SEVERITY_LABEL + case "state": + result = STATE_LABEL + case "dueDate": + result = DUEDATE_LABEL + case "itemParentId": + result = ITEMPARENTID_LABEL + case "itemPath": + result = ITEMPATH_LABEL + case "itemType": + result = ITEMTYPE_LABEL + case "numberOfReactions": + result = NUMBEROFREACTIONS_LABEL + case "parentUrl": + result = PARENTURL_LABEL + case "priorityNormalized": + result = PRIORITYNORMALIZED_LABEL + case "reportedBy": + result = REPORTEDBY_LABEL + case "secondaryId": + result = SECONDARYID_LABEL + case "personEmails": + result = PERSONEMAILS_LABEL + case "personAddresses": + result = PERSONADDRESSES_LABEL + case "personAnniversaries": + result = PERSONANNIVERSARIES_LABEL + case "personName": + result = PERSONNAME_LABEL + case "personNote": + result = PERSONNOTE_LABEL + case "personPhones": + result = PERSONPHONES_LABEL + case "personCurrentPosition": + result = PERSONCURRENTPOSITION_LABEL + case "personWebAccounts": + result = PERSONWEBACCOUNTS_LABEL + case "personWebSite": + result = PERSONWEBSITE_LABEL + case "personSkills": + result = PERSONSKILLS_LABEL + case "personProjects": + result = PERSONPROJECTS_LABEL + case "personAccount": + result = PERSONACCOUNT_LABEL + case "personAwards": + result = PERSONAWARDS_LABEL + case "personCertifications": + result = PERSONCERTIFICATIONS_LABEL + case "personAssistants": + result = PERSONASSISTANTS_LABEL + case "personColleagues": + result = PERSONCOLLEAGUES_LABEL + case "personManager": + result = PERSONMANAGER_LABEL + case "personAlternateContacts": + result = PERSONALTERNATECONTACTS_LABEL + case "personEmergencyContacts": + result = PERSONEMERGENCYCONTACTS_LABEL default: return nil, nil } diff --git a/models/externalconnectors/property.go b/models/externalconnectors/property.go index 497dd3ec60..d64cff1fcb 100644 --- a/models/externalconnectors/property.go +++ b/models/externalconnectors/property.go @@ -55,6 +55,18 @@ func (m *Property) GetAliases()([]string) { func (m *Property) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetDescription gets the description property value. Specifies a human-readable description that explains the purpose, usage, or guidance related to the property. This property enhances semantic understanding by helping Copilot interpret queries and accurately map them to properties that results in more relevant and precise responses. Optional but we recommend that you use this property for queryable properties. The maximum supported length is 200 characters. +// returns a *string when successful +func (m *Property) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *Property) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -75,6 +87,16 @@ func (m *Property) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } res["isQueryable"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -211,7 +233,7 @@ func (m *Property) GetIsSearchable()(*bool) { } return nil } -// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. +// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional..The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl, assignedTo, dueDate, closedDate, closedBy, reportedBy, sprintName, severity, state, priority, secondaryId, itemParentId, parentUrl, tags, itemType, itemPath, numReactions. Use the Prefer: include-unknown-enum-members request header to retrieve additional values defined in this evolvable enum,For People Connectors you can include : personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. // returns a []Label when successful func (m *Property) GetLabels()([]Label) { val, err := m.GetBackingStore().Get("labels") @@ -267,6 +289,12 @@ func (m *Property) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + { + err := writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } { err := writer.WriteBoolValue("isQueryable", m.GetIsQueryable()) if err != nil { @@ -342,6 +370,13 @@ func (m *Property) SetAliases(value []string)() { func (m *Property) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetDescription sets the description property value. Specifies a human-readable description that explains the purpose, usage, or guidance related to the property. This property enhances semantic understanding by helping Copilot interpret queries and accurately map them to properties that results in more relevant and precise responses. Optional but we recommend that you use this property for queryable properties. The maximum supported length is 200 characters. +func (m *Property) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} // SetIsQueryable sets the isQueryable property value. Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. func (m *Property) SetIsQueryable(value *bool)() { err := m.GetBackingStore().Set("isQueryable", value) @@ -370,7 +405,7 @@ func (m *Property) SetIsSearchable(value *bool)() { panic(err) } } -// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. +// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional..The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, containerName, containerUrl, iconUrl, assignedTo, dueDate, closedDate, closedBy, reportedBy, sprintName, severity, state, priority, secondaryId, itemParentId, parentUrl, tags, itemType, itemPath, numReactions. Use the Prefer: include-unknown-enum-members request header to retrieve additional values defined in this evolvable enum,For People Connectors you can include : personEmails, personAddresses, personAnniversaries, personName, personNote, personPhones, personCurrentPosition, personWebAccounts, personWebSite, personSkills, personProjects, personAccount, personAwards, personCertifications, personAssistants, personColleagues, personManager, personAlternateContacts, personEmergencyContacts. func (m *Property) SetLabels(value []Label)() { err := m.GetBackingStore().Set("labels", value) if err != nil { @@ -404,6 +439,7 @@ type Propertyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAliases()([]string) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDescription()(*string) GetIsQueryable()(*bool) GetIsRefinable()(*bool) GetIsRetrievable()(*bool) @@ -414,6 +450,7 @@ type Propertyable interface { GetTypeEscaped()(*PropertyType) SetAliases(value []string)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDescription(value *string)() SetIsQueryable(value *bool)() SetIsRefinable(value *bool)() SetIsRetrievable(value *bool)() diff --git a/models/externalconnectors/property_type.go b/models/externalconnectors/property_type.go index 385bbee406..926f2197d4 100644 --- a/models/externalconnectors/property_type.go +++ b/models/externalconnectors/property_type.go @@ -15,10 +15,12 @@ const ( DOUBLECOLLECTION_PROPERTYTYPE DATETIMECOLLECTION_PROPERTYTYPE UNKNOWNFUTUREVALUE_PROPERTYTYPE + PRINCIPAL_PROPERTYTYPE + PRINCIPALCOLLECTION_PROPERTYTYPE ) func (i PropertyType) String() string { - return []string{"string", "int64", "double", "dateTime", "boolean", "stringCollection", "int64Collection", "doubleCollection", "dateTimeCollection", "unknownFutureValue"}[i] + return []string{"string", "int64", "double", "dateTime", "boolean", "stringCollection", "int64Collection", "doubleCollection", "dateTimeCollection", "unknownFutureValue", "principal", "principalCollection"}[i] } func ParsePropertyType(v string) (any, error) { result := STRING_PROPERTYTYPE @@ -43,6 +45,10 @@ func ParsePropertyType(v string) (any, error) { result = DATETIMECOLLECTION_PROPERTYTYPE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_PROPERTYTYPE + case "principal": + result = PRINCIPAL_PROPERTYTYPE + case "principalCollection": + result = PRINCIPALCOLLECTION_PROPERTYTYPE default: return nil, nil } diff --git a/models/file_storage_container.go b/models/file_storage_container.go index 9b8f6758f9..114582a673 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -36,7 +36,7 @@ func (m *FileStorageContainer) GetAssignedSensitivityLabel()(AssignedLabelable) } return nil } -// GetColumns gets the columns property value. The columns property +// GetColumns gets the columns property value. The set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a []ColumnDefinitionable when successful func (m *FileStorageContainer) GetColumns()([]ColumnDefinitionable) { val, err := m.GetBackingStore().Get("columns") @@ -272,6 +272,22 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["sharePointGroups"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointGroupable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointGroupable) + } + } + m.SetSharePointGroups(res) + } + return nil + } res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseFileStorageContainerStatus) if err != nil { @@ -354,6 +370,18 @@ func (m *FileStorageContainer) GetSettings()(FileStorageContainerSettingsable) { } return nil } +// GetSharePointGroups gets the sharePointGroups property value. The sharePointGroups property +// returns a []SharePointGroupable when successful +func (m *FileStorageContainer) GetSharePointGroups()([]SharePointGroupable) { + val, err := m.GetBackingStore().Get("sharePointGroups") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointGroupable) + } + return nil +} // GetStatus gets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. // returns a *FileStorageContainerStatus when successful func (m *FileStorageContainer) GetStatus()(*FileStorageContainerStatus) { @@ -481,6 +509,18 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetSharePointGroups() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSharePointGroups())) + for i, v := range m.GetSharePointGroups() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sharePointGroups", cast) + if err != nil { + return err + } + } if m.GetStatus() != nil { cast := (*m.GetStatus()).String() err = writer.WriteStringValue("status", &cast) @@ -503,7 +543,7 @@ func (m *FileStorageContainer) SetAssignedSensitivityLabel(value AssignedLabelab panic(err) } } -// SetColumns sets the columns property value. The columns property +// SetColumns sets the columns property value. The set of custom structured metadata supported by the fileStorageContainer. Read-write. func (m *FileStorageContainer) SetColumns(value []ColumnDefinitionable)() { err := m.GetBackingStore().Set("columns", value) if err != nil { @@ -587,6 +627,13 @@ func (m *FileStorageContainer) SetSettings(value FileStorageContainerSettingsabl panic(err) } } +// SetSharePointGroups sets the sharePointGroups property value. The sharePointGroups property +func (m *FileStorageContainer) SetSharePointGroups(value []SharePointGroupable)() { + err := m.GetBackingStore().Set("sharePointGroups", value) + if err != nil { + panic(err) + } +} // SetStatus sets the status property value. Status of the fileStorageContainer. Containers are created as inactive and require activation. Inactive containers are subjected to automatic deletion in 24 hours. The possible values are: inactive, active. Read-only. func (m *FileStorageContainer) SetStatus(value *FileStorageContainerStatus)() { err := m.GetBackingStore().Set("status", value) @@ -617,6 +664,7 @@ type FileStorageContainerable interface { GetPermissions()([]Permissionable) GetRecycleBin()(RecycleBinable) GetSettings()(FileStorageContainerSettingsable) + GetSharePointGroups()([]SharePointGroupable) GetStatus()(*FileStorageContainerStatus) GetViewpoint()(FileStorageContainerViewpointable) SetAssignedSensitivityLabel(value AssignedLabelable)() @@ -632,6 +680,7 @@ type FileStorageContainerable interface { SetPermissions(value []Permissionable)() SetRecycleBin(value RecycleBinable)() SetSettings(value FileStorageContainerSettingsable)() + SetSharePointGroups(value []SharePointGroupable)() SetStatus(value *FileStorageContainerStatus)() SetViewpoint(value FileStorageContainerViewpointable)() } diff --git a/models/group.go b/models/group.go index 66db131677..d5113560a6 100644 --- a/models/group.go +++ b/models/group.go @@ -1136,6 +1136,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["welcomeMessageEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetWelcomeMessageEnabled(val) + } + return nil + } return res } // GetGroupLifecyclePolicies gets the groupLifecyclePolicies property value. The collection of lifecycle policies for this group. Read-only. Nullable. @@ -1762,6 +1772,18 @@ func (m *Group) GetVisibility()(*string) { } return nil } +// GetWelcomeMessageEnabled gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +// returns a *bool when successful +func (m *Group) GetWelcomeMessageEnabled()(*bool) { + val, err := m.GetBackingStore().Get("welcomeMessageEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // Serialize serializes information the current object func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.DirectoryObject.Serialize(writer) @@ -2338,6 +2360,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("welcomeMessageEnabled", m.GetWelcomeMessageEnabled()) + if err != nil { + return err + } + } return nil } // SetAcceptedSenders sets the acceptedSenders property value. The list of users or groups allowed to create posts or calendar events in this group. If this list is nonempty, then only users or groups listed here are allowed to post. @@ -2837,6 +2865,13 @@ func (m *Group) SetVisibility(value *string)() { panic(err) } } +// SetWelcomeMessageEnabled sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +func (m *Group) SetWelcomeMessageEnabled(value *bool)() { + err := m.GetBackingStore().Set("welcomeMessageEnabled", value) + if err != nil { + panic(err) + } +} type Groupable interface { DirectoryObjectable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -2911,6 +2946,7 @@ type Groupable interface { GetUniqueName()(*string) GetUnseenCount()(*int32) GetVisibility()(*string) + GetWelcomeMessageEnabled()(*bool) SetAcceptedSenders(value []DirectoryObjectable)() SetAllowExternalSenders(value *bool)() SetAppRoleAssignments(value []AppRoleAssignmentable)() @@ -2982,4 +3018,5 @@ type Groupable interface { SetUniqueName(value *string)() SetUnseenCount(value *int32)() SetVisibility(value *string)() + SetWelcomeMessageEnabled(value *bool)() } diff --git a/models/identity.go b/models/identity.go index 69ac689136..e8fbc34ceb 100644 --- a/models/identity.go +++ b/models/identity.go @@ -61,6 +61,8 @@ func CreateIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f4 return NewProvisioningSystem(), nil case "#microsoft.graph.servicePrincipalIdentity": return NewServicePrincipalIdentity(), nil + case "#microsoft.graph.sharePointGroupIdentity": + return NewSharePointGroupIdentity(), nil case "#microsoft.graph.sharePointIdentity": return NewSharePointIdentity(), nil case "#microsoft.graph.teamworkApplicationIdentity": diff --git a/models/identitygovernance/workflow_base.go b/models/identitygovernance/workflow_base.go index 9c18466e43..871b9bccb0 100644 --- a/models/identitygovernance/workflow_base.go +++ b/models/identitygovernance/workflow_base.go @@ -60,7 +60,7 @@ func (m *WorkflowBase) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetAdministrationScopeTargets gets the administrationScopeTargets property value. The administrationScopeTargets property +// GetAdministrationScopeTargets gets the administrationScopeTargets property value. The administrative units in the scope of the workflow. Optional. Supports $expand. // returns a []DirectoryObjectable when successful func (m *WorkflowBase) GetAdministrationScopeTargets()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable) { val, err := m.GetBackingStore().Get("administrationScopeTargets") @@ -477,7 +477,7 @@ func (m *WorkflowBase) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetAdministrationScopeTargets sets the administrationScopeTargets property value. The administrationScopeTargets property +// SetAdministrationScopeTargets sets the administrationScopeTargets property value. The administrative units in the scope of the workflow. Optional. Supports $expand. func (m *WorkflowBase) SetAdministrationScopeTargets(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable)() { err := m.GetBackingStore().Set("administrationScopeTargets", value) if err != nil { diff --git a/models/include_target.go b/models/include_target.go new file mode 100644 index 0000000000..2b58442679 --- /dev/null +++ b/models/include_target.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type IncludeTarget struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIncludeTarget instantiates a new IncludeTarget and sets the default values. +func NewIncludeTarget()(*IncludeTarget) { + m := &IncludeTarget{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIncludeTargetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIncludeTargetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIncludeTarget(), nil +} +// 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 (m *IncludeTarget) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *IncludeTarget) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IncludeTarget) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["id"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["targetType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAuthenticationMethodTargetType) + if err != nil { + return err + } + if val != nil { + m.SetTargetType(val.(*AuthenticationMethodTargetType)) + } + return nil + } + return res +} +// GetId gets the id property value. The id property +// returns a *string when successful +func (m *IncludeTarget) GetId()(*string) { + val, err := m.GetBackingStore().Get("id") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *IncludeTarget) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTargetType gets the targetType property value. The targetType property +// returns a *AuthenticationMethodTargetType when successful +func (m *IncludeTarget) GetTargetType()(*AuthenticationMethodTargetType) { + val, err := m.GetBackingStore().Get("targetType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AuthenticationMethodTargetType) + } + return nil +} +// Serialize serializes information the current object +func (m *IncludeTarget) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("id", m.GetId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetTargetType() != nil { + cast := (*m.GetTargetType()).String() + err := writer.WriteStringValue("targetType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IncludeTarget) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *IncludeTarget) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetId sets the id property value. The id property +func (m *IncludeTarget) SetId(value *string)() { + err := m.GetBackingStore().Set("id", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *IncludeTarget) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTargetType sets the targetType property value. The targetType property +func (m *IncludeTarget) SetTargetType(value *AuthenticationMethodTargetType)() { + err := m.GetBackingStore().Set("targetType", value) + if err != nil { + panic(err) + } +} +type IncludeTargetable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetId()(*string) + GetOdataType()(*string) + GetTargetType()(*AuthenticationMethodTargetType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetId(value *string)() + SetOdataType(value *string)() + SetTargetType(value *AuthenticationMethodTargetType)() +} diff --git a/models/inheritable_permission.go b/models/inheritable_permission.go new file mode 100644 index 0000000000..ddc1a8dcf2 --- /dev/null +++ b/models/inheritable_permission.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InheritablePermission struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInheritablePermission instantiates a new InheritablePermission and sets the default values. +func NewInheritablePermission()(*InheritablePermission) { + m := &InheritablePermission{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInheritablePermissionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInheritablePermissionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewInheritablePermission(), nil +} +// 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 (m *InheritablePermission) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *InheritablePermission) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *InheritablePermission) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["inheritableScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateInheritableScopesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInheritableScopes(val.(InheritableScopesable)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["resourceAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceAppId(val) + } + return nil + } + return res +} +// GetInheritableScopes gets the inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. +// returns a InheritableScopesable when successful +func (m *InheritablePermission) GetInheritableScopes()(InheritableScopesable) { + val, err := m.GetBackingStore().Get("inheritableScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.(InheritableScopesable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InheritablePermission) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResourceAppId gets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. +// returns a *string when successful +func (m *InheritablePermission) GetResourceAppId()(*string) { + val, err := m.GetBackingStore().Get("resourceAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *InheritablePermission) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("inheritableScopes", m.GetInheritableScopes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("resourceAppId", m.GetResourceAppId()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InheritablePermission) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *InheritablePermission) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetInheritableScopes sets the inheritableScopes property value. Inheritance configuration for delegated permission scopes published by the resource application. Supports three patterns: allAllowedScopes (inherit all available scopes), enumeratedScopes (inherit only the listed scopes), and noScopes (inherit none). Each pattern exposes a kind discriminator for filtering. +func (m *InheritablePermission) SetInheritableScopes(value InheritableScopesable)() { + err := m.GetBackingStore().Set("inheritableScopes", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InheritablePermission) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetResourceAppId sets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. +func (m *InheritablePermission) SetResourceAppId(value *string)() { + err := m.GetBackingStore().Set("resourceAppId", value) + if err != nil { + panic(err) + } +} +type InheritablePermissionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetInheritableScopes()(InheritableScopesable) + GetOdataType()(*string) + GetResourceAppId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetInheritableScopes(value InheritableScopesable)() + SetOdataType(value *string)() + SetResourceAppId(value *string)() +} diff --git a/models/inheritable_scopes.go b/models/inheritable_scopes.go new file mode 100644 index 0000000000..a3157a5f66 --- /dev/null +++ b/models/inheritable_scopes.go @@ -0,0 +1,176 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InheritableScopes struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInheritableScopes instantiates a new InheritableScopes and sets the default values. +func NewInheritableScopes()(*InheritableScopes) { + m := &InheritableScopes{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInheritableScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInheritableScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.allAllowedScopes": + return NewAllAllowedScopes(), nil + case "#microsoft.graph.enumeratedScopes": + return NewEnumeratedScopes(), nil + case "#microsoft.graph.noScopes": + return NewNoScopes(), nil + } + } + } + } + return NewInheritableScopes(), nil +} +// 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 (m *InheritableScopes) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *InheritableScopes) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *InheritableScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseScopeCollectionKind) + if err != nil { + return err + } + if val != nil { + m.SetKind(val.(*ScopeCollectionKind)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetKind gets the kind property value. The kind property +// returns a *ScopeCollectionKind when successful +func (m *InheritableScopes) GetKind()(*ScopeCollectionKind) { + val, err := m.GetBackingStore().Get("kind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ScopeCollectionKind) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InheritableScopes) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *InheritableScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetKind() != nil { + cast := (*m.GetKind()).String() + err := writer.WriteStringValue("kind", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InheritableScopes) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *InheritableScopes) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetKind sets the kind property value. The kind property +func (m *InheritableScopes) SetKind(value *ScopeCollectionKind)() { + err := m.GetBackingStore().Set("kind", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InheritableScopes) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type InheritableScopesable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetKind()(*ScopeCollectionKind) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetKind(value *ScopeCollectionKind)() + SetOdataType(value *string)() +} diff --git a/models/no_scopes.go b/models/no_scopes.go new file mode 100644 index 0000000000..a9fac95bf1 --- /dev/null +++ b/models/no_scopes.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type NoScopes struct { + InheritableScopes +} +// NewNoScopes instantiates a new NoScopes and sets the default values. +func NewNoScopes()(*NoScopes) { + m := &NoScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.noScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateNoScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNoScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNoScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NoScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *NoScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + return nil +} +type NoScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/people_admin_settings.go b/models/people_admin_settings.go index b9cbba37da..60a0f09fbe 100644 --- a/models/people_admin_settings.go +++ b/models/people_admin_settings.go @@ -52,6 +52,22 @@ func (m *PeopleAdminSettings) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } + res["profileSources"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProfileSourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProfileSourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProfileSourceable) + } + } + m.SetProfileSources(res) + } + return nil + } res["pronouns"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreatePronounsSettingsFromDiscriminatorValue) if err != nil { @@ -88,6 +104,18 @@ func (m *PeopleAdminSettings) GetProfileCardProperties()([]ProfileCardPropertyab } return nil } +// GetProfileSources gets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. +// returns a []ProfileSourceable when successful +func (m *PeopleAdminSettings) GetProfileSources()([]ProfileSourceable) { + val, err := m.GetBackingStore().Get("profileSources") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProfileSourceable) + } + return nil +} // GetPronouns gets the pronouns property value. Represents administrator settings that manage the support of pronouns in an organization. // returns a PronounsSettingsable when successful func (m *PeopleAdminSettings) GetPronouns()(PronounsSettingsable) { @@ -124,6 +152,18 @@ func (m *PeopleAdminSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } + if m.GetProfileSources() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProfileSources())) + for i, v := range m.GetProfileSources() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("profileSources", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("pronouns", m.GetPronouns()) if err != nil { @@ -146,6 +186,13 @@ func (m *PeopleAdminSettings) SetProfileCardProperties(value []ProfileCardProper panic(err) } } +// SetProfileSources sets the profileSources property value. A collection of profile source settings configured by an administrator in an organization. +func (m *PeopleAdminSettings) SetProfileSources(value []ProfileSourceable)() { + err := m.GetBackingStore().Set("profileSources", value) + if err != nil { + panic(err) + } +} // SetPronouns sets the pronouns property value. Represents administrator settings that manage the support of pronouns in an organization. func (m *PeopleAdminSettings) SetPronouns(value PronounsSettingsable)() { err := m.GetBackingStore().Set("pronouns", value) @@ -158,8 +205,10 @@ type PeopleAdminSettingsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemInsights()(InsightsSettingsable) GetProfileCardProperties()([]ProfileCardPropertyable) + GetProfileSources()([]ProfileSourceable) GetPronouns()(PronounsSettingsable) SetItemInsights(value InsightsSettingsable)() SetProfileCardProperties(value []ProfileCardPropertyable)() + SetProfileSources(value []ProfileSourceable)() SetPronouns(value PronounsSettingsable)() } diff --git a/models/profile_source.go b/models/profile_source.go new file mode 100644 index 0000000000..70d15a8c1e --- /dev/null +++ b/models/profile_source.go @@ -0,0 +1,239 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProfileSource struct { + Entity +} +// NewProfileSource instantiates a new ProfileSource and sets the default values. +func NewProfileSource()(*ProfileSource) { + m := &ProfileSource{ + Entity: *NewEntity(), + } + return m +} +// CreateProfileSourceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProfileSourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProfileSource(), nil +} +// GetDisplayName gets the displayName property value. Name of the profile source intended to inform users about the profile source name. +// returns a *string when successful +func (m *ProfileSource) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProfileSource) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetKind(val) + } + return nil + } + res["localizations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProfileSourceLocalizationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProfileSourceLocalizationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProfileSourceLocalizationable) + } + } + m.SetLocalizations(res) + } + return nil + } + res["sourceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSourceId(val) + } + return nil + } + res["webUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWebUrl(val) + } + return nil + } + return res +} +// GetKind gets the kind property value. Type of the profile source. +// returns a *string when successful +func (m *ProfileSource) GetKind()(*string) { + val, err := m.GetBackingStore().Get("kind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLocalizations gets the localizations property value. Alternative localized labels specified by an administrator. +// returns a []ProfileSourceLocalizationable when successful +func (m *ProfileSource) GetLocalizations()([]ProfileSourceLocalizationable) { + val, err := m.GetBackingStore().Get("localizations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProfileSourceLocalizationable) + } + return nil +} +// GetSourceId gets the sourceId property value. Profile source identifier used as an alternate key. +// returns a *string when successful +func (m *ProfileSource) GetSourceId()(*string) { + val, err := m.GetBackingStore().Get("sourceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWebUrl gets the webUrl property value. Web URL of the profile source that directs users to the page view of the profile data. +// returns a *string when successful +func (m *ProfileSource) GetWebUrl()(*string) { + val, err := m.GetBackingStore().Get("webUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ProfileSource) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("kind", m.GetKind()) + if err != nil { + return err + } + } + if m.GetLocalizations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLocalizations())) + for i, v := range m.GetLocalizations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("localizations", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("sourceId", m.GetSourceId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("webUrl", m.GetWebUrl()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. Name of the profile source intended to inform users about the profile source name. +func (m *ProfileSource) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetKind sets the kind property value. Type of the profile source. +func (m *ProfileSource) SetKind(value *string)() { + err := m.GetBackingStore().Set("kind", value) + if err != nil { + panic(err) + } +} +// SetLocalizations sets the localizations property value. Alternative localized labels specified by an administrator. +func (m *ProfileSource) SetLocalizations(value []ProfileSourceLocalizationable)() { + err := m.GetBackingStore().Set("localizations", value) + if err != nil { + panic(err) + } +} +// SetSourceId sets the sourceId property value. Profile source identifier used as an alternate key. +func (m *ProfileSource) SetSourceId(value *string)() { + err := m.GetBackingStore().Set("sourceId", value) + if err != nil { + panic(err) + } +} +// SetWebUrl sets the webUrl property value. Web URL of the profile source that directs users to the page view of the profile data. +func (m *ProfileSource) SetWebUrl(value *string)() { + err := m.GetBackingStore().Set("webUrl", value) + if err != nil { + panic(err) + } +} +type ProfileSourceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + GetKind()(*string) + GetLocalizations()([]ProfileSourceLocalizationable) + GetSourceId()(*string) + GetWebUrl()(*string) + SetDisplayName(value *string)() + SetKind(value *string)() + SetLocalizations(value []ProfileSourceLocalizationable)() + SetSourceId(value *string)() + SetWebUrl(value *string)() +} diff --git a/models/profile_source_collection_response.go b/models/profile_source_collection_response.go new file mode 100644 index 0000000000..1cfa35dbd4 --- /dev/null +++ b/models/profile_source_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ProfileSourceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewProfileSourceCollectionResponse instantiates a new ProfileSourceCollectionResponse and sets the default values. +func NewProfileSourceCollectionResponse()(*ProfileSourceCollectionResponse) { + m := &ProfileSourceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateProfileSourceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProfileSourceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProfileSourceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProfileSourceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProfileSourceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProfileSourceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProfileSourceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ProfileSourceable when successful +func (m *ProfileSourceCollectionResponse) GetValue()([]ProfileSourceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProfileSourceable) + } + return nil +} +// Serialize serializes information the current object +func (m *ProfileSourceCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *ProfileSourceCollectionResponse) SetValue(value []ProfileSourceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ProfileSourceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ProfileSourceable) + SetValue(value []ProfileSourceable)() +} diff --git a/models/profile_source_localization.go b/models/profile_source_localization.go new file mode 100644 index 0000000000..9d1e74a49e --- /dev/null +++ b/models/profile_source_localization.go @@ -0,0 +1,227 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ProfileSourceLocalization struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewProfileSourceLocalization instantiates a new ProfileSourceLocalization and sets the default values. +func NewProfileSourceLocalization()(*ProfileSourceLocalization) { + m := &ProfileSourceLocalization{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateProfileSourceLocalizationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateProfileSourceLocalizationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewProfileSourceLocalization(), nil +} +// 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 (m *ProfileSourceLocalization) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ProfileSourceLocalization) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDisplayName gets the displayName property value. Localized display name. +// returns a *string when successful +func (m *ProfileSourceLocalization) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ProfileSourceLocalization) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["languageTag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLanguageTag(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["webUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWebUrl(val) + } + return nil + } + return res +} +// GetLanguageTag gets the languageTag property value. Language locale. +// returns a *string when successful +func (m *ProfileSourceLocalization) GetLanguageTag()(*string) { + val, err := m.GetBackingStore().Get("languageTag") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ProfileSourceLocalization) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWebUrl gets the webUrl property value. Localized profile source URL. +// returns a *string when successful +func (m *ProfileSourceLocalization) GetWebUrl()(*string) { + val, err := m.GetBackingStore().Get("webUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ProfileSourceLocalization) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("languageTag", m.GetLanguageTag()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("webUrl", m.GetWebUrl()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ProfileSourceLocalization) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ProfileSourceLocalization) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDisplayName sets the displayName property value. Localized display name. +func (m *ProfileSourceLocalization) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetLanguageTag sets the languageTag property value. Language locale. +func (m *ProfileSourceLocalization) SetLanguageTag(value *string)() { + err := m.GetBackingStore().Set("languageTag", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ProfileSourceLocalization) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetWebUrl sets the webUrl property value. Localized profile source URL. +func (m *ProfileSourceLocalization) SetWebUrl(value *string)() { + err := m.GetBackingStore().Set("webUrl", value) + if err != nil { + panic(err) + } +} +type ProfileSourceLocalizationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDisplayName()(*string) + GetLanguageTag()(*string) + GetOdataType()(*string) + GetWebUrl()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDisplayName(value *string)() + SetLanguageTag(value *string)() + SetOdataType(value *string)() + SetWebUrl(value *string)() +} diff --git a/models/qr_code.go b/models/qr_code.go new file mode 100644 index 0000000000..cb809eced0 --- /dev/null +++ b/models/qr_code.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QrCode struct { + Entity +} +// NewQrCode instantiates a new QrCode and sets the default values. +func NewQrCode()(*QrCode) { + m := &QrCode{ + Entity: *NewEntity(), + } + return m +} +// CreateQrCodeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQrCodeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQrCode(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the QR code was created. Read-only. +// returns a *Time when successful +func (m *QrCode) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetExpireDateTime gets the expireDateTime property value. The date and time when the QR code expires. For standard QR codes, the lifetime is in days with a maximum of 395 days (13 months) and a default of 365 days. For temporary QR codes, the lifetime must be between 1-12 hours. The expireDateTime can be edited for standard QR codes but not for temporary QR codes. +// returns a *Time when successful +func (m *QrCode) GetExpireDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("expireDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QrCode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["expireDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetExpireDateTime(val) + } + return nil + } + res["image"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQrCodeImageDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetImage(val.(QrCodeImageDetailsable)) + } + return nil + } + res["lastUsedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastUsedDateTime(val) + } + return nil + } + res["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetStartDateTime(val) + } + return nil + } + return res +} +// GetImage gets the image property value. The QR code image data. This property is only returned at the time of creating or resetting the QR code because the private key isn't stored on the server. +// returns a QrCodeImageDetailsable when successful +func (m *QrCode) GetImage()(QrCodeImageDetailsable) { + val, err := m.GetBackingStore().Get("image") + if err != nil { + panic(err) + } + if val != nil { + return val.(QrCodeImageDetailsable) + } + return nil +} +// GetLastUsedDateTime gets the lastUsedDateTime property value. The date and time when the QR code was last successfully used for authentication. Read-only. +// returns a *Time when successful +func (m *QrCode) GetLastUsedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastUsedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStartDateTime gets the startDateTime property value. The date and time when the QR code becomes available for use. +// returns a *Time when successful +func (m *QrCode) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("startDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *QrCode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("expireDateTime", m.GetExpireDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("image", m.GetImage()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastUsedDateTime", m.GetLastUsedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("startDateTime", m.GetStartDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the QR code was created. Read-only. +func (m *QrCode) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetExpireDateTime sets the expireDateTime property value. The date and time when the QR code expires. For standard QR codes, the lifetime is in days with a maximum of 395 days (13 months) and a default of 365 days. For temporary QR codes, the lifetime must be between 1-12 hours. The expireDateTime can be edited for standard QR codes but not for temporary QR codes. +func (m *QrCode) SetExpireDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("expireDateTime", value) + if err != nil { + panic(err) + } +} +// SetImage sets the image property value. The QR code image data. This property is only returned at the time of creating or resetting the QR code because the private key isn't stored on the server. +func (m *QrCode) SetImage(value QrCodeImageDetailsable)() { + err := m.GetBackingStore().Set("image", value) + if err != nil { + panic(err) + } +} +// SetLastUsedDateTime sets the lastUsedDateTime property value. The date and time when the QR code was last successfully used for authentication. Read-only. +func (m *QrCode) SetLastUsedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastUsedDateTime", value) + if err != nil { + panic(err) + } +} +// SetStartDateTime sets the startDateTime property value. The date and time when the QR code becomes available for use. +func (m *QrCode) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("startDateTime", value) + if err != nil { + panic(err) + } +} +type QrCodeable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetExpireDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetImage()(QrCodeImageDetailsable) + GetLastUsedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetExpireDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetImage(value QrCodeImageDetailsable)() + SetLastUsedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/qr_code_image_details.go b/models/qr_code_image_details.go new file mode 100644 index 0000000000..730bd8b11a --- /dev/null +++ b/models/qr_code_image_details.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type QrCodeImageDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewQrCodeImageDetails instantiates a new QrCodeImageDetails and sets the default values. +func NewQrCodeImageDetails()(*QrCodeImageDetails) { + m := &QrCodeImageDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateQrCodeImageDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQrCodeImageDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQrCodeImageDetails(), nil +} +// 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 (m *QrCodeImageDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *QrCodeImageDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBinaryValue gets the binaryValue property value. The binary representation of the QR code image. +// returns a []byte when successful +func (m *QrCodeImageDetails) GetBinaryValue()([]byte) { + val, err := m.GetBackingStore().Get("binaryValue") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} +// GetErrorCorrectionLevel gets the errorCorrectionLevel property value. The error correction level of the QR code, which determines how much of the QR code can be damaged while still being readable. The possible values are: l, m, q, h, unknownFutureValue. +// returns a *ErrorCorrectionLevel when successful +func (m *QrCodeImageDetails) GetErrorCorrectionLevel()(*ErrorCorrectionLevel) { + val, err := m.GetBackingStore().Get("errorCorrectionLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ErrorCorrectionLevel) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QrCodeImageDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["binaryValue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetBinaryValue(val) + } + return nil + } + res["errorCorrectionLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseErrorCorrectionLevel) + if err != nil { + return err + } + if val != nil { + m.SetErrorCorrectionLevel(val.(*ErrorCorrectionLevel)) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["rawContent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetRawContent(val) + } + return nil + } + res["version"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetVersion(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *QrCodeImageDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRawContent gets the rawContent property value. The raw encoded content embedded in the QR code. +// returns a []byte when successful +func (m *QrCodeImageDetails) GetRawContent()([]byte) { + val, err := m.GetBackingStore().Get("rawContent") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} +// GetVersion gets the version property value. The version number of the QR code, which determines its size and data capacity. +// returns a *int32 when successful +func (m *QrCodeImageDetails) GetVersion()(*int32) { + val, err := m.GetBackingStore().Get("version") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *QrCodeImageDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteByteArrayValue("binaryValue", m.GetBinaryValue()) + if err != nil { + return err + } + } + if m.GetErrorCorrectionLevel() != nil { + cast := (*m.GetErrorCorrectionLevel()).String() + err := writer.WriteStringValue("errorCorrectionLevel", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteByteArrayValue("rawContent", m.GetRawContent()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("version", m.GetVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *QrCodeImageDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *QrCodeImageDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBinaryValue sets the binaryValue property value. The binary representation of the QR code image. +func (m *QrCodeImageDetails) SetBinaryValue(value []byte)() { + err := m.GetBackingStore().Set("binaryValue", value) + if err != nil { + panic(err) + } +} +// SetErrorCorrectionLevel sets the errorCorrectionLevel property value. The error correction level of the QR code, which determines how much of the QR code can be damaged while still being readable. The possible values are: l, m, q, h, unknownFutureValue. +func (m *QrCodeImageDetails) SetErrorCorrectionLevel(value *ErrorCorrectionLevel)() { + err := m.GetBackingStore().Set("errorCorrectionLevel", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *QrCodeImageDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRawContent sets the rawContent property value. The raw encoded content embedded in the QR code. +func (m *QrCodeImageDetails) SetRawContent(value []byte)() { + err := m.GetBackingStore().Set("rawContent", value) + if err != nil { + panic(err) + } +} +// SetVersion sets the version property value. The version number of the QR code, which determines its size and data capacity. +func (m *QrCodeImageDetails) SetVersion(value *int32)() { + err := m.GetBackingStore().Set("version", value) + if err != nil { + panic(err) + } +} +type QrCodeImageDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBinaryValue()([]byte) + GetErrorCorrectionLevel()(*ErrorCorrectionLevel) + GetOdataType()(*string) + GetRawContent()([]byte) + GetVersion()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBinaryValue(value []byte)() + SetErrorCorrectionLevel(value *ErrorCorrectionLevel)() + SetOdataType(value *string)() + SetRawContent(value []byte)() + SetVersion(value *int32)() +} diff --git a/models/qr_code_pin_authentication_method.go b/models/qr_code_pin_authentication_method.go new file mode 100644 index 0000000000..190ee8771a --- /dev/null +++ b/models/qr_code_pin_authentication_method.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QrCodePinAuthenticationMethod struct { + AuthenticationMethod +} +// NewQrCodePinAuthenticationMethod instantiates a new QrCodePinAuthenticationMethod and sets the default values. +func NewQrCodePinAuthenticationMethod()(*QrCodePinAuthenticationMethod) { + m := &QrCodePinAuthenticationMethod{ + AuthenticationMethod: *NewAuthenticationMethod(), + } + odataTypeValue := "#microsoft.graph.qrCodePinAuthenticationMethod" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateQrCodePinAuthenticationMethodFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQrCodePinAuthenticationMethodFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQrCodePinAuthenticationMethod(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QrCodePinAuthenticationMethod) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethod.GetFieldDeserializers() + res["pin"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQrPinFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPin(val.(QrPinable)) + } + return nil + } + res["standardQRCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQrCodeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStandardQRCode(val.(QrCodeable)) + } + return nil + } + res["temporaryQRCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateQrCodeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTemporaryQRCode(val.(QrCodeable)) + } + return nil + } + return res +} +// GetPin gets the pin property value. The PIN associated with this QR code authentication method. +// returns a QrPinable when successful +func (m *QrCodePinAuthenticationMethod) GetPin()(QrPinable) { + val, err := m.GetBackingStore().Get("pin") + if err != nil { + panic(err) + } + if val != nil { + return val.(QrPinable) + } + return nil +} +// GetStandardQRCode gets the standardQRCode property value. The standard (long-lived) QR code credential, typically printed on a user's badge. +// returns a QrCodeable when successful +func (m *QrCodePinAuthenticationMethod) GetStandardQRCode()(QrCodeable) { + val, err := m.GetBackingStore().Get("standardQRCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(QrCodeable) + } + return nil +} +// GetTemporaryQRCode gets the temporaryQRCode property value. A temporary (short-lived) QR code credential, created when a user forgets their badge. +// returns a QrCodeable when successful +func (m *QrCodePinAuthenticationMethod) GetTemporaryQRCode()(QrCodeable) { + val, err := m.GetBackingStore().Get("temporaryQRCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(QrCodeable) + } + return nil +} +// Serialize serializes information the current object +func (m *QrCodePinAuthenticationMethod) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethod.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("pin", m.GetPin()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("standardQRCode", m.GetStandardQRCode()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("temporaryQRCode", m.GetTemporaryQRCode()) + if err != nil { + return err + } + } + return nil +} +// SetPin sets the pin property value. The PIN associated with this QR code authentication method. +func (m *QrCodePinAuthenticationMethod) SetPin(value QrPinable)() { + err := m.GetBackingStore().Set("pin", value) + if err != nil { + panic(err) + } +} +// SetStandardQRCode sets the standardQRCode property value. The standard (long-lived) QR code credential, typically printed on a user's badge. +func (m *QrCodePinAuthenticationMethod) SetStandardQRCode(value QrCodeable)() { + err := m.GetBackingStore().Set("standardQRCode", value) + if err != nil { + panic(err) + } +} +// SetTemporaryQRCode sets the temporaryQRCode property value. A temporary (short-lived) QR code credential, created when a user forgets their badge. +func (m *QrCodePinAuthenticationMethod) SetTemporaryQRCode(value QrCodeable)() { + err := m.GetBackingStore().Set("temporaryQRCode", value) + if err != nil { + panic(err) + } +} +type QrCodePinAuthenticationMethodable interface { + AuthenticationMethodable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPin()(QrPinable) + GetStandardQRCode()(QrCodeable) + GetTemporaryQRCode()(QrCodeable) + SetPin(value QrPinable)() + SetStandardQRCode(value QrCodeable)() + SetTemporaryQRCode(value QrCodeable)() +} diff --git a/models/qr_code_pin_authentication_method_configuration.go b/models/qr_code_pin_authentication_method_configuration.go new file mode 100644 index 0000000000..23ba7e7967 --- /dev/null +++ b/models/qr_code_pin_authentication_method_configuration.go @@ -0,0 +1,167 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QrCodePinAuthenticationMethodConfiguration struct { + AuthenticationMethodConfiguration +} +// NewQrCodePinAuthenticationMethodConfiguration instantiates a new QrCodePinAuthenticationMethodConfiguration and sets the default values. +func NewQrCodePinAuthenticationMethodConfiguration()(*QrCodePinAuthenticationMethodConfiguration) { + m := &QrCodePinAuthenticationMethodConfiguration{ + AuthenticationMethodConfiguration: *NewAuthenticationMethodConfiguration(), + } + odataTypeValue := "#microsoft.graph.qrCodePinAuthenticationMethodConfiguration" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateQrCodePinAuthenticationMethodConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQrCodePinAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQrCodePinAuthenticationMethodConfiguration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QrCodePinAuthenticationMethodConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationMethodConfiguration.GetFieldDeserializers() + res["includeTargets"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAuthenticationMethodTargetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AuthenticationMethodTargetable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AuthenticationMethodTargetable) + } + } + m.SetIncludeTargets(res) + } + return nil + } + res["pinLength"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetPinLength(val) + } + return nil + } + res["standardQRCodeLifetimeInDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetStandardQRCodeLifetimeInDays(val) + } + return nil + } + return res +} +// GetIncludeTargets gets the includeTargets property value. Groups of users that are included and enabled in the policy. +// returns a []AuthenticationMethodTargetable when successful +func (m *QrCodePinAuthenticationMethodConfiguration) GetIncludeTargets()([]AuthenticationMethodTargetable) { + val, err := m.GetBackingStore().Get("includeTargets") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AuthenticationMethodTargetable) + } + return nil +} +// GetPinLength gets the pinLength property value. The required length of the PIN. The minimum length is 8 digits (as per NIST standards), and the maximum is 20 digits. +// returns a *int32 when successful +func (m *QrCodePinAuthenticationMethodConfiguration) GetPinLength()(*int32) { + val, err := m.GetBackingStore().Get("pinLength") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetStandardQRCodeLifetimeInDays gets the standardQRCodeLifetimeInDays property value. The lifetime of standard QR codes in days. The default is 365 days and the maximum is 395 days (13 months). The minimum is 1 day. +// returns a *int32 when successful +func (m *QrCodePinAuthenticationMethodConfiguration) GetStandardQRCodeLifetimeInDays()(*int32) { + val, err := m.GetBackingStore().Get("standardQRCodeLifetimeInDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *QrCodePinAuthenticationMethodConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationMethodConfiguration.Serialize(writer) + if err != nil { + return err + } + if m.GetIncludeTargets() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIncludeTargets())) + for i, v := range m.GetIncludeTargets() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("includeTargets", cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("pinLength", m.GetPinLength()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("standardQRCodeLifetimeInDays", m.GetStandardQRCodeLifetimeInDays()) + if err != nil { + return err + } + } + return nil +} +// SetIncludeTargets sets the includeTargets property value. Groups of users that are included and enabled in the policy. +func (m *QrCodePinAuthenticationMethodConfiguration) SetIncludeTargets(value []AuthenticationMethodTargetable)() { + err := m.GetBackingStore().Set("includeTargets", value) + if err != nil { + panic(err) + } +} +// SetPinLength sets the pinLength property value. The required length of the PIN. The minimum length is 8 digits (as per NIST standards), and the maximum is 20 digits. +func (m *QrCodePinAuthenticationMethodConfiguration) SetPinLength(value *int32)() { + err := m.GetBackingStore().Set("pinLength", value) + if err != nil { + panic(err) + } +} +// SetStandardQRCodeLifetimeInDays sets the standardQRCodeLifetimeInDays property value. The lifetime of standard QR codes in days. The default is 365 days and the maximum is 395 days (13 months). The minimum is 1 day. +func (m *QrCodePinAuthenticationMethodConfiguration) SetStandardQRCodeLifetimeInDays(value *int32)() { + err := m.GetBackingStore().Set("standardQRCodeLifetimeInDays", value) + if err != nil { + panic(err) + } +} +type QrCodePinAuthenticationMethodConfigurationable interface { + AuthenticationMethodConfigurationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIncludeTargets()([]AuthenticationMethodTargetable) + GetPinLength()(*int32) + GetStandardQRCodeLifetimeInDays()(*int32) + SetIncludeTargets(value []AuthenticationMethodTargetable)() + SetPinLength(value *int32)() + SetStandardQRCodeLifetimeInDays(value *int32)() +} diff --git a/models/qr_pin.go b/models/qr_pin.go new file mode 100644 index 0000000000..ab730e79d8 --- /dev/null +++ b/models/qr_pin.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QrPin struct { + Entity +} +// NewQrPin instantiates a new QrPin and sets the default values. +func NewQrPin()(*QrPin) { + m := &QrPin{ + Entity: *NewEntity(), + } + return m +} +// CreateQrPinFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQrPinFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQrPin(), nil +} +// GetCode gets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits. +// returns a *string when successful +func (m *QrPin) GetCode()(*string) { + val, err := m.GetBackingStore().Get("code") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the PIN was created. Read-only. +// returns a *Time when successful +func (m *QrPin) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QrPin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCode(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["forceChangePinNextSignIn"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetForceChangePinNextSignIn(val) + } + return nil + } + res["updatedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetUpdatedDateTime(val) + } + return nil + } + return res +} +// GetForceChangePinNextSignIn gets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it. +// returns a *bool when successful +func (m *QrPin) GetForceChangePinNextSignIn()(*bool) { + val, err := m.GetBackingStore().Get("forceChangePinNextSignIn") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetUpdatedDateTime gets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only. +// returns a *Time when successful +func (m *QrPin) GetUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("updatedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *QrPin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("code", m.GetCode()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("forceChangePinNextSignIn", m.GetForceChangePinNextSignIn()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("updatedDateTime", m.GetUpdatedDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetCode sets the code property value. The PIN code value. This property is only returned at the time of creating or resetting the PIN. For GET operations, this property returns null. The PIN must be between 8-20 digits. +func (m *QrPin) SetCode(value *string)() { + err := m.GetBackingStore().Set("code", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the PIN was created. Read-only. +func (m *QrPin) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetForceChangePinNextSignIn sets the forceChangePinNextSignIn property value. Indicates whether the user must change the PIN on their next sign-in. This is true when an admin creates or resets the PIN, and false after the user changes it. +func (m *QrPin) SetForceChangePinNextSignIn(value *bool)() { + err := m.GetBackingStore().Set("forceChangePinNextSignIn", value) + if err != nil { + panic(err) + } +} +// SetUpdatedDateTime sets the updatedDateTime property value. The date and time when the PIN was last updated. Read-only. +func (m *QrPin) SetUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("updatedDateTime", value) + if err != nil { + panic(err) + } +} +type QrPinable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCode()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetForceChangePinNextSignIn()(*bool) + GetUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCode(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetForceChangePinNextSignIn(value *bool)() + SetUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/scope_collection_kind.go b/models/scope_collection_kind.go new file mode 100644 index 0000000000..6ff650569f --- /dev/null +++ b/models/scope_collection_kind.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ScopeCollectionKind int + +const ( + ALLALLOWED_SCOPECOLLECTIONKIND ScopeCollectionKind = iota + ENUMERATED_SCOPECOLLECTIONKIND + NONE_SCOPECOLLECTIONKIND + SCOPEKINDNOTSET_SCOPECOLLECTIONKIND + UNKNOWNFUTUREVALUE_SCOPECOLLECTIONKIND +) + +func (i ScopeCollectionKind) String() string { + return []string{"allAllowed", "enumerated", "none", "scopeKindNotSet", "unknownFutureValue"}[i] +} +func ParseScopeCollectionKind(v string) (any, error) { + result := ALLALLOWED_SCOPECOLLECTIONKIND + switch v { + case "allAllowed": + result = ALLALLOWED_SCOPECOLLECTIONKIND + case "enumerated": + result = ENUMERATED_SCOPECOLLECTIONKIND + case "none": + result = NONE_SCOPECOLLECTIONKIND + case "scopeKindNotSet": + result = SCOPEKINDNOTSET_SCOPECOLLECTIONKIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SCOPECOLLECTIONKIND + default: + return nil, nil + } + return &result, nil +} +func SerializeScopeCollectionKind(values []ScopeCollectionKind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ScopeCollectionKind) isMultiValue() bool { + return false +} diff --git a/models/service_principal.go b/models/service_principal.go index 535b6102ca..a0bd628eb2 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -23,6 +23,26 @@ func NewServicePrincipal()(*ServicePrincipal) { // CreateServicePrincipalFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateServicePrincipalFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.agentIdentity": + return NewAgentIdentity(), nil + case "#microsoft.graph.agentIdentityBlueprintPrincipal": + return NewAgentIdentityBlueprintPrincipal(), nil + } + } + } + } return NewServicePrincipal(), nil } // GetAccountEnabled gets the accountEnabled property value. true if the service principal account is enabled; otherwise, false. If set to false, then no users are able to sign in to this app, even if they're assigned to it. Supports $filter (eq, ne, not, in). diff --git a/models/share_point_group.go b/models/share_point_group.go new file mode 100644 index 0000000000..b6bdbd9c22 --- /dev/null +++ b/models/share_point_group.go @@ -0,0 +1,202 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointGroup struct { + Entity +} +// NewSharePointGroup instantiates a new SharePointGroup and sets the default values. +func NewSharePointGroup()(*SharePointGroup) { + m := &SharePointGroup{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointGroupFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointGroupFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointGroup(), nil +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *SharePointGroup) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointGroup) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["members"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointGroupMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointGroupMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointGroupMemberable) + } + } + m.SetMembers(res) + } + return nil + } + res["principalId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPrincipalId(val) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetMembers gets the members property value. The members property +// returns a []SharePointGroupMemberable when successful +func (m *SharePointGroup) GetMembers()([]SharePointGroupMemberable) { + val, err := m.GetBackingStore().Get("members") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointGroupMemberable) + } + return nil +} +// GetPrincipalId gets the principalId property value. The principalId property +// returns a *string when successful +func (m *SharePointGroup) GetPrincipalId()(*string) { + val, err := m.GetBackingStore().Get("principalId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTitle gets the title property value. The title property +// returns a *string when successful +func (m *SharePointGroup) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointGroup) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + if m.GetMembers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMembers())) + for i, v := range m.GetMembers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("members", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("principalId", m.GetPrincipalId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + return nil +} +// SetDescription sets the description property value. The description property +func (m *SharePointGroup) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetMembers sets the members property value. The members property +func (m *SharePointGroup) SetMembers(value []SharePointGroupMemberable)() { + err := m.GetBackingStore().Set("members", value) + if err != nil { + panic(err) + } +} +// SetPrincipalId sets the principalId property value. The principalId property +func (m *SharePointGroup) SetPrincipalId(value *string)() { + err := m.GetBackingStore().Set("principalId", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. The title property +func (m *SharePointGroup) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type SharePointGroupable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDescription()(*string) + GetMembers()([]SharePointGroupMemberable) + GetPrincipalId()(*string) + GetTitle()(*string) + SetDescription(value *string)() + SetMembers(value []SharePointGroupMemberable)() + SetPrincipalId(value *string)() + SetTitle(value *string)() +} diff --git a/models/share_point_group_collection_response.go b/models/share_point_group_collection_response.go new file mode 100644 index 0000000000..6579a4c692 --- /dev/null +++ b/models/share_point_group_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointGroupCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointGroupCollectionResponse instantiates a new SharePointGroupCollectionResponse and sets the default values. +func NewSharePointGroupCollectionResponse()(*SharePointGroupCollectionResponse) { + m := &SharePointGroupCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointGroupCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointGroupCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointGroupCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointGroupCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointGroupable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointGroupable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointGroupable when successful +func (m *SharePointGroupCollectionResponse) GetValue()([]SharePointGroupable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointGroupable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointGroupCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointGroupCollectionResponse) SetValue(value []SharePointGroupable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointGroupCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointGroupable) + SetValue(value []SharePointGroupable)() +} diff --git a/models/share_point_group_identity.go b/models/share_point_group_identity.go new file mode 100644 index 0000000000..2958c24b64 --- /dev/null +++ b/models/share_point_group_identity.go @@ -0,0 +1,118 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointGroupIdentity struct { + Identity +} +// NewSharePointGroupIdentity instantiates a new SharePointGroupIdentity and sets the default values. +func NewSharePointGroupIdentity()(*SharePointGroupIdentity) { + m := &SharePointGroupIdentity{ + Identity: *NewIdentity(), + } + odataTypeValue := "#microsoft.graph.sharePointGroupIdentity" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSharePointGroupIdentityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointGroupIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointGroupIdentity(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointGroupIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Identity.GetFieldDeserializers() + res["principalId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPrincipalId(val) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetPrincipalId gets the principalId property value. The principalId property +// returns a *string when successful +func (m *SharePointGroupIdentity) GetPrincipalId()(*string) { + val, err := m.GetBackingStore().Get("principalId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTitle gets the title property value. The title property +// returns a *string when successful +func (m *SharePointGroupIdentity) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointGroupIdentity) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Identity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("principalId", m.GetPrincipalId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + return nil +} +// SetPrincipalId sets the principalId property value. The principalId property +func (m *SharePointGroupIdentity) SetPrincipalId(value *string)() { + err := m.GetBackingStore().Set("principalId", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. The title property +func (m *SharePointGroupIdentity) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type SharePointGroupIdentityable interface { + Identityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPrincipalId()(*string) + GetTitle()(*string) + SetPrincipalId(value *string)() + SetTitle(value *string)() +} diff --git a/models/share_point_group_member.go b/models/share_point_group_member.go new file mode 100644 index 0000000000..886eee80a9 --- /dev/null +++ b/models/share_point_group_member.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointGroupMember struct { + Entity +} +// NewSharePointGroupMember instantiates a new SharePointGroupMember and sets the default values. +func NewSharePointGroupMember()(*SharePointGroupMember) { + m := &SharePointGroupMember{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointGroupMemberFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointGroupMemberFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointGroupMember(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointGroupMember) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["identity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSharePointIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIdentity(val.(SharePointIdentitySetable)) + } + return nil + } + return res +} +// GetIdentity gets the identity property value. The identity property +// returns a SharePointIdentitySetable when successful +func (m *SharePointGroupMember) GetIdentity()(SharePointIdentitySetable) { + val, err := m.GetBackingStore().Get("identity") + if err != nil { + panic(err) + } + if val != nil { + return val.(SharePointIdentitySetable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointGroupMember) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("identity", m.GetIdentity()) + if err != nil { + return err + } + } + return nil +} +// SetIdentity sets the identity property value. The identity property +func (m *SharePointGroupMember) SetIdentity(value SharePointIdentitySetable)() { + err := m.GetBackingStore().Set("identity", value) + if err != nil { + panic(err) + } +} +type SharePointGroupMemberable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIdentity()(SharePointIdentitySetable) + SetIdentity(value SharePointIdentitySetable)() +} diff --git a/models/share_point_group_member_collection_response.go b/models/share_point_group_member_collection_response.go new file mode 100644 index 0000000000..2efa5c3242 --- /dev/null +++ b/models/share_point_group_member_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointGroupMemberCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointGroupMemberCollectionResponse instantiates a new SharePointGroupMemberCollectionResponse and sets the default values. +func NewSharePointGroupMemberCollectionResponse()(*SharePointGroupMemberCollectionResponse) { + m := &SharePointGroupMemberCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointGroupMemberCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointGroupMemberCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointGroupMemberCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointGroupMemberCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointGroupMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointGroupMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointGroupMemberable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointGroupMemberable when successful +func (m *SharePointGroupMemberCollectionResponse) GetValue()([]SharePointGroupMemberable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointGroupMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointGroupMemberCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *SharePointGroupMemberCollectionResponse) SetValue(value []SharePointGroupMemberable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointGroupMemberCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointGroupMemberable) + SetValue(value []SharePointGroupMemberable)() +} diff --git a/models/share_point_identity_set.go b/models/share_point_identity_set.go index 6eba0087dc..807c2d1ae2 100644 --- a/models/share_point_identity_set.go +++ b/models/share_point_identity_set.go @@ -38,6 +38,16 @@ func (m *SharePointIdentitySet) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["sharePointGroup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSharePointGroupIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSharePointGroup(val.(SharePointGroupIdentityable)) + } + return nil + } res["siteGroup"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSharePointIdentityFromDiscriminatorValue) if err != nil { @@ -72,6 +82,18 @@ func (m *SharePointIdentitySet) GetGroup()(Identityable) { } return nil } +// GetSharePointGroup gets the sharePointGroup property value. The sharePointGroup property +// returns a SharePointGroupIdentityable when successful +func (m *SharePointIdentitySet) GetSharePointGroup()(SharePointGroupIdentityable) { + val, err := m.GetBackingStore().Get("sharePointGroup") + if err != nil { + panic(err) + } + if val != nil { + return val.(SharePointGroupIdentityable) + } + return nil +} // GetSiteGroup gets the siteGroup property value. The SharePoint group associated with this action. Optional. // returns a SharePointIdentityable when successful func (m *SharePointIdentitySet) GetSiteGroup()(SharePointIdentityable) { @@ -108,6 +130,12 @@ func (m *SharePointIdentitySet) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + { + err = writer.WriteObjectValue("sharePointGroup", m.GetSharePointGroup()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("siteGroup", m.GetSiteGroup()) if err != nil { @@ -129,6 +157,13 @@ func (m *SharePointIdentitySet) SetGroup(value Identityable)() { panic(err) } } +// SetSharePointGroup sets the sharePointGroup property value. The sharePointGroup property +func (m *SharePointIdentitySet) SetSharePointGroup(value SharePointGroupIdentityable)() { + err := m.GetBackingStore().Set("sharePointGroup", value) + if err != nil { + panic(err) + } +} // SetSiteGroup sets the siteGroup property value. The SharePoint group associated with this action. Optional. func (m *SharePointIdentitySet) SetSiteGroup(value SharePointIdentityable)() { err := m.GetBackingStore().Set("siteGroup", value) @@ -147,9 +182,11 @@ type SharePointIdentitySetable interface { IdentitySetable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetGroup()(Identityable) + GetSharePointGroup()(SharePointGroupIdentityable) GetSiteGroup()(SharePointIdentityable) GetSiteUser()(SharePointIdentityable) SetGroup(value Identityable)() + SetSharePointGroup(value SharePointGroupIdentityable)() SetSiteGroup(value SharePointIdentityable)() SetSiteUser(value SharePointIdentityable)() } diff --git a/models/simulation.go b/models/simulation.go index b1302d63c1..420062cfaf 100644 --- a/models/simulation.go +++ b/models/simulation.go @@ -533,7 +533,7 @@ func (m *Simulation) GetReport()(SimulationReportable) { } return nil } -// GetStatus gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. +// GetStatus gets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, canceled, excluded, unknownFutureValue. // returns a *SimulationStatus when successful func (m *Simulation) GetStatus()(*SimulationStatus) { val, err := m.GetBackingStore().Get("status") @@ -867,7 +867,7 @@ func (m *Simulation) SetReport(value SimulationReportable)() { panic(err) } } -// SetStatus sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, cancelled, excluded, unknownFutureValue. +// SetStatus sets the status property value. Status of the attack simulation and training campaign. Supports $filter and $orderby. The possible values are: unknown, draft, running, scheduled, succeeded, failed, canceled, excluded, unknownFutureValue. func (m *Simulation) SetStatus(value *SimulationStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/teamsadministration/activation_state.go b/models/teamsadministration/activation_state.go new file mode 100644 index 0000000000..d91a058be3 --- /dev/null +++ b/models/teamsadministration/activation_state.go @@ -0,0 +1,48 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type ActivationState int + +const ( + ACTIVATED_ACTIVATIONSTATE ActivationState = iota + ASSIGNMENTPENDING_ACTIVATIONSTATE + ASSIGNMENTFAILED_ACTIVATIONSTATE + UPDATEPENDING_ACTIVATIONSTATE + UPDATEFAILED_ACTIVATIONSTATE + UNKNOWNFUTUREVALUE_ACTIVATIONSTATE +) + +func (i ActivationState) String() string { + return []string{"activated", "assignmentPending", "assignmentFailed", "updatePending", "updateFailed", "unknownFutureValue"}[i] +} +func ParseActivationState(v string) (any, error) { + result := ACTIVATED_ACTIVATIONSTATE + switch v { + case "activated": + result = ACTIVATED_ACTIVATIONSTATE + case "assignmentPending": + result = ASSIGNMENTPENDING_ACTIVATIONSTATE + case "assignmentFailed": + result = ASSIGNMENTFAILED_ACTIVATIONSTATE + case "updatePending": + result = UPDATEPENDING_ACTIVATIONSTATE + case "updateFailed": + result = UPDATEFAILED_ACTIVATIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACTIVATIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeActivationState(values []ActivationState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ActivationState) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/assignment_status.go b/models/teamsadministration/assignment_status.go new file mode 100644 index 0000000000..c719e91697 --- /dev/null +++ b/models/teamsadministration/assignment_status.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type AssignmentStatus int + +const ( + UNASSIGNED_ASSIGNMENTSTATUS AssignmentStatus = iota + INTERNALERROR_ASSIGNMENTSTATUS + USERASSIGNED_ASSIGNMENTSTATUS + CONFERENCEASSIGNED_ASSIGNMENTSTATUS + VOICEAPPLICATIONASSIGNED_ASSIGNMENTSTATUS + THIRDPARTYAPPASSIGNED_ASSIGNMENTSTATUS + POLICYASSIGNED_ASSIGNMENTSTATUS + UNKNOWNFUTUREVALUE_ASSIGNMENTSTATUS +) + +func (i AssignmentStatus) String() string { + return []string{"unassigned", "internalError", "userAssigned", "conferenceAssigned", "voiceApplicationAssigned", "thirdPartyAppAssigned", "policyAssigned", "unknownFutureValue"}[i] +} +func ParseAssignmentStatus(v string) (any, error) { + result := UNASSIGNED_ASSIGNMENTSTATUS + switch v { + case "unassigned": + result = UNASSIGNED_ASSIGNMENTSTATUS + case "internalError": + result = INTERNALERROR_ASSIGNMENTSTATUS + case "userAssigned": + result = USERASSIGNED_ASSIGNMENTSTATUS + case "conferenceAssigned": + result = CONFERENCEASSIGNED_ASSIGNMENTSTATUS + case "voiceApplicationAssigned": + result = VOICEAPPLICATIONASSIGNED_ASSIGNMENTSTATUS + case "thirdPartyAppAssigned": + result = THIRDPARTYAPPASSIGNED_ASSIGNMENTSTATUS + case "policyAssigned": + result = POLICYASSIGNED_ASSIGNMENTSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ASSIGNMENTSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeAssignmentStatus(values []AssignmentStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AssignmentStatus) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/customer_action.go b/models/teamsadministration/customer_action.go new file mode 100644 index 0000000000..a117c869a7 --- /dev/null +++ b/models/teamsadministration/customer_action.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type CustomerAction int + +const ( + LOCATIONUPDATE_CUSTOMERACTION CustomerAction = iota + RELEASE_CUSTOMERACTION + UNKNOWNFUTUREVALUE_CUSTOMERACTION +) + +func (i CustomerAction) String() string { + return []string{"locationUpdate", "release", "unknownFutureValue"}[i] +} +func ParseCustomerAction(v string) (any, error) { + result := LOCATIONUPDATE_CUSTOMERACTION + switch v { + case "locationUpdate": + result = LOCATIONUPDATE_CUSTOMERACTION + case "release": + result = RELEASE_CUSTOMERACTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CUSTOMERACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeCustomerAction(values []CustomerAction) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CustomerAction) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/number_assignment.go b/models/teamsadministration/number_assignment.go new file mode 100644 index 0000000000..eea1cd457e --- /dev/null +++ b/models/teamsadministration/number_assignment.go @@ -0,0 +1,696 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type NumberAssignment struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewNumberAssignment instantiates a new NumberAssignment and sets the default values. +func NewNumberAssignment()(*NumberAssignment) { + m := &NumberAssignment{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateNumberAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNumberAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNumberAssignment(), nil +} +// GetActivationState gets the activationState property value. The activationState property +// returns a *ActivationState when successful +func (m *NumberAssignment) GetActivationState()(*ActivationState) { + val, err := m.GetBackingStore().Get("activationState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ActivationState) + } + return nil +} +// GetAssignmentCategory gets the assignmentCategory property value. Contains the assignment category such as Primary or Private. The possible values are: primary, private, alternate, unknownFutureValue. +// returns a *AssignmentCategory when successful +func (m *NumberAssignment) GetAssignmentCategory()(*AssignmentCategory) { + val, err := m.GetBackingStore().Get("assignmentCategory") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AssignmentCategory) + } + return nil +} +// GetAssignmentStatus gets the assignmentStatus property value. The assignment status of the phone number. The possible values are: unassigned, internalError, userAssigned, conferenceAssigned, voiceApplicationAssigned, thirdPartyAppAssigned, policyAssigned, unknownFutureValue. +// returns a *AssignmentStatus when successful +func (m *NumberAssignment) GetAssignmentStatus()(*AssignmentStatus) { + val, err := m.GetBackingStore().Get("assignmentStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AssignmentStatus) + } + return nil +} +// GetAssignmentTargetId gets the assignmentTargetId property value. The ID of the object the phone number is assigned to, either the ObjectId of a user or resource account, or the policy instance ID of a Teams shared calling routing policy instance. +// returns a *string when successful +func (m *NumberAssignment) GetAssignmentTargetId()(*string) { + val, err := m.GetBackingStore().Get("assignmentTargetId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCapabilities gets the capabilities property value. The list of capabilities assigned to the phone number. +// returns a []NumberCapability when successful +func (m *NumberAssignment) GetCapabilities()([]NumberCapability) { + val, err := m.GetBackingStore().Get("capabilities") + if err != nil { + panic(err) + } + if val != nil { + return val.([]NumberCapability) + } + return nil +} +// GetCity gets the city property value. The city where the phone number is located or associated with. +// returns a *string when successful +func (m *NumberAssignment) GetCity()(*string) { + val, err := m.GetBackingStore().Get("city") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCivicAddressId gets the civicAddressId property value. The ID of the civic address assigned to the phone number. +// returns a *string when successful +func (m *NumberAssignment) GetCivicAddressId()(*string) { + val, err := m.GetBackingStore().Get("civicAddressId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NumberAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["activationState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseActivationState) + if err != nil { + return err + } + if val != nil { + m.SetActivationState(val.(*ActivationState)) + } + return nil + } + res["assignmentCategory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAssignmentCategory) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentCategory(val.(*AssignmentCategory)) + } + return nil + } + res["assignmentStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAssignmentStatus) + if err != nil { + return err + } + if val != nil { + m.SetAssignmentStatus(val.(*AssignmentStatus)) + } + return nil + } + res["assignmentTargetId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignmentTargetId(val) + } + return nil + } + res["capabilities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseNumberCapability) + if err != nil { + return err + } + if val != nil { + res := make([]NumberCapability, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*NumberCapability)) + } + } + m.SetCapabilities(res) + } + return nil + } + res["city"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCity(val) + } + return nil + } + res["civicAddressId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCivicAddressId(val) + } + return nil + } + res["isoCountryCode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIsoCountryCode(val) + } + return nil + } + res["locationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocationId(val) + } + return nil + } + res["networkSiteId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNetworkSiteId(val) + } + return nil + } + res["numberSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseNumberSource) + if err != nil { + return err + } + if val != nil { + m.SetNumberSource(val.(*NumberSource)) + } + return nil + } + res["numberType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseNumberType) + if err != nil { + return err + } + if val != nil { + m.SetNumberType(val.(*NumberType)) + } + return nil + } + res["operatorId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatorId(val) + } + return nil + } + res["portInStatus"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParsePortInStatus) + if err != nil { + return err + } + if val != nil { + m.SetPortInStatus(val.(*PortInStatus)) + } + return nil + } + res["reverseNumberLookupOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseReverseNumberLookupOption) + if err != nil { + return err + } + if val != nil { + res := make([]ReverseNumberLookupOption, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*ReverseNumberLookupOption)) + } + } + m.SetReverseNumberLookupOptions(res) + } + return nil + } + res["supportedCustomerActions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseCustomerAction) + if err != nil { + return err + } + if val != nil { + res := make([]CustomerAction, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*CustomerAction)) + } + } + m.SetSupportedCustomerActions(res) + } + return nil + } + res["telephoneNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumber(val) + } + return nil + } + return res +} +// GetIsoCountryCode gets the isoCountryCode property value. The ISO country code assigned to the phone number. +// returns a *string when successful +func (m *NumberAssignment) GetIsoCountryCode()(*string) { + val, err := m.GetBackingStore().Get("isoCountryCode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLocationId gets the locationId property value. The ID of the location assigned to the phone number. +// returns a *string when successful +func (m *NumberAssignment) GetLocationId()(*string) { + val, err := m.GetBackingStore().Get("locationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetNetworkSiteId gets the networkSiteId property value. This property is reserved for internal Microsoft use. +// returns a *string when successful +func (m *NumberAssignment) GetNetworkSiteId()(*string) { + val, err := m.GetBackingStore().Get("networkSiteId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetNumberSource gets the numberSource property value. The source of the phone number. online is used for phone numbers assigned in Microsoft 365, and onPremises is used for phone numbers assigned in AD on-premises, which are synchronized into Microsoft 365. The possible values are: online, onPremises, unknownFutureValue. +// returns a *NumberSource when successful +func (m *NumberAssignment) GetNumberSource()(*NumberSource) { + val, err := m.GetBackingStore().Get("numberSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*NumberSource) + } + return nil +} +// GetNumberType gets the numberType property value. The numberType property +// returns a *NumberType when successful +func (m *NumberAssignment) GetNumberType()(*NumberType) { + val, err := m.GetBackingStore().Get("numberType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*NumberType) + } + return nil +} +// GetOperatorId gets the operatorId property value. The ID of the operator. +// returns a *string when successful +func (m *NumberAssignment) GetOperatorId()(*string) { + val, err := m.GetBackingStore().Get("operatorId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPortInStatus gets the portInStatus property value. The status of any port in order covering the phone number. The possible values are: completed, firmOrderCommitmentAccepted, unknownFutureValue. +// returns a *PortInStatus when successful +func (m *NumberAssignment) GetPortInStatus()(*PortInStatus) { + val, err := m.GetBackingStore().Get("portInStatus") + if err != nil { + panic(err) + } + if val != nil { + return val.(*PortInStatus) + } + return nil +} +// GetReverseNumberLookupOptions gets the reverseNumberLookupOptions property value. Status of Reverse Number Lookup (RNL). If set to skipInternalVoip, calls are routed through the external Public Switched Telephone Network (PSTN) instead of using internal VoIP resolution. +// returns a []ReverseNumberLookupOption when successful +func (m *NumberAssignment) GetReverseNumberLookupOptions()([]ReverseNumberLookupOption) { + val, err := m.GetBackingStore().Get("reverseNumberLookupOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ReverseNumberLookupOption) + } + return nil +} +// GetSupportedCustomerActions gets the supportedCustomerActions property value. Indicates what customer actions are available to modify the number. +// returns a []CustomerAction when successful +func (m *NumberAssignment) GetSupportedCustomerActions()([]CustomerAction) { + val, err := m.GetBackingStore().Get("supportedCustomerActions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CustomerAction) + } + return nil +} +// GetTelephoneNumber gets the telephoneNumber property value. The telephone number in the record. The recorded telephone number is always displayed with a '+' prefix, regardless of whether it was originally assigned with one. +// returns a *string when successful +func (m *NumberAssignment) GetTelephoneNumber()(*string) { + val, err := m.GetBackingStore().Get("telephoneNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *NumberAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetActivationState() != nil { + cast := (*m.GetActivationState()).String() + err = writer.WriteStringValue("activationState", &cast) + if err != nil { + return err + } + } + if m.GetAssignmentCategory() != nil { + cast := (*m.GetAssignmentCategory()).String() + err = writer.WriteStringValue("assignmentCategory", &cast) + if err != nil { + return err + } + } + if m.GetAssignmentStatus() != nil { + cast := (*m.GetAssignmentStatus()).String() + err = writer.WriteStringValue("assignmentStatus", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("assignmentTargetId", m.GetAssignmentTargetId()) + if err != nil { + return err + } + } + if m.GetCapabilities() != nil { + err = writer.WriteCollectionOfStringValues("capabilities", SerializeNumberCapability(m.GetCapabilities())) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("city", m.GetCity()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("civicAddressId", m.GetCivicAddressId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("isoCountryCode", m.GetIsoCountryCode()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("locationId", m.GetLocationId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("networkSiteId", m.GetNetworkSiteId()) + if err != nil { + return err + } + } + if m.GetNumberSource() != nil { + cast := (*m.GetNumberSource()).String() + err = writer.WriteStringValue("numberSource", &cast) + if err != nil { + return err + } + } + if m.GetNumberType() != nil { + cast := (*m.GetNumberType()).String() + err = writer.WriteStringValue("numberType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("operatorId", m.GetOperatorId()) + if err != nil { + return err + } + } + if m.GetPortInStatus() != nil { + cast := (*m.GetPortInStatus()).String() + err = writer.WriteStringValue("portInStatus", &cast) + if err != nil { + return err + } + } + if m.GetReverseNumberLookupOptions() != nil { + err = writer.WriteCollectionOfStringValues("reverseNumberLookupOptions", SerializeReverseNumberLookupOption(m.GetReverseNumberLookupOptions())) + if err != nil { + return err + } + } + if m.GetSupportedCustomerActions() != nil { + err = writer.WriteCollectionOfStringValues("supportedCustomerActions", SerializeCustomerAction(m.GetSupportedCustomerActions())) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("telephoneNumber", m.GetTelephoneNumber()) + if err != nil { + return err + } + } + return nil +} +// SetActivationState sets the activationState property value. The activationState property +func (m *NumberAssignment) SetActivationState(value *ActivationState)() { + err := m.GetBackingStore().Set("activationState", value) + if err != nil { + panic(err) + } +} +// SetAssignmentCategory sets the assignmentCategory property value. Contains the assignment category such as Primary or Private. The possible values are: primary, private, alternate, unknownFutureValue. +func (m *NumberAssignment) SetAssignmentCategory(value *AssignmentCategory)() { + err := m.GetBackingStore().Set("assignmentCategory", value) + if err != nil { + panic(err) + } +} +// SetAssignmentStatus sets the assignmentStatus property value. The assignment status of the phone number. The possible values are: unassigned, internalError, userAssigned, conferenceAssigned, voiceApplicationAssigned, thirdPartyAppAssigned, policyAssigned, unknownFutureValue. +func (m *NumberAssignment) SetAssignmentStatus(value *AssignmentStatus)() { + err := m.GetBackingStore().Set("assignmentStatus", value) + if err != nil { + panic(err) + } +} +// SetAssignmentTargetId sets the assignmentTargetId property value. The ID of the object the phone number is assigned to, either the ObjectId of a user or resource account, or the policy instance ID of a Teams shared calling routing policy instance. +func (m *NumberAssignment) SetAssignmentTargetId(value *string)() { + err := m.GetBackingStore().Set("assignmentTargetId", value) + if err != nil { + panic(err) + } +} +// SetCapabilities sets the capabilities property value. The list of capabilities assigned to the phone number. +func (m *NumberAssignment) SetCapabilities(value []NumberCapability)() { + err := m.GetBackingStore().Set("capabilities", value) + if err != nil { + panic(err) + } +} +// SetCity sets the city property value. The city where the phone number is located or associated with. +func (m *NumberAssignment) SetCity(value *string)() { + err := m.GetBackingStore().Set("city", value) + if err != nil { + panic(err) + } +} +// SetCivicAddressId sets the civicAddressId property value. The ID of the civic address assigned to the phone number. +func (m *NumberAssignment) SetCivicAddressId(value *string)() { + err := m.GetBackingStore().Set("civicAddressId", value) + if err != nil { + panic(err) + } +} +// SetIsoCountryCode sets the isoCountryCode property value. The ISO country code assigned to the phone number. +func (m *NumberAssignment) SetIsoCountryCode(value *string)() { + err := m.GetBackingStore().Set("isoCountryCode", value) + if err != nil { + panic(err) + } +} +// SetLocationId sets the locationId property value. The ID of the location assigned to the phone number. +func (m *NumberAssignment) SetLocationId(value *string)() { + err := m.GetBackingStore().Set("locationId", value) + if err != nil { + panic(err) + } +} +// SetNetworkSiteId sets the networkSiteId property value. This property is reserved for internal Microsoft use. +func (m *NumberAssignment) SetNetworkSiteId(value *string)() { + err := m.GetBackingStore().Set("networkSiteId", value) + if err != nil { + panic(err) + } +} +// SetNumberSource sets the numberSource property value. The source of the phone number. online is used for phone numbers assigned in Microsoft 365, and onPremises is used for phone numbers assigned in AD on-premises, which are synchronized into Microsoft 365. The possible values are: online, onPremises, unknownFutureValue. +func (m *NumberAssignment) SetNumberSource(value *NumberSource)() { + err := m.GetBackingStore().Set("numberSource", value) + if err != nil { + panic(err) + } +} +// SetNumberType sets the numberType property value. The numberType property +func (m *NumberAssignment) SetNumberType(value *NumberType)() { + err := m.GetBackingStore().Set("numberType", value) + if err != nil { + panic(err) + } +} +// SetOperatorId sets the operatorId property value. The ID of the operator. +func (m *NumberAssignment) SetOperatorId(value *string)() { + err := m.GetBackingStore().Set("operatorId", value) + if err != nil { + panic(err) + } +} +// SetPortInStatus sets the portInStatus property value. The status of any port in order covering the phone number. The possible values are: completed, firmOrderCommitmentAccepted, unknownFutureValue. +func (m *NumberAssignment) SetPortInStatus(value *PortInStatus)() { + err := m.GetBackingStore().Set("portInStatus", value) + if err != nil { + panic(err) + } +} +// SetReverseNumberLookupOptions sets the reverseNumberLookupOptions property value. Status of Reverse Number Lookup (RNL). If set to skipInternalVoip, calls are routed through the external Public Switched Telephone Network (PSTN) instead of using internal VoIP resolution. +func (m *NumberAssignment) SetReverseNumberLookupOptions(value []ReverseNumberLookupOption)() { + err := m.GetBackingStore().Set("reverseNumberLookupOptions", value) + if err != nil { + panic(err) + } +} +// SetSupportedCustomerActions sets the supportedCustomerActions property value. Indicates what customer actions are available to modify the number. +func (m *NumberAssignment) SetSupportedCustomerActions(value []CustomerAction)() { + err := m.GetBackingStore().Set("supportedCustomerActions", value) + if err != nil { + panic(err) + } +} +// SetTelephoneNumber sets the telephoneNumber property value. The telephone number in the record. The recorded telephone number is always displayed with a '+' prefix, regardless of whether it was originally assigned with one. +func (m *NumberAssignment) SetTelephoneNumber(value *string)() { + err := m.GetBackingStore().Set("telephoneNumber", value) + if err != nil { + panic(err) + } +} +type NumberAssignmentable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActivationState()(*ActivationState) + GetAssignmentCategory()(*AssignmentCategory) + GetAssignmentStatus()(*AssignmentStatus) + GetAssignmentTargetId()(*string) + GetCapabilities()([]NumberCapability) + GetCity()(*string) + GetCivicAddressId()(*string) + GetIsoCountryCode()(*string) + GetLocationId()(*string) + GetNetworkSiteId()(*string) + GetNumberSource()(*NumberSource) + GetNumberType()(*NumberType) + GetOperatorId()(*string) + GetPortInStatus()(*PortInStatus) + GetReverseNumberLookupOptions()([]ReverseNumberLookupOption) + GetSupportedCustomerActions()([]CustomerAction) + GetTelephoneNumber()(*string) + SetActivationState(value *ActivationState)() + SetAssignmentCategory(value *AssignmentCategory)() + SetAssignmentStatus(value *AssignmentStatus)() + SetAssignmentTargetId(value *string)() + SetCapabilities(value []NumberCapability)() + SetCity(value *string)() + SetCivicAddressId(value *string)() + SetIsoCountryCode(value *string)() + SetLocationId(value *string)() + SetNetworkSiteId(value *string)() + SetNumberSource(value *NumberSource)() + SetNumberType(value *NumberType)() + SetOperatorId(value *string)() + SetPortInStatus(value *PortInStatus)() + SetReverseNumberLookupOptions(value []ReverseNumberLookupOption)() + SetSupportedCustomerActions(value []CustomerAction)() + SetTelephoneNumber(value *string)() +} diff --git a/models/teamsadministration/number_assignment_collection_response.go b/models/teamsadministration/number_assignment_collection_response.go new file mode 100644 index 0000000000..7da448738c --- /dev/null +++ b/models/teamsadministration/number_assignment_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type NumberAssignmentCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewNumberAssignmentCollectionResponse instantiates a new NumberAssignmentCollectionResponse and sets the default values. +func NewNumberAssignmentCollectionResponse()(*NumberAssignmentCollectionResponse) { + m := &NumberAssignmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateNumberAssignmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNumberAssignmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNumberAssignmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NumberAssignmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateNumberAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]NumberAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(NumberAssignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []NumberAssignmentable when successful +func (m *NumberAssignmentCollectionResponse) GetValue()([]NumberAssignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]NumberAssignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *NumberAssignmentCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *NumberAssignmentCollectionResponse) SetValue(value []NumberAssignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type NumberAssignmentCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]NumberAssignmentable) + SetValue(value []NumberAssignmentable)() +} diff --git a/models/teamsadministration/number_capability.go b/models/teamsadministration/number_capability.go new file mode 100644 index 0000000000..518b556eb9 --- /dev/null +++ b/models/teamsadministration/number_capability.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type NumberCapability int + +const ( + CONFERENCEASSIGNMENT_NUMBERCAPABILITY NumberCapability = iota + VOICEAPPLICATIONASSIGNMENT_NUMBERCAPABILITY + USERASSIGNMENT_NUMBERCAPABILITY + TEAMSPHONEMOBILE_NUMBERCAPABILITY + UNKNOWNFUTUREVALUE_NUMBERCAPABILITY +) + +func (i NumberCapability) String() string { + return []string{"conferenceAssignment", "voiceApplicationAssignment", "userAssignment", "teamsPhoneMobile", "unknownFutureValue"}[i] +} +func ParseNumberCapability(v string) (any, error) { + result := CONFERENCEASSIGNMENT_NUMBERCAPABILITY + switch v { + case "conferenceAssignment": + result = CONFERENCEASSIGNMENT_NUMBERCAPABILITY + case "voiceApplicationAssignment": + result = VOICEAPPLICATIONASSIGNMENT_NUMBERCAPABILITY + case "userAssignment": + result = USERASSIGNMENT_NUMBERCAPABILITY + case "teamsPhoneMobile": + result = TEAMSPHONEMOBILE_NUMBERCAPABILITY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_NUMBERCAPABILITY + default: + return nil, nil + } + return &result, nil +} +func SerializeNumberCapability(values []NumberCapability) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i NumberCapability) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/number_source.go b/models/teamsadministration/number_source.go new file mode 100644 index 0000000000..77a82f151b --- /dev/null +++ b/models/teamsadministration/number_source.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type NumberSource int + +const ( + ONLINE_NUMBERSOURCE NumberSource = iota + ONPREMISES_NUMBERSOURCE + UNKNOWNFUTUREVALUE_NUMBERSOURCE +) + +func (i NumberSource) String() string { + return []string{"online", "onPremises", "unknownFutureValue"}[i] +} +func ParseNumberSource(v string) (any, error) { + result := ONLINE_NUMBERSOURCE + switch v { + case "online": + result = ONLINE_NUMBERSOURCE + case "onPremises": + result = ONPREMISES_NUMBERSOURCE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_NUMBERSOURCE + default: + return nil, nil + } + return &result, nil +} +func SerializeNumberSource(values []NumberSource) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i NumberSource) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/number_type.go b/models/teamsadministration/number_type.go new file mode 100644 index 0000000000..3b1b3cb22c --- /dev/null +++ b/models/teamsadministration/number_type.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type NumberType int + +const ( + INTERNALERROR_NUMBERTYPE NumberType = iota + DIRECTROUTING_NUMBERTYPE + CALLINGPLAN_NUMBERTYPE + OPERATORCONNECT_NUMBERTYPE + UNKNOWNFUTUREVALUE_NUMBERTYPE +) + +func (i NumberType) String() string { + return []string{"internalError", "directRouting", "callingPlan", "operatorConnect", "unknownFutureValue"}[i] +} +func ParseNumberType(v string) (any, error) { + result := INTERNALERROR_NUMBERTYPE + switch v { + case "internalError": + result = INTERNALERROR_NUMBERTYPE + case "directRouting": + result = DIRECTROUTING_NUMBERTYPE + case "callingPlan": + result = CALLINGPLAN_NUMBERTYPE + case "operatorConnect": + result = OPERATORCONNECT_NUMBERTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_NUMBERTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeNumberType(values []NumberType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i NumberType) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/port_in_status.go b/models/teamsadministration/port_in_status.go new file mode 100644 index 0000000000..aa96ccfa5b --- /dev/null +++ b/models/teamsadministration/port_in_status.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type PortInStatus int + +const ( + COMPLETED_PORTINSTATUS PortInStatus = iota + FIRMORDERCOMMITMENTACCEPTED_PORTINSTATUS + UNKNOWNFUTUREVALUE_PORTINSTATUS +) + +func (i PortInStatus) String() string { + return []string{"completed", "firmOrderCommitmentAccepted", "unknownFutureValue"}[i] +} +func ParsePortInStatus(v string) (any, error) { + result := COMPLETED_PORTINSTATUS + switch v { + case "completed": + result = COMPLETED_PORTINSTATUS + case "firmOrderCommitmentAccepted": + result = FIRMORDERCOMMITMENTACCEPTED_PORTINSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_PORTINSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializePortInStatus(values []PortInStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i PortInStatus) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/reverse_number_lookup_option.go b/models/teamsadministration/reverse_number_lookup_option.go new file mode 100644 index 0000000000..58e7879caa --- /dev/null +++ b/models/teamsadministration/reverse_number_lookup_option.go @@ -0,0 +1,36 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration +type ReverseNumberLookupOption int + +const ( + SKIPINTERNALVOIP_REVERSENUMBERLOOKUPOPTION ReverseNumberLookupOption = iota + UNKNOWNFUTUREVALUE_REVERSENUMBERLOOKUPOPTION +) + +func (i ReverseNumberLookupOption) String() string { + return []string{"skipInternalVoip", "unknownFutureValue"}[i] +} +func ParseReverseNumberLookupOption(v string) (any, error) { + result := SKIPINTERNALVOIP_REVERSENUMBERLOOKUPOPTION + switch v { + case "skipInternalVoip": + result = SKIPINTERNALVOIP_REVERSENUMBERLOOKUPOPTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_REVERSENUMBERLOOKUPOPTION + default: + return nil, nil + } + return &result, nil +} +func SerializeReverseNumberLookupOption(values []ReverseNumberLookupOption) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ReverseNumberLookupOption) isMultiValue() bool { + return false +} diff --git a/models/teamsadministration/teams_admin_root.go b/models/teamsadministration/teams_admin_root.go index 10eb6f0fe5..1a53e81435 100644 --- a/models/teamsadministration/teams_admin_root.go +++ b/models/teamsadministration/teams_admin_root.go @@ -37,6 +37,16 @@ func (m *TeamsAdminRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["telephoneNumberManagement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTelephoneNumberManagementRootFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTelephoneNumberManagement(val.(TelephoneNumberManagementRootable)) + } + return nil + } res["userConfigurations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateTeamsUserConfigurationFromDiscriminatorValue) if err != nil { @@ -67,6 +77,18 @@ func (m *TeamsAdminRoot) GetPolicy()(TeamsPolicyAssignmentable) { } return nil } +// GetTelephoneNumberManagement gets the telephoneNumberManagement property value. Represents a collection of available telephone number management operations. +// returns a TelephoneNumberManagementRootable when successful +func (m *TeamsAdminRoot) GetTelephoneNumberManagement()(TelephoneNumberManagementRootable) { + val, err := m.GetBackingStore().Get("telephoneNumberManagement") + if err != nil { + panic(err) + } + if val != nil { + return val.(TelephoneNumberManagementRootable) + } + return nil +} // GetUserConfigurations gets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams // returns a []TeamsUserConfigurationable when successful func (m *TeamsAdminRoot) GetUserConfigurations()([]TeamsUserConfigurationable) { @@ -91,6 +113,12 @@ func (m *TeamsAdminRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteObjectValue("telephoneNumberManagement", m.GetTelephoneNumberManagement()) + if err != nil { + return err + } + } if m.GetUserConfigurations() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserConfigurations())) for i, v := range m.GetUserConfigurations() { @@ -112,6 +140,13 @@ func (m *TeamsAdminRoot) SetPolicy(value TeamsPolicyAssignmentable)() { panic(err) } } +// SetTelephoneNumberManagement sets the telephoneNumberManagement property value. Represents a collection of available telephone number management operations. +func (m *TeamsAdminRoot) SetTelephoneNumberManagement(value TelephoneNumberManagementRootable)() { + err := m.GetBackingStore().Set("telephoneNumberManagement", value) + if err != nil { + panic(err) + } +} // SetUserConfigurations sets the userConfigurations property value. Represents the configuration information of users who have accounts hosted on Microsoft Teams func (m *TeamsAdminRoot) SetUserConfigurations(value []TeamsUserConfigurationable)() { err := m.GetBackingStore().Set("userConfigurations", value) @@ -123,7 +158,9 @@ type TeamsAdminRootable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPolicy()(TeamsPolicyAssignmentable) + GetTelephoneNumberManagement()(TelephoneNumberManagementRootable) GetUserConfigurations()([]TeamsUserConfigurationable) SetPolicy(value TeamsPolicyAssignmentable)() + SetTelephoneNumberManagement(value TelephoneNumberManagementRootable)() SetUserConfigurations(value []TeamsUserConfigurationable)() } diff --git a/models/teamsadministration/telephone_number_long_running_operation.go b/models/teamsadministration/telephone_number_long_running_operation.go new file mode 100644 index 0000000000..68814a0c77 --- /dev/null +++ b/models/teamsadministration/telephone_number_long_running_operation.go @@ -0,0 +1,167 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TelephoneNumberLongRunningOperation struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTelephoneNumberLongRunningOperation instantiates a new TelephoneNumberLongRunningOperation and sets the default values. +func NewTelephoneNumberLongRunningOperation()(*TelephoneNumberLongRunningOperation) { + m := &TelephoneNumberLongRunningOperation{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTelephoneNumberLongRunningOperation(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the asynchronous operation was created. +// returns a *string when successful +func (m *TelephoneNumberLongRunningOperation) GetCreatedDateTime()(*string) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TelephoneNumberLongRunningOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["numbers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTelephoneNumberLongRunningOperationDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TelephoneNumberLongRunningOperationDetailsable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TelephoneNumberLongRunningOperationDetailsable) + } + } + m.SetNumbers(res) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseLongRunningOperationStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)) + } + return nil + } + return res +} +// GetNumbers gets the numbers property value. Asynchronous operation details. +// returns a []TelephoneNumberLongRunningOperationDetailsable when successful +func (m *TelephoneNumberLongRunningOperation) GetNumbers()([]TelephoneNumberLongRunningOperationDetailsable) { + val, err := m.GetBackingStore().Get("numbers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TelephoneNumberLongRunningOperationDetailsable) + } + return nil +} +// GetStatus gets the status property value. The status property +// returns a *LongRunningOperationStatus when successful +func (m *TelephoneNumberLongRunningOperation) GetStatus()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *TelephoneNumberLongRunningOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + if m.GetNumbers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetNumbers())) + for i, v := range m.GetNumbers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("numbers", cast) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the asynchronous operation was created. +func (m *TelephoneNumberLongRunningOperation) SetCreatedDateTime(value *string)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetNumbers sets the numbers property value. Asynchronous operation details. +func (m *TelephoneNumberLongRunningOperation) SetNumbers(value []TelephoneNumberLongRunningOperationDetailsable)() { + err := m.GetBackingStore().Set("numbers", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *TelephoneNumberLongRunningOperation) SetStatus(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type TelephoneNumberLongRunningOperationable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*string) + GetNumbers()([]TelephoneNumberLongRunningOperationDetailsable) + GetStatus()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) + SetCreatedDateTime(value *string)() + SetNumbers(value []TelephoneNumberLongRunningOperationDetailsable)() + SetStatus(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)() +} diff --git a/models/teamsadministration/telephone_number_long_running_operation_collection_response.go b/models/teamsadministration/telephone_number_long_running_operation_collection_response.go new file mode 100644 index 0000000000..775ad23dda --- /dev/null +++ b/models/teamsadministration/telephone_number_long_running_operation_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TelephoneNumberLongRunningOperationCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewTelephoneNumberLongRunningOperationCollectionResponse instantiates a new TelephoneNumberLongRunningOperationCollectionResponse and sets the default values. +func NewTelephoneNumberLongRunningOperationCollectionResponse()(*TelephoneNumberLongRunningOperationCollectionResponse) { + m := &TelephoneNumberLongRunningOperationCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateTelephoneNumberLongRunningOperationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTelephoneNumberLongRunningOperationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTelephoneNumberLongRunningOperationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TelephoneNumberLongRunningOperationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TelephoneNumberLongRunningOperationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TelephoneNumberLongRunningOperationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []TelephoneNumberLongRunningOperationable when successful +func (m *TelephoneNumberLongRunningOperationCollectionResponse) GetValue()([]TelephoneNumberLongRunningOperationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TelephoneNumberLongRunningOperationable) + } + return nil +} +// Serialize serializes information the current object +func (m *TelephoneNumberLongRunningOperationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseCollectionPaginationCountResponse.Serialize(writer) + if err != nil { + return err + } + if m.GetValue() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue())) + for i, v := range m.GetValue() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("value", cast) + if err != nil { + return err + } + } + return nil +} +// SetValue sets the value property value. The value property +func (m *TelephoneNumberLongRunningOperationCollectionResponse) SetValue(value []TelephoneNumberLongRunningOperationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type TelephoneNumberLongRunningOperationCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]TelephoneNumberLongRunningOperationable) + SetValue(value []TelephoneNumberLongRunningOperationable)() +} diff --git a/models/teamsadministration/telephone_number_long_running_operation_details.go b/models/teamsadministration/telephone_number_long_running_operation_details.go new file mode 100644 index 0000000000..fab73c36e8 --- /dev/null +++ b/models/teamsadministration/telephone_number_long_running_operation_details.go @@ -0,0 +1,229 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TelephoneNumberLongRunningOperationDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTelephoneNumberLongRunningOperationDetails instantiates a new TelephoneNumberLongRunningOperationDetails and sets the default values. +func NewTelephoneNumberLongRunningOperationDetails()(*TelephoneNumberLongRunningOperationDetails) { + m := &TelephoneNumberLongRunningOperationDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTelephoneNumberLongRunningOperationDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTelephoneNumberLongRunningOperationDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTelephoneNumberLongRunningOperationDetails(), nil +} +// 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 (m *TelephoneNumberLongRunningOperationDetails) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["resourceLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceLocation(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ParseLongRunningOperationStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)) + } + return nil + } + res["statusDetail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStatusDetail(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResourceLocation gets the resourceLocation property value. Location of the asynchronous operation. It includes the operation identifier. +// returns a *string when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetResourceLocation()(*string) { + val, err := m.GetBackingStore().Get("resourceLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatus gets the status property value. status of the asynchronous operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. +// returns a *LongRunningOperationStatus when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetStatus()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) + } + return nil +} +// GetStatusDetail gets the statusDetail property value. Indicates the asynchronous operation details. +// returns a *string when successful +func (m *TelephoneNumberLongRunningOperationDetails) GetStatusDetail()(*string) { + val, err := m.GetBackingStore().Get("statusDetail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TelephoneNumberLongRunningOperationDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("resourceLocation", m.GetResourceLocation()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err := writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("statusDetail", m.GetStatusDetail()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TelephoneNumberLongRunningOperationDetails) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TelephoneNumberLongRunningOperationDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TelephoneNumberLongRunningOperationDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetResourceLocation sets the resourceLocation property value. Location of the asynchronous operation. It includes the operation identifier. +func (m *TelephoneNumberLongRunningOperationDetails) SetResourceLocation(value *string)() { + err := m.GetBackingStore().Set("resourceLocation", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. status of the asynchronous operation. The possible values are: notStarted, running, succeeded, failed, unknownFutureValue. +func (m *TelephoneNumberLongRunningOperationDetails) SetStatus(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetStatusDetail sets the statusDetail property value. Indicates the asynchronous operation details. +func (m *TelephoneNumberLongRunningOperationDetails) SetStatusDetail(value *string)() { + err := m.GetBackingStore().Set("statusDetail", value) + if err != nil { + panic(err) + } +} +type TelephoneNumberLongRunningOperationDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetResourceLocation()(*string) + GetStatus()(*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus) + GetStatusDetail()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetResourceLocation(value *string)() + SetStatus(value *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LongRunningOperationStatus)() + SetStatusDetail(value *string)() +} diff --git a/models/teamsadministration/telephone_number_management_root.go b/models/teamsadministration/telephone_number_management_root.go new file mode 100644 index 0000000000..822f9f1e79 --- /dev/null +++ b/models/teamsadministration/telephone_number_management_root.go @@ -0,0 +1,141 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamsadministration + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type TelephoneNumberManagementRoot struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewTelephoneNumberManagementRoot instantiates a new TelephoneNumberManagementRoot and sets the default values. +func NewTelephoneNumberManagementRoot()(*TelephoneNumberManagementRoot) { + m := &TelephoneNumberManagementRoot{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateTelephoneNumberManagementRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTelephoneNumberManagementRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTelephoneNumberManagementRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TelephoneNumberManagementRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["numberAssignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateNumberAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]NumberAssignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(NumberAssignmentable) + } + } + m.SetNumberAssignments(res) + } + return nil + } + res["operations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateTelephoneNumberLongRunningOperationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]TelephoneNumberLongRunningOperationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(TelephoneNumberLongRunningOperationable) + } + } + m.SetOperations(res) + } + return nil + } + return res +} +// GetNumberAssignments gets the numberAssignments property value. Represents a collection of synchronous telephone number management operations. +// returns a []NumberAssignmentable when successful +func (m *TelephoneNumberManagementRoot) GetNumberAssignments()([]NumberAssignmentable) { + val, err := m.GetBackingStore().Get("numberAssignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]NumberAssignmentable) + } + return nil +} +// GetOperations gets the operations property value. Represents a collection of asynchronous telephone number management operations. +// returns a []TelephoneNumberLongRunningOperationable when successful +func (m *TelephoneNumberManagementRoot) GetOperations()([]TelephoneNumberLongRunningOperationable) { + val, err := m.GetBackingStore().Get("operations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TelephoneNumberLongRunningOperationable) + } + return nil +} +// Serialize serializes information the current object +func (m *TelephoneNumberManagementRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetNumberAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetNumberAssignments())) + for i, v := range m.GetNumberAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("numberAssignments", cast) + if err != nil { + return err + } + } + if m.GetOperations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOperations())) + for i, v := range m.GetOperations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("operations", cast) + if err != nil { + return err + } + } + return nil +} +// SetNumberAssignments sets the numberAssignments property value. Represents a collection of synchronous telephone number management operations. +func (m *TelephoneNumberManagementRoot) SetNumberAssignments(value []NumberAssignmentable)() { + err := m.GetBackingStore().Set("numberAssignments", value) + if err != nil { + panic(err) + } +} +// SetOperations sets the operations property value. Represents a collection of asynchronous telephone number management operations. +func (m *TelephoneNumberManagementRoot) SetOperations(value []TelephoneNumberLongRunningOperationable)() { + err := m.GetBackingStore().Set("operations", value) + if err != nil { + panic(err) + } +} +type TelephoneNumberManagementRootable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetNumberAssignments()([]NumberAssignmentable) + GetOperations()([]TelephoneNumberLongRunningOperationable) + SetNumberAssignments(value []NumberAssignmentable)() + SetOperations(value []TelephoneNumberLongRunningOperationable)() +} diff --git a/models/user.go b/models/user.go index 4c8ecbb7da..3482a04de8 100644 --- a/models/user.go +++ b/models/user.go @@ -24,6 +24,24 @@ func NewUser()(*User) { // CreateUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.agentUser": + return NewAgentUser(), nil + } + } + } + } return NewUser(), nil } // GetAboutMe gets the aboutMe property value. A freeform text entry field for the user to describe themselves. Returned only on $select. @@ -1280,6 +1298,16 @@ func (m *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["identityParentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentityParentId(val) + } + return nil + } res["imAddresses"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfPrimitiveValues("string") if err != nil { @@ -2310,6 +2338,18 @@ func (m *User) GetIdentities()([]ObjectIdentityable) { } return nil } +// GetIdentityParentId gets the identityParentId property value. The identityParentId property +// returns a *string when successful +func (m *User) GetIdentityParentId()(*string) { + val, err := m.GetBackingStore().Get("identityParentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetImAddresses gets the imAddresses property value. The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith). // returns a []string when successful func (m *User) GetImAddresses()([]string) { @@ -3720,6 +3760,12 @@ func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteStringValue("identityParentId", m.GetIdentityParentId()) + if err != nil { + return err + } + } if m.GetImAddresses() != nil { err = writer.WriteCollectionOfStringValues("imAddresses", m.GetImAddresses()) if err != nil { @@ -4705,6 +4751,13 @@ func (m *User) SetIdentities(value []ObjectIdentityable)() { panic(err) } } +// SetIdentityParentId sets the identityParentId property value. The identityParentId property +func (m *User) SetIdentityParentId(value *string)() { + err := m.GetBackingStore().Set("identityParentId", value) + if err != nil { + panic(err) + } +} // SetImAddresses sets the imAddresses property value. The instant message voice-over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith). func (m *User) SetImAddresses(value []string)() { err := m.GetBackingStore().Set("imAddresses", value) @@ -5321,6 +5374,7 @@ type Userable interface { GetGivenName()(*string) GetHireDate()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetIdentities()([]ObjectIdentityable) + GetIdentityParentId()(*string) GetImAddresses()([]string) GetInferenceClassification()(InferenceClassificationable) GetInsights()(ItemInsightsable) @@ -5454,6 +5508,7 @@ type Userable interface { SetGivenName(value *string)() SetHireDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetIdentities(value []ObjectIdentityable)() + SetIdentityParentId(value *string)() SetImAddresses(value []string)() SetInferenceClassification(value InferenceClassificationable)() SetInsights(value ItemInsightsable)() diff --git a/models/x509_certificate_authentication_method_configuration.go b/models/x509_certificate_authentication_method_configuration.go index bf4d6234da..a76ce4e908 100644 --- a/models/x509_certificate_authentication_method_configuration.go +++ b/models/x509_certificate_authentication_method_configuration.go @@ -36,6 +36,18 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetAuthenticationMode } return nil } +// GetCertificateAuthorityScopes gets the certificateAuthorityScopes property value. The certificateAuthorityScopes property +// returns a []X509CertificateAuthorityScopeable when successful +func (m *X509CertificateAuthenticationMethodConfiguration) GetCertificateAuthorityScopes()([]X509CertificateAuthorityScopeable) { + val, err := m.GetBackingStore().Get("certificateAuthorityScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]X509CertificateAuthorityScopeable) + } + return nil +} // GetCertificateUserBindings gets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. // returns a []X509CertificateUserBindingable when successful func (m *X509CertificateAuthenticationMethodConfiguration) GetCertificateUserBindings()([]X509CertificateUserBindingable) { @@ -74,6 +86,22 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetFieldDeserializers } return nil } + res["certificateAuthorityScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateX509CertificateAuthorityScopeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]X509CertificateAuthorityScopeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(X509CertificateAuthorityScopeable) + } + } + m.SetCertificateAuthorityScopes(res) + } + return nil + } res["certificateUserBindings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateX509CertificateUserBindingFromDiscriminatorValue) if err != nil { @@ -116,6 +144,16 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetFieldDeserializers } return nil } + res["issuerHintsConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateX509CertificateIssuerHintsConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIssuerHintsConfiguration(val.(X509CertificateIssuerHintsConfigurationable)) + } + return nil + } return res } // GetIncludeTargets gets the includeTargets property value. A collection of groups that are enabled to use the authentication method. @@ -130,6 +168,18 @@ func (m *X509CertificateAuthenticationMethodConfiguration) GetIncludeTargets()([ } return nil } +// GetIssuerHintsConfiguration gets the issuerHintsConfiguration property value. The issuerHintsConfiguration property +// returns a X509CertificateIssuerHintsConfigurationable when successful +func (m *X509CertificateAuthenticationMethodConfiguration) GetIssuerHintsConfiguration()(X509CertificateIssuerHintsConfigurationable) { + val, err := m.GetBackingStore().Get("issuerHintsConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(X509CertificateIssuerHintsConfigurationable) + } + return nil +} // Serialize serializes information the current object func (m *X509CertificateAuthenticationMethodConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.AuthenticationMethodConfiguration.Serialize(writer) @@ -142,6 +192,18 @@ func (m *X509CertificateAuthenticationMethodConfiguration) Serialize(writer i878 return err } } + if m.GetCertificateAuthorityScopes() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCertificateAuthorityScopes())) + for i, v := range m.GetCertificateAuthorityScopes() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("certificateAuthorityScopes", cast) + if err != nil { + return err + } + } if m.GetCertificateUserBindings() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCertificateUserBindings())) for i, v := range m.GetCertificateUserBindings() { @@ -172,6 +234,12 @@ func (m *X509CertificateAuthenticationMethodConfiguration) Serialize(writer i878 return err } } + { + err = writer.WriteObjectValue("issuerHintsConfiguration", m.GetIssuerHintsConfiguration()) + if err != nil { + return err + } + } return nil } // SetAuthenticationModeConfiguration sets the authenticationModeConfiguration property value. Defines strong authentication configurations. This configuration includes the default authentication mode and the different rules for strong authentication bindings. @@ -181,6 +249,13 @@ func (m *X509CertificateAuthenticationMethodConfiguration) SetAuthenticationMode panic(err) } } +// SetCertificateAuthorityScopes sets the certificateAuthorityScopes property value. The certificateAuthorityScopes property +func (m *X509CertificateAuthenticationMethodConfiguration) SetCertificateAuthorityScopes(value []X509CertificateAuthorityScopeable)() { + err := m.GetBackingStore().Set("certificateAuthorityScopes", value) + if err != nil { + panic(err) + } +} // SetCertificateUserBindings sets the certificateUserBindings property value. Defines fields in the X.509 certificate that map to attributes of the Microsoft Entra user object in order to bind the certificate to the user. The priority of the object determines the order in which the binding is carried out. The first binding that matches will be used and the rest ignored. func (m *X509CertificateAuthenticationMethodConfiguration) SetCertificateUserBindings(value []X509CertificateUserBindingable)() { err := m.GetBackingStore().Set("certificateUserBindings", value) @@ -202,15 +277,26 @@ func (m *X509CertificateAuthenticationMethodConfiguration) SetIncludeTargets(val panic(err) } } +// SetIssuerHintsConfiguration sets the issuerHintsConfiguration property value. The issuerHintsConfiguration property +func (m *X509CertificateAuthenticationMethodConfiguration) SetIssuerHintsConfiguration(value X509CertificateIssuerHintsConfigurationable)() { + err := m.GetBackingStore().Set("issuerHintsConfiguration", value) + if err != nil { + panic(err) + } +} type X509CertificateAuthenticationMethodConfigurationable interface { AuthenticationMethodConfigurationable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthenticationModeConfiguration()(X509CertificateAuthenticationModeConfigurationable) + GetCertificateAuthorityScopes()([]X509CertificateAuthorityScopeable) GetCertificateUserBindings()([]X509CertificateUserBindingable) GetCrlValidationConfiguration()(X509CertificateCRLValidationConfigurationable) GetIncludeTargets()([]AuthenticationMethodTargetable) + GetIssuerHintsConfiguration()(X509CertificateIssuerHintsConfigurationable) SetAuthenticationModeConfiguration(value X509CertificateAuthenticationModeConfigurationable)() + SetCertificateAuthorityScopes(value []X509CertificateAuthorityScopeable)() SetCertificateUserBindings(value []X509CertificateUserBindingable)() SetCrlValidationConfiguration(value X509CertificateCRLValidationConfigurationable)() SetIncludeTargets(value []AuthenticationMethodTargetable)() + SetIssuerHintsConfiguration(value X509CertificateIssuerHintsConfigurationable)() } diff --git a/models/x509_certificate_authority_scope.go b/models/x509_certificate_authority_scope.go new file mode 100644 index 0000000000..c08a4d56cc --- /dev/null +++ b/models/x509_certificate_authority_scope.go @@ -0,0 +1,239 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type X509CertificateAuthorityScope struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewX509CertificateAuthorityScope instantiates a new X509CertificateAuthorityScope and sets the default values. +func NewX509CertificateAuthorityScope()(*X509CertificateAuthorityScope) { + m := &X509CertificateAuthorityScope{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateX509CertificateAuthorityScopeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateX509CertificateAuthorityScopeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewX509CertificateAuthorityScope(), nil +} +// 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 (m *X509CertificateAuthorityScope) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *X509CertificateAuthorityScope) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *X509CertificateAuthorityScope) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["includeTargets"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIncludeTargetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IncludeTargetable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IncludeTargetable) + } + } + m.SetIncludeTargets(res) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["publicKeyInfrastructureIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPublicKeyInfrastructureIdentifier(val) + } + return nil + } + res["subjectKeyIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubjectKeyIdentifier(val) + } + return nil + } + return res +} +// GetIncludeTargets gets the includeTargets property value. The includeTargets property +// returns a []IncludeTargetable when successful +func (m *X509CertificateAuthorityScope) GetIncludeTargets()([]IncludeTargetable) { + val, err := m.GetBackingStore().Get("includeTargets") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IncludeTargetable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *X509CertificateAuthorityScope) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicKeyInfrastructureIdentifier gets the publicKeyInfrastructureIdentifier property value. The publicKeyInfrastructureIdentifier property +// returns a *string when successful +func (m *X509CertificateAuthorityScope) GetPublicKeyInfrastructureIdentifier()(*string) { + val, err := m.GetBackingStore().Get("publicKeyInfrastructureIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubjectKeyIdentifier gets the subjectKeyIdentifier property value. The subjectKeyIdentifier property +// returns a *string when successful +func (m *X509CertificateAuthorityScope) GetSubjectKeyIdentifier()(*string) { + val, err := m.GetBackingStore().Get("subjectKeyIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *X509CertificateAuthorityScope) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetIncludeTargets() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIncludeTargets())) + for i, v := range m.GetIncludeTargets() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("includeTargets", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("publicKeyInfrastructureIdentifier", m.GetPublicKeyInfrastructureIdentifier()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("subjectKeyIdentifier", m.GetSubjectKeyIdentifier()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *X509CertificateAuthorityScope) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *X509CertificateAuthorityScope) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIncludeTargets sets the includeTargets property value. The includeTargets property +func (m *X509CertificateAuthorityScope) SetIncludeTargets(value []IncludeTargetable)() { + err := m.GetBackingStore().Set("includeTargets", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *X509CertificateAuthorityScope) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPublicKeyInfrastructureIdentifier sets the publicKeyInfrastructureIdentifier property value. The publicKeyInfrastructureIdentifier property +func (m *X509CertificateAuthorityScope) SetPublicKeyInfrastructureIdentifier(value *string)() { + err := m.GetBackingStore().Set("publicKeyInfrastructureIdentifier", value) + if err != nil { + panic(err) + } +} +// SetSubjectKeyIdentifier sets the subjectKeyIdentifier property value. The subjectKeyIdentifier property +func (m *X509CertificateAuthorityScope) SetSubjectKeyIdentifier(value *string)() { + err := m.GetBackingStore().Set("subjectKeyIdentifier", value) + if err != nil { + panic(err) + } +} +type X509CertificateAuthorityScopeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIncludeTargets()([]IncludeTargetable) + GetOdataType()(*string) + GetPublicKeyInfrastructureIdentifier()(*string) + GetSubjectKeyIdentifier()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIncludeTargets(value []IncludeTargetable)() + SetOdataType(value *string)() + SetPublicKeyInfrastructureIdentifier(value *string)() + SetSubjectKeyIdentifier(value *string)() +} diff --git a/models/x509_certificate_issuer_hints_configuration.go b/models/x509_certificate_issuer_hints_configuration.go new file mode 100644 index 0000000000..868ec4ccf2 --- /dev/null +++ b/models/x509_certificate_issuer_hints_configuration.go @@ -0,0 +1,154 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type X509CertificateIssuerHintsConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewX509CertificateIssuerHintsConfiguration instantiates a new X509CertificateIssuerHintsConfiguration and sets the default values. +func NewX509CertificateIssuerHintsConfiguration()(*X509CertificateIssuerHintsConfiguration) { + m := &X509CertificateIssuerHintsConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateX509CertificateIssuerHintsConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateX509CertificateIssuerHintsConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewX509CertificateIssuerHintsConfiguration(), nil +} +// 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 (m *X509CertificateIssuerHintsConfiguration) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *X509CertificateIssuerHintsConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *X509CertificateIssuerHintsConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseX509CertificateIssuerHintsState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*X509CertificateIssuerHintsState)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *X509CertificateIssuerHintsConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *X509CertificateIssuerHintsState when successful +func (m *X509CertificateIssuerHintsConfiguration) GetState()(*X509CertificateIssuerHintsState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*X509CertificateIssuerHintsState) + } + return nil +} +// Serialize serializes information the current object +func (m *X509CertificateIssuerHintsConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *X509CertificateIssuerHintsConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *X509CertificateIssuerHintsConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *X509CertificateIssuerHintsConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *X509CertificateIssuerHintsConfiguration) SetState(value *X509CertificateIssuerHintsState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +type X509CertificateIssuerHintsConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetState()(*X509CertificateIssuerHintsState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetState(value *X509CertificateIssuerHintsState)() +} diff --git a/models/x509_certificate_issuer_hints_state.go b/models/x509_certificate_issuer_hints_state.go new file mode 100644 index 0000000000..acd8492082 --- /dev/null +++ b/models/x509_certificate_issuer_hints_state.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type X509CertificateIssuerHintsState int + +const ( + DISABLED_X509CERTIFICATEISSUERHINTSSTATE X509CertificateIssuerHintsState = iota + ENABLED_X509CERTIFICATEISSUERHINTSSTATE + UNKNOWNFUTUREVALUE_X509CERTIFICATEISSUERHINTSSTATE +) + +func (i X509CertificateIssuerHintsState) String() string { + return []string{"disabled", "enabled", "unknownFutureValue"}[i] +} +func ParseX509CertificateIssuerHintsState(v string) (any, error) { + result := DISABLED_X509CERTIFICATEISSUERHINTSSTATE + switch v { + case "disabled": + result = DISABLED_X509CERTIFICATEISSUERHINTSSTATE + case "enabled": + result = ENABLED_X509CERTIFICATEISSUERHINTSSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_X509CERTIFICATEISSUERHINTSSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeX509CertificateIssuerHintsState(values []X509CertificateIssuerHintsState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i X509CertificateIssuerHintsState) isMultiValue() bool { + return false +} diff --git a/organization/item_restore_request_builder.go b/organization/item_restore_request_builder.go index af74b05ace..e184d76ab1 100644 --- a/organization/item_restore_request_builder.go +++ b/organization/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/permissiongrants/item_restore_request_builder.go b/permissiongrants/item_restore_request_builder.go index 55f9d5ed35..52c79347ac 100644 --- a/permissiongrants/item_restore_request_builder.go +++ b/permissiongrants/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/item_restore_request_builder.go b/serviceprincipals/item_restore_request_builder.go index c1f09f1c50..c4e78a2b29 100644 --- a/serviceprincipals/item_restore_request_builder.go +++ b/serviceprincipals/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/service_principal_item_request_builder.go b/serviceprincipals/service_principal_item_request_builder.go index 87d21add96..35c17eed3f 100644 --- a/serviceprincipals/service_principal_item_request_builder.go +++ b/serviceprincipals/service_principal_item_request_builder.go @@ -21,7 +21,7 @@ type ServicePrincipalItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicePrincipalItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a servicePrincipal object. +// ServicePrincipalItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. type ServicePrincipalItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -112,7 +112,7 @@ func (m *ServicePrincipalItemRequestBuilder) CreatedObjects()(*ItemCreatedObject func (m *ServicePrincipalItemRequestBuilder) DelegatedPermissionClassifications()(*ItemDelegatedPermissionClassificationsRequestBuilder) { return NewItemDelegatedPermissionClassificationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Delete delete a servicePrincipal object. +// Delete delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -146,7 +146,7 @@ func (m *ServicePrincipalItemRequestBuilder) FederatedIdentityCredentials()(*Ite func (m *ServicePrincipalItemRequestBuilder) FederatedIdentityCredentialsWithName(name *string)(*ItemFederatedIdentityCredentialsWithNameRequestBuilder) { return NewItemFederatedIdentityCredentialsWithNameRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, name) } -// Get retrieve the properties and relationships of a servicePrincipal object. +// Get retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. // returns a ServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -204,7 +204,7 @@ func (m *ServicePrincipalItemRequestBuilder) OwnedObjects()(*ItemOwnedObjectsReq func (m *ServicePrincipalItemRequestBuilder) Owners()(*ItemOwnersRequestBuilder) { return NewItemOwnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. +// Patch create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a ServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -252,7 +252,7 @@ func (m *ServicePrincipalItemRequestBuilder) Restore()(*ItemRestoreRequestBuilde func (m *ServicePrincipalItemRequestBuilder) Synchronization()(*ItemSynchronizationRequestBuilder) { return NewItemSynchronizationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete a servicePrincipal object. +// ToDeleteRequestInformation delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. // returns a *RequestInformation when successful func (m *ServicePrincipalItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -263,7 +263,7 @@ func (m *ServicePrincipalItemRequestBuilder) ToDeleteRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. +// ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. // returns a *RequestInformation when successful func (m *ServicePrincipalItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -287,7 +287,7 @@ func (m *ServicePrincipalItemRequestBuilder) TokenIssuancePolicies()(*ItemTokenI func (m *ServicePrincipalItemRequestBuilder) TokenLifetimePolicies()(*ItemTokenLifetimePoliciesRequestBuilder) { return NewItemTokenLifetimePoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToPatchRequestInformation create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. +// ToPatchRequestInformation create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a *RequestInformation when successful func (m *ServicePrincipalItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable, requestConfiguration *ServicePrincipalItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/service_principals_request_builder.go b/serviceprincipals/service_principals_request_builder.go index 34e1199f78..bce235deeb 100644 --- a/serviceprincipals/service_principals_request_builder.go +++ b/serviceprincipals/service_principals_request_builder.go @@ -14,7 +14,7 @@ import ( type ServicePrincipalsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ServicePrincipalsRequestBuilderGetQueryParameters retrieve a list of servicePrincipal objects. +// ServicePrincipalsRequestBuilderGetQueryParameters retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. type ServicePrincipalsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -84,7 +84,7 @@ func (m *ServicePrincipalsRequestBuilder) Count()(*CountRequestBuilder) { func (m *ServicePrincipalsRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve a list of servicePrincipal objects. +// Get retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a ServicePrincipalCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -117,7 +117,7 @@ func (m *ServicePrincipalsRequestBuilder) GetAvailableExtensionProperties()(*Get func (m *ServicePrincipalsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { return NewGetByIdsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new servicePrincipal object. +// Post create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a ServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -140,7 +140,7 @@ func (m *ServicePrincipalsRequestBuilder) Post(ctx context.Context, body iadcd81 } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable), nil } -// ToGetRequestInformation retrieve a list of servicePrincipal objects. +// ToGetRequestInformation retrieve a list of servicePrincipal objects. This API also returns agentIdentityBlueprintPrincipal objects, which are identified by the @odata.type property of #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a *RequestInformation when successful func (m *ServicePrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -154,7 +154,7 @@ func (m *ServicePrincipalsRequestBuilder) ToGetRequestInformation(ctx context.Co requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new servicePrincipal object. +// ToPostRequestInformation create a new servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a *RequestInformation when successful func (m *ServicePrincipalsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable, requestConfiguration *ServicePrincipalsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go index 3b45aeaf73..9db2a503bf 100644 --- a/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go +++ b/serviceprincipalswithappid/service_principals_with_app_id_request_builder.go @@ -21,7 +21,7 @@ type ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters retrieve the properties and relationships of a servicePrincipal object. +// ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. type ServicePrincipalsWithAppIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -60,7 +60,7 @@ func NewServicePrincipalsWithAppIdRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewServicePrincipalsWithAppIdRequestBuilderInternal(urlParams, requestAdapter, nil) } -// Delete delete a servicePrincipal object. +// Delete delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -79,7 +79,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) Delete(ctx context.Context, r } return nil } -// Get retrieve the properties and relationships of a servicePrincipal object. +// Get retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. // returns a ServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,7 +102,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) Get(ctx context.Context, requ } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable), nil } -// Patch create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. +// Patch create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a ServicePrincipalable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -125,7 +125,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) Patch(ctx context.Context, bo } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable), nil } -// ToDeleteRequestInformation delete a servicePrincipal object. +// ToDeleteRequestInformation delete a servicePrincipal object. This API can also delete an agentIdentityBlueprintPrincipal object by its ID. // returns a *RequestInformation when successful func (m *ServicePrincipalsWithAppIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -136,7 +136,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToDeleteRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. +// ToGetRequestInformation retrieve the properties and relationships of a servicePrincipal object. This API can be used to get agentIdentityBlueprintPrincipal objects as well by their ID. // returns a *RequestInformation when successful func (m *ServicePrincipalsWithAppIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -150,7 +150,7 @@ func (m *ServicePrincipalsWithAppIdRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. +// ToPatchRequestInformation create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object. This API can also create an agentIdentityBlueprintPrincipal object from an agentIdentityBlueprint if it doesn't exist, or update properties of an existing agentIdentityBlueprintPrincipal, when the @odata.type property is set to #microsoft.graph.agentIdentityBlueprintPrincipal. // returns a *RequestInformation when successful func (m *ServicePrincipalsWithAppIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ServicePrincipalable, requestConfiguration *ServicePrincipalsWithAppIdRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/db601c196113ce3e92a6801aa36e881dd337c68d6115b02d24a2efed80348748.go b/storage/db601c196113ce3e92a6801aa36e881dd337c68d6115b02d24a2efed80348748.go new file mode 100644 index 0000000000..13af70ec36 --- /dev/null +++ b/storage/db601c196113ce3e92a6801aa36e881dd337c68d6115b02d24a2efed80348748.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +type FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters get members from storage +type FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property members for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get members from storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// Patch update the navigation property members in storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// ToDeleteRequestInformation delete navigation property members for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get members from storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property members in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/e5d3aa7b3a1cdaf7751cf91ea49c0081bb3067e122e6802931c7859c17bf4a60.go b/storage/e5d3aa7b3a1cdaf7751cf91ea49c0081bb3067e122e6802931c7859c17bf4a60.go new file mode 100644 index 0000000000..15a118e751 --- /dev/null +++ b/storage/e5d3aa7b3a1cdaf7751cf91ea49c0081bb3067e122e6802931c7859c17bf4a60.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters get members from storage +type FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/{sharePointGroupMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property members for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get members from storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// Patch update the navigation property members in storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// ToDeleteRequestInformation delete navigation property members for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get members from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property members in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_file_storage_container_item_request_builder.go b/storage/file_storage_containers_file_storage_container_item_request_builder.go index 4cb98bc370..e992500455 100644 --- a/storage/file_storage_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_containers_file_storage_container_item_request_builder.go @@ -163,6 +163,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) RecycleBin func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Restore()(*FileStorageContainersItemRestoreRequestBuilder) { return NewFileStorageContainersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SharePointGroups provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemSharePointGroupsRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) SharePointGroups()(*FileStorageContainersItemSharePointGroupsRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property containers for storage // returns a *RequestInformation when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/storage/file_storage_containers_item_columns_column_definition_item_request_builder.go b/storage/file_storage_containers_item_columns_column_definition_item_request_builder.go index 0ff6ec966e..84241bc46e 100644 --- a/storage/file_storage_containers_item_columns_column_definition_item_request_builder.go +++ b/storage/file_storage_containers_item_columns_column_definition_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters get columns from storage +// FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the set of custom structured metadata supported by the fileStorageContainer. Read-write. type FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilder) Del } return nil } -// Get get columns from storage +// Get the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionable, error) { @@ -129,7 +129,7 @@ func (m *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get columns from storage +// ToGetRequestInformation the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a *RequestInformation when successful func (m *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_item_columns_request_builder.go b/storage/file_storage_containers_item_columns_request_builder.go index 974e8c933c..1c3b66b9c6 100644 --- a/storage/file_storage_containers_item_columns_request_builder.go +++ b/storage/file_storage_containers_item_columns_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageContainersItemColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageContainersItemColumnsRequestBuilderGetQueryParameters get columns from storage +// FileStorageContainersItemColumnsRequestBuilderGetQueryParameters the set of custom structured metadata supported by the fileStorageContainer. Read-write. type FileStorageContainersItemColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageContainersItemColumnsRequestBuilder(rawUrl string, requestAda func (m *FileStorageContainersItemColumnsRequestBuilder) Count()(*FileStorageContainersItemColumnsCountRequestBuilder) { return NewFileStorageContainersItemColumnsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get columns from storage +// Get the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageContainersItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemColumnsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageContainersItemColumnsRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionable), nil } -// ToGetRequestInformation get columns from storage +// ToGetRequestInformation the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a *RequestInformation when successful func (m *FileStorageContainersItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_containers_item_share_point_groups_count_request_builder.go b/storage/file_storage_containers_item_share_point_groups_count_request_builder.go new file mode 100644 index 0000000000..4fae5b0dfc --- /dev/null +++ b/storage/file_storage_containers_item_share_point_groups_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemSharePointGroupsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemSharePointGroupsCountRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsCountRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsCountRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsCountRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsCountRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_share_point_groups_item_members_count_request_builder.go b/storage/file_storage_containers_item_share_point_groups_item_members_count_request_builder.go new file mode 100644 index 0000000000..ebb97f09e7 --- /dev/null +++ b/storage/file_storage_containers_item_share_point_groups_item_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_share_point_groups_item_members_request_builder.go b/storage/file_storage_containers_item_share_point_groups_item_members_request_builder.go new file mode 100644 index 0000000000..6de3ab21c7 --- /dev/null +++ b/storage/file_storage_containers_item_share_point_groups_item_members_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +type FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters get members from storage +type FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters +} +// FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointGroupMemberId provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) BySharePointGroupMemberId(sharePointGroupMemberId string)(*FileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointGroupMemberId != "" { + urlTplParams["sharePointGroupMember%2Did"] = sharePointGroupMemberId + } + return NewFileStorageContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) Count()(*FileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get members from storage +// returns a SharePointGroupMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable), nil +} +// Post create new navigation property to members for storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// ToGetRequestInformation get members from storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to members for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_share_point_groups_request_builder.go b/storage/file_storage_containers_item_share_point_groups_request_builder.go new file mode 100644 index 0000000000..17a1b8e6f0 --- /dev/null +++ b/storage/file_storage_containers_item_share_point_groups_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsRequestBuilder provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemSharePointGroupsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters get sharePointGroups from storage +type FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointGroupId provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) BySharePointGroupId(sharePointGroupId string)(*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointGroupId != "" { + urlTplParams["sharePointGroup%2Did"] = sharePointGroupId + } + return NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemSharePointGroupsRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemSharePointGroupsCountRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) Count()(*FileStorageContainersItemSharePointGroupsCountRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get sharePointGroups from storage +// returns a SharePointGroupCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable), nil +} +// Post create new navigation property to sharePointGroups for storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// ToGetRequestInformation get sharePointGroups from storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to sharePointGroups for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_share_point_groups_share_point_group_item_request_builder.go b/storage/file_storage_containers_item_share_point_groups_share_point_group_item_request_builder.go new file mode 100644 index 0000000000..291b7d586c --- /dev/null +++ b/storage/file_storage_containers_item_share_point_groups_share_point_group_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters get sharePointGroups from storage +type FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal instantiates a new FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + m := &FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder instantiates a new FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sharePointGroups for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get sharePointGroups from storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// Members provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +// returns a *FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Members()(*FileStorageContainersItemSharePointGroupsItemMembersRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property sharePointGroups in storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// ToDeleteRequestInformation delete navigation property sharePointGroups for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get sharePointGroups from storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sharePointGroups in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder when successful +func (m *FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + return NewFileStorageContainersItemSharePointGroupsSharePointGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go index 040f676eda..7463fbad31 100644 --- a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go @@ -163,6 +163,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Rec func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Restore()(*FileStorageDeletedContainersItemRestoreRequestBuilder) { return NewFileStorageDeletedContainersItemRestoreRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// SharePointGroups provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) SharePointGroups()(*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property deletedContainers for storage // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/storage/file_storage_deleted_containers_item_columns_column_definition_item_request_builder.go b/storage/file_storage_deleted_containers_item_columns_column_definition_item_request_builder.go index e4dc6e3df2..2ec5cdf553 100644 --- a/storage/file_storage_deleted_containers_item_columns_column_definition_item_request_builder.go +++ b/storage/file_storage_deleted_containers_item_columns_column_definition_item_request_builder.go @@ -21,7 +21,7 @@ type FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderDe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters get columns from storage +// FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters the set of custom structured metadata supported by the fileStorageContainer. Read-write. type FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuild } return nil } -// Get get columns from storage +// Get the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a ColumnDefinitionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionable, error) { @@ -129,7 +129,7 @@ func (m *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuild requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get columns from storage +// ToGetRequestInformation the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemColumnsColumnDefinitionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_deleted_containers_item_columns_request_builder.go b/storage/file_storage_deleted_containers_item_columns_request_builder.go index 736b298a28..3ba46e96f0 100644 --- a/storage/file_storage_deleted_containers_item_columns_request_builder.go +++ b/storage/file_storage_deleted_containers_item_columns_request_builder.go @@ -14,7 +14,7 @@ import ( type FileStorageDeletedContainersItemColumnsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// FileStorageDeletedContainersItemColumnsRequestBuilderGetQueryParameters get columns from storage +// FileStorageDeletedContainersItemColumnsRequestBuilderGetQueryParameters the set of custom structured metadata supported by the fileStorageContainer. Read-write. type FileStorageDeletedContainersItemColumnsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewFileStorageDeletedContainersItemColumnsRequestBuilder(rawUrl string, req func (m *FileStorageDeletedContainersItemColumnsRequestBuilder) Count()(*FileStorageDeletedContainersItemColumnsCountRequestBuilder) { return NewFileStorageDeletedContainersItemColumnsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get columns from storage +// Get the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a ColumnDefinitionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *FileStorageDeletedContainersItemColumnsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemColumnsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *FileStorageDeletedContainersItemColumnsRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ColumnDefinitionable), nil } -// ToGetRequestInformation get columns from storage +// ToGetRequestInformation the set of custom structured metadata supported by the fileStorageContainer. Read-write. // returns a *RequestInformation when successful func (m *FileStorageDeletedContainersItemColumnsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemColumnsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/file_storage_deleted_containers_item_share_point_groups_count_request_builder.go b/storage/file_storage_deleted_containers_item_share_point_groups_count_request_builder.go new file mode 100644 index 0000000000..5f685413d8 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_share_point_groups_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_share_point_groups_item_members_count_request_builder.go b/storage/file_storage_deleted_containers_item_share_point_groups_item_members_count_request_builder.go new file mode 100644 index 0000000000..ad5afb2ea1 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_share_point_groups_item_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.SendPrimitive(ctx, requestInfo, "int32", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(*int32), nil +} +// ToGetRequestInformation get the number of the resource +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_share_point_groups_item_members_request_builder.go b/storage/file_storage_deleted_containers_item_share_point_groups_item_members_request_builder.go new file mode 100644 index 0000000000..49f8afa61c --- /dev/null +++ b/storage/file_storage_deleted_containers_item_share_point_groups_item_members_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters get members from storage +type FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointGroupMemberId provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) BySharePointGroupMemberId(sharePointGroupMemberId string)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointGroupMemberId != "" { + urlTplParams["sharePointGroupMember%2Did"] = sharePointGroupMemberId + } + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersSharePointGroupMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) Count()(*FileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get members from storage +// returns a SharePointGroupMemberCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberCollectionResponseable), nil +} +// Post create new navigation property to members for storage +// returns a SharePointGroupMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable), nil +} +// ToGetRequestInformation get members from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to members for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupMemberable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_share_point_groups_request_builder.go b/storage/file_storage_deleted_containers_item_share_point_groups_request_builder.go new file mode 100644 index 0000000000..5937ce7143 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_share_point_groups_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsRequestBuilder provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemSharePointGroupsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters get sharePointGroups from storage +type FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointGroupId provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) BySharePointGroupId(sharePointGroupId string)(*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointGroupId != "" { + urlTplParams["sharePointGroup%2Did"] = sharePointGroupId + } + return NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) Count()(*FileStorageDeletedContainersItemSharePointGroupsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get sharePointGroups from storage +// returns a SharePointGroupCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupCollectionResponseable), nil +} +// Post create new navigation property to sharePointGroups for storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// ToGetRequestInformation get sharePointGroups from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to sharePointGroups for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_share_point_groups_share_point_group_item_request_builder.go b/storage/file_storage_deleted_containers_item_share_point_groups_share_point_group_item_request_builder.go new file mode 100644 index 0000000000..f2efaf5272 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_share_point_groups_share_point_group_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder provides operations to manage the sharePointGroups property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters get sharePointGroups from storage +type FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + m := &FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/sharePointGroups/{sharePointGroup%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder instantiates a new FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sharePointGroups for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get sharePointGroups from storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// Members provides operations to manage the members property of the microsoft.graph.sharePointGroup entity. +// returns a *FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Members()(*FileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsItemMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property sharePointGroups in storage +// returns a SharePointGroupable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointGroupFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable), nil +} +// ToDeleteRequestInformation delete navigation property sharePointGroups for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get sharePointGroups from storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property sharePointGroups in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointGroupable, requestConfiguration *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder) { + return NewFileStorageDeletedContainersItemSharePointGroupsSharePointGroupItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go b/teams/item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..9ee0b76790 --- /dev/null +++ b/teams/item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teams/item_channels_item_messages_item_replies_reply_with_quote_request_builder.go b/teams/item_channels_item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..58e9a8621a --- /dev/null +++ b/teams/item_channels_item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_item_replies_request_builder.go b/teams/item_channels_item_messages_item_replies_request_builder.go index f75ca1cc08..5f12866baa 100644 --- a/teams/item_channels_item_messages_item_replies_request_builder.go +++ b/teams/item_channels_item_messages_item_replies_request_builder.go @@ -130,6 +130,11 @@ func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Con } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation list all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, call get channel message. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/teams/item_channels_item_messages_reply_with_quote_post_request_body.go b/teams/item_channels_item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..8314f8e95f --- /dev/null +++ b/teams/item_channels_item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChannelsItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChannelsItemMessagesReplyWithQuotePostRequestBody instantiates a new ItemChannelsItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemChannelsItemMessagesReplyWithQuotePostRequestBody()(*ItemChannelsItemMessagesReplyWithQuotePostRequestBody) { + m := &ItemChannelsItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teams/item_channels_item_messages_reply_with_quote_request_builder.go b/teams/item_channels_item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..55a64732fe --- /dev/null +++ b/teams/item_channels_item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChannelsItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemChannelsItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + m := &ItemChannelsItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemChannelsItemMessagesReplyWithQuoteRequestBuilder instantiates a new ItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 564caefa9c..d587040bb6 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -130,6 +130,11 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemChannelsItemMessagesRequestBuilder) ReplyWithQuote()(*ItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/teams/item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go b/teams/item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..a893a8c3ca --- /dev/null +++ b/teams/item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teams/item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go b/teams/item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..ca5eb01ea8 --- /dev/null +++ b/teams/item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_item_replies_request_builder.go b/teams/item_primary_channel_messages_item_replies_request_builder.go index 45fd5a7169..c65bffd1bb 100644 --- a/teams/item_primary_channel_messages_item_replies_request_builder.go +++ b/teams/item_primary_channel_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) Post(ctx context.C } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/teams/item_primary_channel_messages_reply_with_quote_post_request_body.go b/teams/item_primary_channel_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..65df0fb206 --- /dev/null +++ b/teams/item_primary_channel_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPrimaryChannelMessagesReplyWithQuotePostRequestBody instantiates a new ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemPrimaryChannelMessagesReplyWithQuotePostRequestBody()(*ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) { + m := &ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teams/item_primary_channel_messages_reply_with_quote_request_builder.go b/teams/item_primary_channel_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..53af3ff073 --- /dev/null +++ b/teams/item_primary_channel_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + m := &ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder instantiates a new ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_messages_request_builder.go b/teams/item_primary_channel_messages_request_builder.go index 4262379d52..76bc9de13c 100644 --- a/teams/item_primary_channel_messages_request_builder.go +++ b/teams/item_primary_channel_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemPrimaryChannelMessagesRequestBuilder) Post(ctx context.Context, bod } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemPrimaryChannelMessagesRequestBuilder) ReplyWithQuote()(*ItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..38f83dc5d5 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..ac88741f3f --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go index efaccf1555..cddc7beac0 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Post(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*DeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_post_request_body.go b/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..61cd33b168 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody instantiates a new DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody()(*DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) { + m := &DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..3d9f1e0d5e --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + m := &DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder instantiates a new DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go index afab395ffa..d0c7e58e0b 100644 --- a/teamwork/deleted_teams_item_channels_item_messages_request_builder.go +++ b/teamwork/deleted_teams_item_channels_item_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) Post(ctx context.Co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ReplyWithQuote()(*DeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewDeletedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *DeletedTeamsItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeletedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go index 361b3246ae..770d62debb 100644 --- a/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_tenants_multi_tenant_organization_member_item_request_builder.go @@ -99,9 +99,12 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationMemberable), nil } -// Patch update the navigation property tenants in tenantRelationships +// Patch update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. // returns a MultiTenantOrganizationMemberable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganizationmember-update?view=graph-rest-1.0 func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationMemberable, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +147,7 @@ func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property tenants in tenantRelationships +// ToPatchRequestInformation update the properties of a tenant in a multitenant organization. Only owner tenants can call this API. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.MultiTenantOrganizationMemberable, requestConfiguration *MultiTenantOrganizationTenantsMultiTenantOrganizationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go b/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go index ccc707ec71..5ad0452e36 100644 --- a/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go +++ b/users/9060a1b0ba7002b5abed6f47d286b924d1e05ee6db54493540d5fedfb5e76408.go @@ -21,7 +21,7 @@ type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethod // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters represents the external authentication methods registered to a user for authentication using an external identity provider. +// ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters represents the external MFA registered to a user for authentication using an external identity provider. type ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,7 +76,7 @@ func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMe } return nil } -// Get represents the external authentication methods registered to a user for authentication using an external identity provider. +// Get represents the external MFA registered to a user for authentication using an external identity provider. // returns a ExternalAuthenticationMethodable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable, error) { @@ -127,7 +127,7 @@ func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents the external authentication methods registered to a user for authentication using an external identity provider. +// ToGetRequestInformation represents the external MFA registered to a user for authentication using an external identity provider. // returns a *RequestInformation when successful func (m *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsExternalAuthenticationMethodItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_authentication_external_authentication_methods_request_builder.go b/users/item_authentication_external_authentication_methods_request_builder.go index 25b1ce1a58..793d84506d 100644 --- a/users/item_authentication_external_authentication_methods_request_builder.go +++ b/users/item_authentication_external_authentication_methods_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemAuthenticationExternalAuthenticationMethodsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters represents the external authentication methods registered to a user for authentication using an external identity provider. +// ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters represents the external MFA registered to a user for authentication using an external identity provider. type ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewItemAuthenticationExternalAuthenticationMethodsRequestBuilder(rawUrl str func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Count()(*ItemAuthenticationExternalAuthenticationMethodsCountRequestBuilder) { return NewItemAuthenticationExternalAuthenticationMethodsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get represents the external authentication methods registered to a user for authentication using an external identity provider. +// Get represents the external MFA registered to a user for authentication using an external identity provider. // returns a ExternalAuthenticationMethodCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodCollectionResponseable, error) { @@ -122,7 +122,7 @@ func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) Post(ctx } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ExternalAuthenticationMethodable), nil } -// ToGetRequestInformation represents the external authentication methods registered to a user for authentication using an external identity provider. +// ToGetRequestInformation represents the external MFA registered to a user for authentication using an external identity provider. // returns a *RequestInformation when successful func (m *ItemAuthenticationExternalAuthenticationMethodsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAuthenticationExternalAuthenticationMethodsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_chats_item_messages_item_replies_reply_with_quote_post_request_body.go b/users/item_chats_item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..34e727f0b3 --- /dev/null +++ b/users/item_chats_item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_chats_item_messages_item_replies_reply_with_quote_request_builder.go b/users/item_chats_item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..8a48da3e16 --- /dev/null +++ b/users/item_chats_item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_item_replies_request_builder.go b/users/item_chats_item_messages_item_replies_request_builder.go index 4586fe56e7..2721f696fb 100644 --- a/users/item_chats_item_messages_item_replies_request_builder.go +++ b/users/item_chats_item_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) Post(ctx context.Contex } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_chats_item_messages_reply_with_quote_post_request_body.go b/users/item_chats_item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..8521a9166c --- /dev/null +++ b/users/item_chats_item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemMessagesReplyWithQuotePostRequestBody instantiates a new ItemChatsItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemChatsItemMessagesReplyWithQuotePostRequestBody()(*ItemChatsItemMessagesReplyWithQuotePostRequestBody) { + m := &ItemChatsItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemChatsItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_chats_item_messages_reply_with_quote_request_builder.go b/users/item_chats_item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..a3c457916c --- /dev/null +++ b/users/item_chats_item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemChatsItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemChatsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemMessagesReplyWithQuoteRequestBuilder) { + m := &ItemChatsItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemChatsItemMessagesReplyWithQuoteRequestBuilder instantiates a new ItemChatsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemChatsItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemChatsItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemChatsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemChatsItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemChatsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemChatsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_item_messages_request_builder.go b/users/item_chats_item_messages_request_builder.go index 7c6624d49d..21c1dbc63b 100644 --- a/users/item_chats_item_messages_request_builder.go +++ b/users/item_chats_item_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemChatsItemMessagesRequestBuilder) Post(ctx context.Context, body iad } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemChatsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemChatsItemMessagesRequestBuilder) ReplyWithQuote()(*ItemChatsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemChatsItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the chat. Nullable. // returns a *RequestInformation when successful func (m *ItemChatsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemChatsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_insights_shared_count_request_builder.go b/users/item_insights_shared_count_request_builder.go index 0fb5cc4f98..ba4f2375a4 100644 --- a/users/item_insights_shared_count_request_builder.go +++ b/users/item_insights_shared_count_request_builder.go @@ -43,6 +43,7 @@ func NewItemInsightsSharedCountRequestBuilder(rawUrl string, requestAdapter i2ae return NewItemInsightsSharedCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsSharedCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -63,6 +64,7 @@ func (m *ItemInsightsSharedCountRequestBuilder) Get(ctx context.Context, request return res.(*int32), nil } // ToGetRequestInformation get the number of the resource +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -77,6 +79,7 @@ func (m *ItemInsightsSharedCountRequestBuilder) ToGetRequestInformation(ctx cont return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedCountRequestBuilder when successful func (m *ItemInsightsSharedCountRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedCountRequestBuilder) { return NewItemInsightsSharedCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_shared_item_last_shared_method_request_builder.go b/users/item_insights_shared_item_last_shared_method_request_builder.go index f2679e618f..01794e8961 100644 --- a/users/item_insights_shared_item_last_shared_method_request_builder.go +++ b/users/item_insights_shared_item_last_shared_method_request_builder.go @@ -44,6 +44,7 @@ func NewItemInsightsSharedItemLastSharedMethodRequestBuilder(rawUrl string, requ return NewItemInsightsSharedItemLastSharedMethodRequestBuilderInternal(urlParams, requestAdapter) } // Get get lastSharedMethod from users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a Entityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsSharedItemLastSharedMethodRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable, error) { @@ -64,6 +65,7 @@ func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) Get(ctx context.C return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable), nil } // ToGetRequestInformation get lastSharedMethod from users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedItemLastSharedMethodRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -78,6 +80,7 @@ func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) ToGetRequestInfor return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedItemLastSharedMethodRequestBuilder when successful func (m *ItemInsightsSharedItemLastSharedMethodRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedItemLastSharedMethodRequestBuilder) { return NewItemInsightsSharedItemLastSharedMethodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_shared_item_resource_request_builder.go b/users/item_insights_shared_item_resource_request_builder.go index 7b2b58b403..3bc52092d1 100644 --- a/users/item_insights_shared_item_resource_request_builder.go +++ b/users/item_insights_shared_item_resource_request_builder.go @@ -44,6 +44,7 @@ func NewItemInsightsSharedItemResourceRequestBuilder(rawUrl string, requestAdapt return NewItemInsightsSharedItemResourceRequestBuilderInternal(urlParams, requestAdapter) } // Get used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a Entityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedItemResourceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsSharedItemResourceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable, error) { @@ -64,6 +65,7 @@ func (m *ItemInsightsSharedItemResourceRequestBuilder) Get(ctx context.Context, return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable), nil } // ToGetRequestInformation used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedItemResourceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -78,6 +80,7 @@ func (m *ItemInsightsSharedItemResourceRequestBuilder) ToGetRequestInformation(c return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedItemResourceRequestBuilder when successful func (m *ItemInsightsSharedItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedItemResourceRequestBuilder) { return NewItemInsightsSharedItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_shared_request_builder.go b/users/item_insights_shared_request_builder.go index 22e6a1c6e5..635a58034d 100644 --- a/users/item_insights_shared_request_builder.go +++ b/users/item_insights_shared_request_builder.go @@ -50,6 +50,7 @@ type ItemInsightsSharedRequestBuilderPostRequestConfiguration struct { Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } // BySharedInsightId provides operations to manage the shared property of the microsoft.graph.officeGraphInsights entity. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedSharedInsightItemRequestBuilder when successful func (m *ItemInsightsSharedRequestBuilder) BySharedInsightId(sharedInsightId string)(*ItemInsightsSharedSharedInsightItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -80,6 +81,7 @@ func (m *ItemInsightsSharedRequestBuilder) Count()(*ItemInsightsSharedCountReque return NewItemInsightsSharedCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a SharedInsightCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsSharedRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightCollectionResponseable, error) { @@ -100,6 +102,7 @@ func (m *ItemInsightsSharedRequestBuilder) Get(ctx context.Context, requestConfi return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightCollectionResponseable), nil } // Post create new navigation property to shared for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a SharedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, requestConfiguration *ItemInsightsSharedRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, error) { @@ -120,6 +123,7 @@ func (m *ItemInsightsSharedRequestBuilder) Post(ctx context.Context, body iadcd8 return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable), nil } // ToGetRequestInformation calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,6 +138,7 @@ func (m *ItemInsightsSharedRequestBuilder) ToGetRequestInformation(ctx context.C return requestInfo, nil } // ToPostRequestInformation create new navigation property to shared for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, requestConfiguration *ItemInsightsSharedRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,6 +154,7 @@ func (m *ItemInsightsSharedRequestBuilder) ToPostRequestInformation(ctx context. return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedRequestBuilder when successful func (m *ItemInsightsSharedRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedRequestBuilder) { return NewItemInsightsSharedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_shared_shared_insight_item_request_builder.go b/users/item_insights_shared_shared_insight_item_request_builder.go index ccdb8611d2..7967dab36f 100644 --- a/users/item_insights_shared_shared_insight_item_request_builder.go +++ b/users/item_insights_shared_shared_insight_item_request_builder.go @@ -58,6 +58,7 @@ func NewItemInsightsSharedSharedInsightItemRequestBuilder(rawUrl string, request return NewItemInsightsSharedSharedInsightItemRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete navigation property shared for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -74,6 +75,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) Delete(ctx context.C return nil } // Get calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a SharedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, error) { @@ -99,6 +101,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) LastSharedMethod()(* return NewItemInsightsSharedItemLastSharedMethodRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Patch update the navigation property shared in users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a SharedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, error) { @@ -124,6 +127,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) Resource()(*ItemInsi return NewItemInsightsSharedItemResourceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // ToDeleteRequestInformation delete navigation property shared for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -135,6 +139,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToDeleteRequestInfor return requestInfo, nil } // ToGetRequestInformation calculated relationship that identifies documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for work or school and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,6 +154,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToGetRequestInformat return requestInfo, nil } // ToPatchRequestInformation update the navigation property shared in users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharedInsightable, requestConfiguration *ItemInsightsSharedSharedInsightItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -164,6 +170,7 @@ func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) ToPatchRequestInform return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsSharedSharedInsightItemRequestBuilder when successful func (m *ItemInsightsSharedSharedInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsSharedSharedInsightItemRequestBuilder) { return NewItemInsightsSharedSharedInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_used_count_request_builder.go b/users/item_insights_used_count_request_builder.go index d78f735158..032e1c1656 100644 --- a/users/item_insights_used_count_request_builder.go +++ b/users/item_insights_used_count_request_builder.go @@ -43,6 +43,7 @@ func NewItemInsightsUsedCountRequestBuilder(rawUrl string, requestAdapter i2ae41 return NewItemInsightsUsedCountRequestBuilderInternal(urlParams, requestAdapter) } // Get get the number of the resource +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *int32 when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsUsedCountRequestBuilderGetRequestConfiguration)(*int32, error) { @@ -63,6 +64,7 @@ func (m *ItemInsightsUsedCountRequestBuilder) Get(ctx context.Context, requestCo return res.(*int32), nil } // ToGetRequestInformation get the number of the resource +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsUsedCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -77,6 +79,7 @@ func (m *ItemInsightsUsedCountRequestBuilder) ToGetRequestInformation(ctx contex return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsUsedCountRequestBuilder when successful func (m *ItemInsightsUsedCountRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedCountRequestBuilder) { return NewItemInsightsUsedCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_used_item_resource_request_builder.go b/users/item_insights_used_item_resource_request_builder.go index f81fbc9f6b..5024d14376 100644 --- a/users/item_insights_used_item_resource_request_builder.go +++ b/users/item_insights_used_item_resource_request_builder.go @@ -44,6 +44,7 @@ func NewItemInsightsUsedItemResourceRequestBuilder(rawUrl string, requestAdapter return NewItemInsightsUsedItemResourceRequestBuilderInternal(urlParams, requestAdapter) } // Get used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a Entityable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedItemResourceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsUsedItemResourceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable, error) { @@ -64,6 +65,7 @@ func (m *ItemInsightsUsedItemResourceRequestBuilder) Get(ctx context.Context, re return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable), nil } // ToGetRequestInformation used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedItemResourceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsUsedItemResourceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -78,6 +80,7 @@ func (m *ItemInsightsUsedItemResourceRequestBuilder) ToGetRequestInformation(ctx return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsUsedItemResourceRequestBuilder when successful func (m *ItemInsightsUsedItemResourceRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedItemResourceRequestBuilder) { return NewItemInsightsUsedItemResourceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_used_request_builder.go b/users/item_insights_used_request_builder.go index 0365c4753c..53a6f07ca6 100644 --- a/users/item_insights_used_request_builder.go +++ b/users/item_insights_used_request_builder.go @@ -50,6 +50,7 @@ type ItemInsightsUsedRequestBuilderPostRequestConfiguration struct { Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } // ByUsedInsightId provides operations to manage the used property of the microsoft.graph.officeGraphInsights entity. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsUsedUsedInsightItemRequestBuilder when successful func (m *ItemInsightsUsedRequestBuilder) ByUsedInsightId(usedInsightId string)(*ItemInsightsUsedUsedInsightItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -80,6 +81,7 @@ func (m *ItemInsightsUsedRequestBuilder) Count()(*ItemInsightsUsedCountRequestBu return NewItemInsightsUsedCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // Get calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a UsedInsightCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsUsedRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightCollectionResponseable, error) { @@ -100,6 +102,7 @@ func (m *ItemInsightsUsedRequestBuilder) Get(ctx context.Context, requestConfigu return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightCollectionResponseable), nil } // Post create new navigation property to used for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a UsedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, requestConfiguration *ItemInsightsUsedRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, error) { @@ -120,6 +123,7 @@ func (m *ItemInsightsUsedRequestBuilder) Post(ctx context.Context, body iadcd811 return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable), nil } // ToGetRequestInformation calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsUsedRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -134,6 +138,7 @@ func (m *ItemInsightsUsedRequestBuilder) ToGetRequestInformation(ctx context.Con return requestInfo, nil } // ToPostRequestInformation create new navigation property to used for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, requestConfiguration *ItemInsightsUsedRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -149,6 +154,7 @@ func (m *ItemInsightsUsedRequestBuilder) ToPostRequestInformation(ctx context.Co return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsUsedRequestBuilder when successful func (m *ItemInsightsUsedRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedRequestBuilder) { return NewItemInsightsUsedRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_insights_used_used_insight_item_request_builder.go b/users/item_insights_used_used_insight_item_request_builder.go index c9a75d81e7..03b98fcfce 100644 --- a/users/item_insights_used_used_insight_item_request_builder.go +++ b/users/item_insights_used_used_insight_item_request_builder.go @@ -58,6 +58,7 @@ func NewItemInsightsUsedUsedInsightItemRequestBuilder(rawUrl string, requestAdap return NewItemInsightsUsedUsedInsightItemRequestBuilderInternal(urlParams, requestAdapter) } // Delete delete navigation property used for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); @@ -74,6 +75,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Delete(ctx context.Conte return nil } // Get calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a UsedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, error) { @@ -94,6 +96,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Get(ctx context.Context, return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable), nil } // Patch update the navigation property used in users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a UsedInsightable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, error) { @@ -119,6 +122,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) Resource()(*ItemInsights return NewItemInsightsUsedItemResourceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } // ToDeleteRequestInformation delete navigation property used for users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,6 +134,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToDeleteRequestInformati return requestInfo, nil } // ToGetRequestInformation calculated relationship that identifies the latest documents viewed or modified by a user, including OneDrive for work or school and SharePoint documents, ranked by recency of use. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -144,6 +149,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToGetRequestInformation( return requestInfo, nil } // ToPatchRequestInformation update the navigation property used in users +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *RequestInformation when successful func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UsedInsightable, requestConfiguration *ItemInsightsUsedUsedInsightItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -159,6 +165,7 @@ func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) ToPatchRequestInformatio return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after January, 2028. as of 2026-01/Removal on 2026-01-28 and will be removed 2028-01-01 // returns a *ItemInsightsUsedUsedInsightItemRequestBuilder when successful func (m *ItemInsightsUsedUsedInsightItemRequestBuilder) WithUrl(rawUrl string)(*ItemInsightsUsedUsedInsightItemRequestBuilder) { return NewItemInsightsUsedUsedInsightItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go b/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..9dd515ce4b --- /dev/null +++ b/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go b/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..318fef4d23 --- /dev/null +++ b/users/item_joined_teams_item_channels_item_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_item_channels_item_messages_item_replies_request_builder.go b/users/item_joined_teams_item_channels_item_messages_item_replies_request_builder.go index 335630e626..c19681d9ce 100644 --- a/users/item_joined_teams_item_channels_item_messages_item_replies_request_builder.go +++ b/users/item_joined_teams_item_channels_item_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) Post( } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemChannelsItemMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_joined_teams_item_channels_item_messages_reply_with_quote_post_request_body.go b/users/item_joined_teams_item_channels_item_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..cd803d7f72 --- /dev/null +++ b/users/item_joined_teams_item_channels_item_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody instantiates a new ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody()(*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) { + m := &ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_joined_teams_item_channels_item_messages_reply_with_quote_request_builder.go b/users/item_joined_teams_item_channels_item_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..43080e05d3 --- /dev/null +++ b/users/item_joined_teams_item_channels_item_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + m := &ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder instantiates a new ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_item_channels_item_messages_request_builder.go b/users/item_joined_teams_item_channels_item_messages_request_builder.go index f37a88bdea..38f6f9b525 100644 --- a/users/item_joined_teams_item_channels_item_messages_request_builder.go +++ b/users/item_joined_teams_item_channels_item_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder) Post(ctx context } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder) ReplyWithQuote()(*ItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemChannelsItemMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemChannelsItemMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go b/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..e587e4cf95 --- /dev/null +++ b/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody()(*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) { + m := &ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go b/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..451d480a6b --- /dev/null +++ b/users/item_joined_teams_item_primary_channel_messages_item_replies_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + m := &ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/replyWithQuote", pathParameters), + } + return m +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_item_primary_channel_messages_item_replies_request_builder.go b/users/item_joined_teams_item_primary_channel_messages_item_replies_request_builder.go index 8e27c30a3d..723da833a1 100644 --- a/users/item_joined_teams_item_primary_channel_messages_item_replies_request_builder.go +++ b/users/item_joined_teams_item_primary_channel_messages_item_replies_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder) Pos } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder) ReplyWithQuote()(*ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation replies for a specified message. Supports $expand for channel messages. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesItemRepliesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_post_request_body.go b/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_post_request_body.go new file mode 100644 index 0000000000..dd8731c00e --- /dev/null +++ b/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_post_request_body.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody()(*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) { + m := &ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody(), nil +} +// 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 (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetAdditionalData()(map[string]any) { + val , err := m.backingStore.Get("additionalData") + if err != nil { + panic(err) + } + if val == nil { + var value = make(map[string]any); + m.SetAdditionalData(value); + } + return val.(map[string]any) +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["messageIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetMessageIds(res) + } + return nil + } + res["replyMessage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetReplyMessage(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)) + } + return nil + } + return res +} +// GetMessageIds gets the messageIds property value. The messageIds property +// returns a []string when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetMessageIds()([]string) { + val, err := m.GetBackingStore().Get("messageIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReplyMessage gets the replyMessage property value. The replyMessage property +// returns a ChatMessageable when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) { + val, err := m.GetBackingStore().Get("replyMessage") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetMessageIds() != nil { + err := writer.WriteCollectionOfStringValues("messageIds", m.GetMessageIds()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("replyMessage", m.GetReplyMessage()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetMessageIds sets the messageIds property value. The messageIds property +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetMessageIds(value []string)() { + err := m.GetBackingStore().Set("messageIds", value) + if err != nil { + panic(err) + } +} +// SetReplyMessage sets the replyMessage property value. The replyMessage property +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBody) SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() { + err := m.GetBackingStore().Set("replyMessage", value) + if err != nil { + panic(err) + } +} +type ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetMessageIds()([]string) + GetReplyMessage()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetMessageIds(value []string)() + SetReplyMessage(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable)() +} diff --git a/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_request_builder.go b/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_request_builder.go new file mode 100644 index 0000000000..ba233756d0 --- /dev/null +++ b/users/item_joined_teams_item_primary_channel_messages_reply_with_quote_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder provides operations to call the replyWithQuote method. +type ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + m := &ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/replyWithQuote", pathParameters), + } + return m +} +// NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder instantiates a new ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder and sets the default values. +func NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(urlParams, requestAdapter) +} +// Post reply with quote to a single chat message or multiple chat messages in a chat. +// returns a ChatMessageable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-1.0 +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) Post(ctx context.Context, body ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateChatMessageFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil +} +// ToPostRequestInformation reply with quote to a single chat message or multiple chat messages in a chat. +// returns a *RequestInformation when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuotePostRequestBodyable, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) WithUrl(rawUrl string)(*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_joined_teams_item_primary_channel_messages_request_builder.go b/users/item_joined_teams_item_primary_channel_messages_request_builder.go index e25b703daa..4a8c98c4c0 100644 --- a/users/item_joined_teams_item_primary_channel_messages_request_builder.go +++ b/users/item_joined_teams_item_primary_channel_messages_request_builder.go @@ -124,6 +124,11 @@ func (m *ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder) Post(ctx conte } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable), nil } +// ReplyWithQuote provides operations to call the replyWithQuote method. +// returns a *ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder when successful +func (m *ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder) ReplyWithQuote()(*ItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilder) { + return NewItemJoinedTeamsItemPrimaryChannelMessagesReplyWithQuoteRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation a collection of all the messages in the channel. A navigation property. Nullable. // returns a *RequestInformation when successful func (m *ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemJoinedTeamsItemPrimaryChannelMessagesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go index 37dd2e66c6..d222b39799 100644 --- a/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_child_folders_item_messages_item_create_forward_request_builder.go @@ -34,12 +34,9 @@ func NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuild urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post invoke action createForward // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +54,7 @@ func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuil } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation invoke action createForward // returns a *RequestInformation when successful func (m *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go index 03dc0562da..8cfdf77862 100644 --- a/users/item_mail_folders_item_messages_item_create_forward_request_builder.go +++ b/users/item_mail_folders_item_messages_item_create_forward_request_builder.go @@ -34,12 +34,9 @@ func NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemMailFoldersItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post invoke action createForward // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +54,7 @@ func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) Post(ctx co } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation invoke action createForward // returns a *RequestInformation when successful func (m *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMailFoldersItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_messages_item_create_forward_request_builder.go b/users/item_messages_item_create_forward_request_builder.go index 4a1fb79b86..153a39a13e 100644 --- a/users/item_messages_item_create_forward_request_builder.go +++ b/users/item_messages_item_create_forward_request_builder.go @@ -34,12 +34,9 @@ func NewItemMessagesItemCreateForwardRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemMessagesItemCreateForwardRequestBuilderInternal(urlParams, requestAdapter) } -// Post create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// Post invoke action createForward // returns a Messageable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code -// [Find more info here] -// -// [Find more info here]: https://learn.microsoft.com/graph/api/message-createforward?view=graph-rest-1.0 func (m *ItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, body ItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -57,7 +54,7 @@ func (m *ItemMessagesItemCreateForwardRequestBuilder) Post(ctx context.Context, } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Messageable), nil } -// ToPostRequestInformation create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. +// ToPostRequestInformation invoke action createForward // returns a *RequestInformation when successful func (m *ItemMessagesItemCreateForwardRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMessagesItemCreateForwardPostRequestBodyable, requestConfiguration *ItemMessagesItemCreateForwardRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_restore_request_builder.go b/users/item_restore_request_builder.go index 9f011361eb..24a416597a 100644 --- a/users/item_restore_request_builder.go +++ b/users/item_restore_request_builder.go @@ -34,7 +34,7 @@ func NewItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26 urlParams["request-raw-url"] = rawUrl return NewItemRestoreRequestBuilderInternal(urlParams, requestAdapter) } -// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// Post restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a DirectoryObjectable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -57,7 +57,7 @@ func (m *ItemRestoreRequestBuilder) Post(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil } -// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. +// ToPostRequestInformation restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- agentIdentityBlueprint- agentIdentity- agentIdentityBlueprintPrincipal- certificateBasedAuthPki- certificateAuthorityDetail- group- servicePrincipal- user If an item is accidentally deleted, you can fully restore the item. Additionally, restoring an application doesn't automatically restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted. // returns a *RequestInformation when successful func (m *ItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemRestoreRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_sponsors_directory_object_item_request_builder.go b/users/item_sponsors_directory_object_item_request_builder.go index 1b3ba68670..3ab4bfbf64 100644 --- a/users/item_sponsors_directory_object_item_request_builder.go +++ b/users/item_sponsors_directory_object_item_request_builder.go @@ -4,36 +4,17 @@ package users import ( - "context" i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" - ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" ) -// ItemSponsorsDirectoryObjectItemRequestBuilder provides operations to manage the sponsors property of the microsoft.graph.user entity. +// ItemSponsorsDirectoryObjectItemRequestBuilder builds and executes requests for operations under \users\{user-id}\sponsors\{directoryObject-id} type ItemSponsorsDirectoryObjectItemRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters the users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. -type ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ItemSponsorsDirectoryObjectItemRequestBuilderGetQueryParameters -} // NewItemSponsorsDirectoryObjectItemRequestBuilderInternal instantiates a new ItemSponsorsDirectoryObjectItemRequestBuilder and sets the default values. func NewItemSponsorsDirectoryObjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { m := &ItemSponsorsDirectoryObjectItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}{?%24expand,%24select}", pathParameters), + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}", pathParameters), } return m } @@ -43,42 +24,8 @@ func NewItemSponsorsDirectoryObjectItemRequestBuilder(rawUrl string, requestAdap urlParams["request-raw-url"] = rawUrl return NewItemSponsorsDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) } -// Get the users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. -// returns a DirectoryObjectable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDirectoryObjectFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable), nil -} -// ToGetRequestInformation the users and groups responsible for this guest's privileges in the tenant and keeping the guest's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand. -// returns a *RequestInformation when successful -func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. -// returns a *ItemSponsorsDirectoryObjectItemRequestBuilder when successful -func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { - return NewItemSponsorsDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +// Ref provides operations to manage the collection of user entities. +// returns a *ItemSponsorsItemRefRequestBuilder when successful +func (m *ItemSponsorsDirectoryObjectItemRequestBuilder) Ref()(*ItemSponsorsItemRefRequestBuilder) { + return NewItemSponsorsItemRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } diff --git a/users/item_sponsors_item_ref_request_builder.go b/users/item_sponsors_item_ref_request_builder.go new file mode 100644 index 0000000000..2447bee6a5 --- /dev/null +++ b/users/item_sponsors_item_ref_request_builder.go @@ -0,0 +1,70 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSponsorsItemRefRequestBuilder provides operations to manage the collection of user entities. +type ItemSponsorsItemRefRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSponsorsItemRefRequestBuilderInternal instantiates a new ItemSponsorsItemRefRequestBuilder and sets the default values. +func NewItemSponsorsItemRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsItemRefRequestBuilder) { + m := &ItemSponsorsItemRefRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/{directoryObject%2Did}/$ref", pathParameters), + } + return m +} +// NewItemSponsorsItemRefRequestBuilder instantiates a new ItemSponsorsItemRefRequestBuilder and sets the default values. +func NewItemSponsorsItemRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsItemRefRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSponsorsItemRefRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete remove a user's sponsor. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete-sponsors?view=graph-rest-1.0 +func (m *ItemSponsorsItemRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToDeleteRequestInformation remove a user's sponsor. +// returns a *RequestInformation when successful +func (m *ItemSponsorsItemRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsItemRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSponsorsItemRefRequestBuilder when successful +func (m *ItemSponsorsItemRefRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsItemRefRequestBuilder) { + return NewItemSponsorsItemRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_sponsors_ref_request_builder.go b/users/item_sponsors_ref_request_builder.go new file mode 100644 index 0000000000..54069923b0 --- /dev/null +++ b/users/item_sponsors_ref_request_builder.go @@ -0,0 +1,183 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemSponsorsRefRequestBuilder provides operations to manage the collection of user entities. +type ItemSponsorsRefRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSponsorsRefRequestBuilderDeleteQueryParameters remove a user's sponsor. +type ItemSponsorsRefRequestBuilderDeleteQueryParameters struct { + // The delete Uri + Id *string `uriparametername:"%40id"` +} +// ItemSponsorsRefRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSponsorsRefRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSponsorsRefRequestBuilderDeleteQueryParameters +} +// ItemSponsorsRefRequestBuilderGetQueryParameters get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +type ItemSponsorsRefRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Order items by property values + Orderby []string `uriparametername:"%24orderby"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ItemSponsorsRefRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSponsorsRefRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSponsorsRefRequestBuilderGetQueryParameters +} +// ItemSponsorsRefRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSponsorsRefRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSponsorsRefRequestBuilderInternal instantiates a new ItemSponsorsRefRequestBuilder and sets the default values. +func NewItemSponsorsRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsRefRequestBuilder) { + m := &ItemSponsorsRefRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSponsorsRefRequestBuilder instantiates a new ItemSponsorsRefRequestBuilder and sets the default values. +func NewItemSponsorsRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSponsorsRefRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSponsorsRefRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete remove a user's sponsor. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-delete-sponsors?view=graph-rest-1.0 +func (m *ItemSponsorsRefRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSponsorsRefRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +// returns a StringCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-list-sponsors?view=graph-rest-1.0 +func (m *ItemSponsorsRefRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSponsorsRefRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateStringCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable), nil +} +// Post assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/user-post-sponsors?view=graph-rest-1.0 +func (m *ItemSponsorsRefRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemSponsorsRefRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToDeleteRequestInformation remove a user's sponsor. +// returns a *RequestInformation when successful +func (m *ItemSponsorsRefRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsRefRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/users/{user%2Did}/sponsors/$ref?@id={%40id}", m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. +// returns a *RequestInformation when successful +func (m *ItemSponsorsRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, "{+baseurl}/users/{user%2Did}/sponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation assign a user a sponsor. Sponsors are users and groups that are responsible for this guest user's privileges in the tenant and for keeping the guest user's information and access up to date. +// returns a *RequestInformation when successful +func (m *ItemSponsorsRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemSponsorsRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/users/{user%2Did}/sponsors/$ref", m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemSponsorsRefRequestBuilder when successful +func (m *ItemSponsorsRefRequestBuilder) WithUrl(rawUrl string)(*ItemSponsorsRefRequestBuilder) { + return NewItemSponsorsRefRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_sponsors_request_builder.go b/users/item_sponsors_request_builder.go index 7f35ea06bc..a647da0311 100644 --- a/users/item_sponsors_request_builder.go +++ b/users/item_sponsors_request_builder.go @@ -42,7 +42,7 @@ type ItemSponsorsRequestBuilderGetRequestConfiguration struct { // Request query parameters QueryParameters *ItemSponsorsRequestBuilderGetQueryParameters } -// ByDirectoryObjectId provides operations to manage the sponsors property of the microsoft.graph.user entity. +// ByDirectoryObjectId gets an item from the github.com/microsoftgraph/msgraph-sdk-go/.users.item.sponsors.item collection // returns a *ItemSponsorsDirectoryObjectItemRequestBuilder when successful func (m *ItemSponsorsRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*ItemSponsorsDirectoryObjectItemRequestBuilder) { urlTplParams := make(map[string]string) @@ -95,6 +95,11 @@ func (m *ItemSponsorsRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable), nil } +// Ref provides operations to manage the collection of user entities. +// returns a *ItemSponsorsRefRequestBuilder when successful +func (m *ItemSponsorsRequestBuilder) Ref()(*ItemSponsorsRefRequestBuilder) { + return NewItemSponsorsRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date. // returns a *RequestInformation when successful func (m *ItemSponsorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSponsorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {