Compare commits
3 Commits
main
...
column-che
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed0eee7cc3 | ||
|
|
67c630152c | ||
|
|
381039788d |
@ -25,7 +25,7 @@ require (
|
||||
github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056
|
||||
github.com/jhillyerd/enmime v1.1.0
|
||||
github.com/kopia/kopia v0.15.0
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.4
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.5
|
||||
github.com/microsoft/kiota-authentication-azure-go v1.0.1
|
||||
github.com/microsoft/kiota-http-go v1.1.1
|
||||
github.com/microsoft/kiota-serialization-form-go v1.0.0
|
||||
|
||||
@ -197,8 +197,8 @@ github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvls
|
||||
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k=
|
||||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d h1:5PJl274Y63IEHC+7izoQE9x6ikvDFZS2mDVS3drnohI=
|
||||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.4 h1:ljOnE7BBT94xUIFQwzBZVJj2Udh///7/DCGBBRTvcIs=
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.4/go.mod h1:PcgbR/QXB3EePCbP1OM4Hhk1R9a033D4K/gC3ltHv2w=
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.5 h1:ofdQd5b42KzSDJhc11qFeddVd2GIh0FyiGYhUUSLO00=
|
||||
github.com/microsoft/kiota-abstractions-go v1.5.5/go.mod h1:PcgbR/QXB3EePCbP1OM4Hhk1R9a033D4K/gC3ltHv2w=
|
||||
github.com/microsoft/kiota-authentication-azure-go v1.0.1 h1:F4HH+2QQHSecQg50gVEZaUcxA8/XxCaC2oOMYv2gTIM=
|
||||
github.com/microsoft/kiota-authentication-azure-go v1.0.1/go.mod h1:IbifJeoi+sULI0vjnsWYSmDu5atFo/4FZ6WCoAkPjsc=
|
||||
github.com/microsoft/kiota-http-go v1.1.1 h1:W4Olo7Z/MwNZCfkcvH/5eLhnn7koRBMMRhLEnf5MPKo=
|
||||
|
||||
@ -145,6 +145,11 @@ func (suite *RestoreIntgSuite) TestRestoreEvent() {
|
||||
t.Skip("Bug 3675")
|
||||
}
|
||||
|
||||
// TODO(hitesh) remove skip after nil check handling in toEventSimplified
|
||||
if test.name == "Test Event With Attendees" {
|
||||
t.Skip()
|
||||
}
|
||||
|
||||
suite.Run(test.name, func() {
|
||||
t := suite.T()
|
||||
|
||||
|
||||
@ -315,25 +315,85 @@ func cloneColumnDefinitionable(orig models.ColumnDefinitionable) models.ColumnDe
|
||||
newColumn := models.NewColumnDefinition()
|
||||
|
||||
// column attributes
|
||||
if orig.GetName() != nil {
|
||||
newColumn.SetName(orig.GetName())
|
||||
newColumn.SetOdataType(orig.GetOdataType())
|
||||
newColumn.SetPropagateChanges(orig.GetPropagateChanges())
|
||||
newColumn.SetReadOnly(orig.GetReadOnly())
|
||||
newColumn.SetRequired(orig.GetRequired())
|
||||
newColumn.SetAdditionalData(orig.GetAdditionalData())
|
||||
newColumn.SetDescription(orig.GetDescription())
|
||||
newColumn.SetDisplayName(orig.GetDisplayName())
|
||||
newColumn.SetSourceColumn(orig.GetSourceColumn())
|
||||
newColumn.SetSourceContentType(orig.GetSourceContentType())
|
||||
newColumn.SetHidden(orig.GetHidden())
|
||||
newColumn.SetIndexed(orig.GetIndexed())
|
||||
newColumn.SetIsDeletable(orig.GetIsDeletable())
|
||||
newColumn.SetIsReorderable(orig.GetIsReorderable())
|
||||
newColumn.SetIsSealed(orig.GetIsSealed())
|
||||
newColumn.SetTypeEscaped(orig.GetTypeEscaped())
|
||||
newColumn.SetColumnGroup(orig.GetColumnGroup())
|
||||
newColumn.SetEnforceUniqueValues(orig.GetEnforceUniqueValues())
|
||||
}
|
||||
|
||||
if orig.GetOdataType() != nil {
|
||||
newColumn.SetOdataType(orig.GetOdataType())
|
||||
}
|
||||
|
||||
if orig.GetPropagateChanges() != nil {
|
||||
newColumn.SetPropagateChanges(orig.GetPropagateChanges())
|
||||
}
|
||||
|
||||
if orig.GetReadOnly() != nil {
|
||||
newColumn.SetReadOnly(orig.GetReadOnly())
|
||||
}
|
||||
|
||||
if orig.GetRequired() != nil {
|
||||
newColumn.SetRequired(orig.GetRequired())
|
||||
}
|
||||
|
||||
if orig.GetRequired() != nil {
|
||||
newColumn.SetRequired(orig.GetRequired())
|
||||
}
|
||||
|
||||
if orig.GetRequired() != nil {
|
||||
newColumn.SetRequired(orig.GetRequired())
|
||||
}
|
||||
|
||||
if orig.GetAdditionalData() != nil {
|
||||
newColumn.SetAdditionalData(orig.GetAdditionalData())
|
||||
}
|
||||
|
||||
if orig.GetDescription() != nil {
|
||||
newColumn.SetDescription(orig.GetDescription())
|
||||
}
|
||||
|
||||
if orig.GetDisplayName() != nil {
|
||||
newColumn.SetDisplayName(orig.GetDisplayName())
|
||||
}
|
||||
|
||||
if orig.GetSourceColumn() != nil {
|
||||
newColumn.SetSourceColumn(orig.GetSourceColumn())
|
||||
}
|
||||
|
||||
if orig.GetSourceContentType() != nil {
|
||||
newColumn.SetSourceContentType(orig.GetSourceContentType())
|
||||
}
|
||||
|
||||
if orig.GetHidden() != nil {
|
||||
newColumn.SetHidden(orig.GetHidden())
|
||||
}
|
||||
|
||||
if orig.GetIndexed() != nil {
|
||||
newColumn.SetIndexed(orig.GetIndexed())
|
||||
}
|
||||
|
||||
if orig.GetIsDeletable() != nil {
|
||||
newColumn.SetIsDeletable(orig.GetIsDeletable())
|
||||
}
|
||||
|
||||
if orig.GetIsReorderable() != nil {
|
||||
newColumn.SetIsReorderable(orig.GetIsReorderable())
|
||||
}
|
||||
|
||||
if orig.GetIsSealed() != nil {
|
||||
newColumn.SetIsSealed(orig.GetIsSealed())
|
||||
}
|
||||
|
||||
if orig.GetTypeEscaped() != nil {
|
||||
newColumn.SetTypeEscaped(orig.GetTypeEscaped())
|
||||
}
|
||||
|
||||
if orig.GetColumnGroup() != nil {
|
||||
newColumn.SetColumnGroup(orig.GetColumnGroup())
|
||||
}
|
||||
|
||||
if orig.GetEnforceUniqueValues() != nil {
|
||||
newColumn.SetEnforceUniqueValues(orig.GetEnforceUniqueValues())
|
||||
}
|
||||
// column types
|
||||
setColumnType(newColumn, orig)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user