Run gofmt on beta package (#2340)

## Description

This package is mostly generated code, but since it's not formatted and check in it causes subsequent runs of gofmt to format it and add chaff to git diff. Checking in the formatted version removes the chaff.

## Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No 

## Type of change

- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [ ] 💻 CI/Deployment
- [x] 🧹 Tech Debt/Cleanup
This commit is contained in:
ashmrtn 2023-01-31 17:25:27 -08:00 committed by GitHub
parent c510af3fda
commit b5b4576393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 1019 additions and 928 deletions

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type HorizontalSectionLayoutType int type HorizontalSectionLayoutType int

View File

@ -15,24 +15,27 @@ type MetaDataKeyStringPair struct {
// Value of the meta data. // Value of the meta data.
value *string value *string
} }
// NewMetaDataKeyStringPair instantiates a new metaDataKeyStringPair and sets the default values. // NewMetaDataKeyStringPair instantiates a new metaDataKeyStringPair and sets the default values.
func NewMetaDataKeyStringPair()(*MetaDataKeyStringPair) { func NewMetaDataKeyStringPair() *MetaDataKeyStringPair {
m := &MetaDataKeyStringPair{ m := &MetaDataKeyStringPair{}
} m.SetAdditionalData(make(map[string]interface{}))
m.SetAdditionalData(make(map[string]interface{}));
return m return m
} }
// CreateMetaDataKeyStringPairFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateMetaDataKeyStringPairFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateMetaDataKeyStringPairFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateMetaDataKeyStringPairFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewMetaDataKeyStringPair(), nil return NewMetaDataKeyStringPair(), 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. // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (m *MetaDataKeyStringPair) GetAdditionalData()(map[string]interface{}) { func (m *MetaDataKeyStringPair) GetAdditionalData() map[string]interface{} {
return m.additionalData return m.additionalData
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *MetaDataKeyStringPair) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *MetaDataKeyStringPair) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error)
res["key"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["key"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetStringValue() val, err := n.GetStringValue()
if err != nil { if err != nil {
@ -65,20 +68,24 @@ func (m *MetaDataKeyStringPair) GetFieldDeserializers()(map[string]func(i878a80d
} }
return res return res
} }
// GetKey gets the key property value. Key of the meta data. // GetKey gets the key property value. Key of the meta data.
func (m *MetaDataKeyStringPair) GetKey()(*string) { func (m *MetaDataKeyStringPair) GetKey() *string {
return m.key return m.key
} }
// GetOdataType gets the @odata.type property value. The OdataType property // GetOdataType gets the @odata.type property value. The OdataType property
func (m *MetaDataKeyStringPair) GetOdataType()(*string) { func (m *MetaDataKeyStringPair) GetOdataType() *string {
return m.odataType return m.odataType
} }
// GetValue gets the value property value. Value of the meta data. // GetValue gets the value property value. Value of the meta data.
func (m *MetaDataKeyStringPair) GetValue()(*string) { func (m *MetaDataKeyStringPair) GetValue() *string {
return m.value return m.value
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *MetaDataKeyStringPair) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *MetaDataKeyStringPair) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
{ {
err := writer.WriteStringValue("key", m.GetKey()) err := writer.WriteStringValue("key", m.GetKey())
if err != nil { if err != nil {
@ -105,19 +112,23 @@ func (m *MetaDataKeyStringPair) Serialize(writer i878a80d2330e89d26896388a3f487e
} }
return nil 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. // 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 *MetaDataKeyStringPair) SetAdditionalData(value map[string]interface{})() { func (m *MetaDataKeyStringPair) SetAdditionalData(value map[string]interface{}) {
m.additionalData = value m.additionalData = value
} }
// SetKey sets the key property value. Key of the meta data. // SetKey sets the key property value. Key of the meta data.
func (m *MetaDataKeyStringPair) SetKey(value *string)() { func (m *MetaDataKeyStringPair) SetKey(value *string) {
m.key = value m.key = value
} }
// SetOdataType sets the @odata.type property value. The OdataType property // SetOdataType sets the @odata.type property value. The OdataType property
func (m *MetaDataKeyStringPair) SetOdataType(value *string)() { func (m *MetaDataKeyStringPair) SetOdataType(value *string) {
m.odataType = value m.odataType = value
} }
// SetValue sets the value property value. Value of the meta data. // SetValue sets the value property value. Value of the meta data.
func (m *MetaDataKeyStringPair) SetValue(value *string)() { func (m *MetaDataKeyStringPair) SetValue(value *string) {
m.value = value m.value = value
} }

View File

@ -8,10 +8,10 @@ import (
type MetaDataKeyStringPairable interface { type MetaDataKeyStringPairable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetKey()(*string) GetKey() *string
GetOdataType()(*string) GetOdataType() *string
GetValue()(*string) GetValue() *string
SetKey(value *string)() SetKey(value *string)
SetOdataType(value *string)() SetOdataType(value *string)
SetValue(value *string)() SetValue(value *string)
} }

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type PageLayoutType int type PageLayoutType int

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type PagePromotionType int type PagePromotionType int

View File

@ -15,24 +15,27 @@ type PublicationFacet struct {
// The unique identifier for the version that is visible to the current caller. Read-only. // The unique identifier for the version that is visible to the current caller. Read-only.
versionId *string versionId *string
} }
// NewPublicationFacet instantiates a new publicationFacet and sets the default values. // NewPublicationFacet instantiates a new publicationFacet and sets the default values.
func NewPublicationFacet()(*PublicationFacet) { func NewPublicationFacet() *PublicationFacet {
m := &PublicationFacet{ m := &PublicationFacet{}
} m.SetAdditionalData(make(map[string]interface{}))
m.SetAdditionalData(make(map[string]interface{}));
return m return m
} }
// CreatePublicationFacetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreatePublicationFacetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreatePublicationFacetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreatePublicationFacetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewPublicationFacet(), nil return NewPublicationFacet(), 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. // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (m *PublicationFacet) GetAdditionalData()(map[string]interface{}) { func (m *PublicationFacet) GetAdditionalData() map[string]interface{} {
return m.additionalData return m.additionalData
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *PublicationFacet) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *PublicationFacet) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error)
res["level"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["level"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetStringValue() val, err := n.GetStringValue()
if err != nil { if err != nil {
@ -65,20 +68,24 @@ func (m *PublicationFacet) GetFieldDeserializers()(map[string]func(i878a80d2330e
} }
return res return res
} }
// GetLevel gets the level property value. The state of publication for this document. Either published or checkout. Read-only. // GetLevel gets the level property value. The state of publication for this document. Either published or checkout. Read-only.
func (m *PublicationFacet) GetLevel()(*string) { func (m *PublicationFacet) GetLevel() *string {
return m.level return m.level
} }
// GetOdataType gets the @odata.type property value. The OdataType property // GetOdataType gets the @odata.type property value. The OdataType property
func (m *PublicationFacet) GetOdataType()(*string) { func (m *PublicationFacet) GetOdataType() *string {
return m.odataType return m.odataType
} }
// GetVersionId gets the versionId property value. The unique identifier for the version that is visible to the current caller. Read-only. // GetVersionId gets the versionId property value. The unique identifier for the version that is visible to the current caller. Read-only.
func (m *PublicationFacet) GetVersionId()(*string) { func (m *PublicationFacet) GetVersionId() *string {
return m.versionId return m.versionId
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *PublicationFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *PublicationFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
{ {
err := writer.WriteStringValue("level", m.GetLevel()) err := writer.WriteStringValue("level", m.GetLevel())
if err != nil { if err != nil {
@ -105,19 +112,23 @@ func (m *PublicationFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b
} }
return nil 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. // 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 *PublicationFacet) SetAdditionalData(value map[string]interface{})() { func (m *PublicationFacet) SetAdditionalData(value map[string]interface{}) {
m.additionalData = value m.additionalData = value
} }
// SetLevel sets the level property value. The state of publication for this document. Either published or checkout. Read-only. // SetLevel sets the level property value. The state of publication for this document. Either published or checkout. Read-only.
func (m *PublicationFacet) SetLevel(value *string)() { func (m *PublicationFacet) SetLevel(value *string) {
m.level = value m.level = value
} }
// SetOdataType sets the @odata.type property value. The OdataType property // SetOdataType sets the @odata.type property value. The OdataType property
func (m *PublicationFacet) SetOdataType(value *string)() { func (m *PublicationFacet) SetOdataType(value *string) {
m.odataType = value m.odataType = value
} }
// SetVersionId sets the versionId property value. The unique identifier for the version that is visible to the current caller. Read-only. // SetVersionId sets the versionId property value. The unique identifier for the version that is visible to the current caller. Read-only.
func (m *PublicationFacet) SetVersionId(value *string)() { func (m *PublicationFacet) SetVersionId(value *string) {
m.versionId = value m.versionId = value
} }

View File

@ -8,10 +8,10 @@ import (
type PublicationFacetable interface { type PublicationFacetable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetLevel()(*string) GetLevel() *string
GetOdataType()(*string) GetOdataType() *string
GetVersionId()(*string) GetVersionId() *string
SetLevel(value *string)() SetLevel(value *string)
SetOdataType(value *string)() SetOdataType(value *string)
SetVersionId(value *string)() SetVersionId(value *string)
} }

View File

@ -17,28 +17,32 @@ type ReactionsFacet struct {
// Count of shares. // Count of shares.
shareCount *int32 shareCount *int32
} }
// NewReactionsFacet instantiates a new reactionsFacet and sets the default values. // NewReactionsFacet instantiates a new reactionsFacet and sets the default values.
func NewReactionsFacet()(*ReactionsFacet) { func NewReactionsFacet() *ReactionsFacet {
m := &ReactionsFacet{ m := &ReactionsFacet{}
} m.SetAdditionalData(make(map[string]interface{}))
m.SetAdditionalData(make(map[string]interface{}));
return m return m
} }
// CreateReactionsFacetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateReactionsFacetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateReactionsFacetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateReactionsFacetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewReactionsFacet(), nil return NewReactionsFacet(), 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. // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (m *ReactionsFacet) GetAdditionalData()(map[string]interface{}) { func (m *ReactionsFacet) GetAdditionalData() map[string]interface{} {
return m.additionalData return m.additionalData
} }
// GetCommentCount gets the commentCount property value. Count of comments. // GetCommentCount gets the commentCount property value. Count of comments.
func (m *ReactionsFacet) GetCommentCount()(*int32) { func (m *ReactionsFacet) GetCommentCount() *int32 {
return m.commentCount return m.commentCount
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *ReactionsFacet) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *ReactionsFacet) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error)
res["commentCount"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["commentCount"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetInt32Value() val, err := n.GetInt32Value()
if err != nil { if err != nil {
@ -81,20 +85,24 @@ func (m *ReactionsFacet) GetFieldDeserializers()(map[string]func(i878a80d2330e89
} }
return res return res
} }
// GetLikeCount gets the likeCount property value. Count of likes. // GetLikeCount gets the likeCount property value. Count of likes.
func (m *ReactionsFacet) GetLikeCount()(*int32) { func (m *ReactionsFacet) GetLikeCount() *int32 {
return m.likeCount return m.likeCount
} }
// GetOdataType gets the @odata.type property value. The OdataType property // GetOdataType gets the @odata.type property value. The OdataType property
func (m *ReactionsFacet) GetOdataType()(*string) { func (m *ReactionsFacet) GetOdataType() *string {
return m.odataType return m.odataType
} }
// GetShareCount gets the shareCount property value. Count of shares. // GetShareCount gets the shareCount property value. Count of shares.
func (m *ReactionsFacet) GetShareCount()(*int32) { func (m *ReactionsFacet) GetShareCount() *int32 {
return m.shareCount return m.shareCount
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *ReactionsFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *ReactionsFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
{ {
err := writer.WriteInt32Value("commentCount", m.GetCommentCount()) err := writer.WriteInt32Value("commentCount", m.GetCommentCount())
if err != nil { if err != nil {
@ -127,23 +135,28 @@ func (m *ReactionsFacet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a
} }
return nil 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. // 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 *ReactionsFacet) SetAdditionalData(value map[string]interface{})() { func (m *ReactionsFacet) SetAdditionalData(value map[string]interface{}) {
m.additionalData = value m.additionalData = value
} }
// SetCommentCount sets the commentCount property value. Count of comments. // SetCommentCount sets the commentCount property value. Count of comments.
func (m *ReactionsFacet) SetCommentCount(value *int32)() { func (m *ReactionsFacet) SetCommentCount(value *int32) {
m.commentCount = value m.commentCount = value
} }
// SetLikeCount sets the likeCount property value. Count of likes. // SetLikeCount sets the likeCount property value. Count of likes.
func (m *ReactionsFacet) SetLikeCount(value *int32)() { func (m *ReactionsFacet) SetLikeCount(value *int32) {
m.likeCount = value m.likeCount = value
} }
// SetOdataType sets the @odata.type property value. The OdataType property // SetOdataType sets the @odata.type property value. The OdataType property
func (m *ReactionsFacet) SetOdataType(value *string)() { func (m *ReactionsFacet) SetOdataType(value *string) {
m.odataType = value m.odataType = value
} }
// SetShareCount sets the shareCount property value. Count of shares. // SetShareCount sets the shareCount property value. Count of shares.
func (m *ReactionsFacet) SetShareCount(value *int32)() { func (m *ReactionsFacet) SetShareCount(value *int32) {
m.shareCount = value m.shareCount = value
} }

View File

@ -8,12 +8,12 @@ import (
type ReactionsFacetable interface { type ReactionsFacetable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetCommentCount()(*int32) GetCommentCount() *int32
GetLikeCount()(*int32) GetLikeCount() *int32
GetOdataType()(*string) GetOdataType() *string
GetShareCount()(*int32) GetShareCount() *int32
SetCommentCount(value *int32)() SetCommentCount(value *int32)
SetLikeCount(value *int32)() SetLikeCount(value *int32)
SetOdataType(value *string)() SetOdataType(value *string)
SetShareCount(value *int32)() SetShareCount(value *int32)
} }

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type SectionEmphasisType int type SectionEmphasisType int

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type SiteAccessType int type SiteAccessType int

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the add method. // Provides operations to call the add method.
type SiteSecurityLevel int type SiteSecurityLevel int

View File

@ -15,24 +15,27 @@ type SiteSettings struct {
// Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC). // Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC).
timeZone *string timeZone *string
} }
// NewSiteSettings instantiates a new siteSettings and sets the default values. // NewSiteSettings instantiates a new siteSettings and sets the default values.
func NewSiteSettings()(*SiteSettings) { func NewSiteSettings() *SiteSettings {
m := &SiteSettings{ m := &SiteSettings{}
} m.SetAdditionalData(make(map[string]interface{}))
m.SetAdditionalData(make(map[string]interface{}));
return m return m
} }
// CreateSiteSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateSiteSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateSiteSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateSiteSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewSiteSettings(), nil return NewSiteSettings(), 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. // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (m *SiteSettings) GetAdditionalData()(map[string]interface{}) { func (m *SiteSettings) GetAdditionalData() map[string]interface{} {
return m.additionalData return m.additionalData
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *SiteSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *SiteSettings) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error)
res["languageTag"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["languageTag"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetStringValue() val, err := n.GetStringValue()
if err != nil { if err != nil {
@ -65,20 +68,24 @@ func (m *SiteSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2
} }
return res return res
} }
// GetLanguageTag gets the languageTag property value. The language tag for the language used on this site. // GetLanguageTag gets the languageTag property value. The language tag for the language used on this site.
func (m *SiteSettings) GetLanguageTag()(*string) { func (m *SiteSettings) GetLanguageTag() *string {
return m.languageTag return m.languageTag
} }
// GetOdataType gets the @odata.type property value. The OdataType property // GetOdataType gets the @odata.type property value. The OdataType property
func (m *SiteSettings) GetOdataType()(*string) { func (m *SiteSettings) GetOdataType() *string {
return m.odataType return m.odataType
} }
// GetTimeZone gets the timeZone property value. Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC). // GetTimeZone gets the timeZone property value. Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC).
func (m *SiteSettings) GetTimeZone()(*string) { func (m *SiteSettings) GetTimeZone() *string {
return m.timeZone return m.timeZone
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *SiteSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *SiteSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
{ {
err := writer.WriteStringValue("languageTag", m.GetLanguageTag()) err := writer.WriteStringValue("languageTag", m.GetLanguageTag())
if err != nil { if err != nil {
@ -105,19 +112,23 @@ func (m *SiteSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e
} }
return nil 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. // 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 *SiteSettings) SetAdditionalData(value map[string]interface{})() { func (m *SiteSettings) SetAdditionalData(value map[string]interface{}) {
m.additionalData = value m.additionalData = value
} }
// SetLanguageTag sets the languageTag property value. The language tag for the language used on this site. // SetLanguageTag sets the languageTag property value. The language tag for the language used on this site.
func (m *SiteSettings) SetLanguageTag(value *string)() { func (m *SiteSettings) SetLanguageTag(value *string) {
m.languageTag = value m.languageTag = value
} }
// SetOdataType sets the @odata.type property value. The OdataType property // SetOdataType sets the @odata.type property value. The OdataType property
func (m *SiteSettings) SetOdataType(value *string)() { func (m *SiteSettings) SetOdataType(value *string) {
m.odataType = value m.odataType = value
} }
// SetTimeZone sets the timeZone property value. Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC). // SetTimeZone sets the timeZone property value. Indicates the time offset for the time zone of the site from Coordinated Universal Time (UTC).
func (m *SiteSettings) SetTimeZone(value *string)() { func (m *SiteSettings) SetTimeZone(value *string) {
m.timeZone = value m.timeZone = value
} }

View File

@ -8,10 +8,10 @@ import (
type SiteSettingsable interface { type SiteSettingsable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetLanguageTag()(*string) GetLanguageTag() *string
GetOdataType()(*string) GetOdataType() *string
GetTimeZone()(*string) GetTimeZone() *string
SetLanguageTag(value *string)() SetLanguageTag(value *string)
SetOdataType(value *string)() SetOdataType(value *string)
SetTimeZone(value *string)() SetTimeZone(value *string)
} }

View File

@ -12,25 +12,29 @@ type StandardWebPart struct {
// A Guid which indicates the type of the webParts // A Guid which indicates the type of the webParts
webPartType *string webPartType *string
} }
// NewStandardWebPart instantiates a new StandardWebPart and sets the default values. // NewStandardWebPart instantiates a new StandardWebPart and sets the default values.
func NewStandardWebPart()(*StandardWebPart) { func NewStandardWebPart() *StandardWebPart {
m := &StandardWebPart{ m := &StandardWebPart{
WebPart: *NewWebPart(), WebPart: *NewWebPart(),
} }
odataTypeValue := "#microsoft.graph.standardWebPart"; odataTypeValue := "#microsoft.graph.standardWebPart"
m.SetOdataType(&odataTypeValue); m.SetOdataType(&odataTypeValue)
return m return m
} }
// CreateStandardWebPartFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateStandardWebPartFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateStandardWebPartFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateStandardWebPartFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewStandardWebPart(), nil return NewStandardWebPart(), nil
} }
// GetData gets the data property value. Data of the webPart. // GetData gets the data property value. Data of the webPart.
func (m *StandardWebPart) GetData()(WebPartDataable) { func (m *StandardWebPart) GetData() WebPartDataable {
return m.data return m.data
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *StandardWebPart) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *StandardWebPart) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := m.WebPart.GetFieldDeserializers() res := m.WebPart.GetFieldDeserializers()
res["data"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["data"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetObjectValue(CreateWebPartDataFromDiscriminatorValue) val, err := n.GetObjectValue(CreateWebPartDataFromDiscriminatorValue)
@ -54,12 +58,14 @@ func (m *StandardWebPart) GetFieldDeserializers()(map[string]func(i878a80d2330e8
} }
return res return res
} }
// GetWebPartType gets the webPartType property value. A Guid which indicates the type of the webParts // GetWebPartType gets the webPartType property value. A Guid which indicates the type of the webParts
func (m *StandardWebPart) GetWebPartType()(*string) { func (m *StandardWebPart) GetWebPartType() *string {
return m.webPartType return m.webPartType
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *StandardWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *StandardWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
err := m.WebPart.Serialize(writer) err := m.WebPart.Serialize(writer)
if err != nil { if err != nil {
return err return err
@ -78,11 +84,13 @@ func (m *StandardWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0
} }
return nil return nil
} }
// SetData sets the data property value. Data of the webPart. // SetData sets the data property value. Data of the webPart.
func (m *StandardWebPart) SetData(value WebPartDataable)() { func (m *StandardWebPart) SetData(value WebPartDataable) {
m.data = value m.data = value
} }
// SetWebPartType sets the webPartType property value. A Guid which indicates the type of the webParts // SetWebPartType sets the webPartType property value. A Guid which indicates the type of the webParts
func (m *StandardWebPart) SetWebPartType(value *string)() { func (m *StandardWebPart) SetWebPartType(value *string) {
m.webPartType = value m.webPartType = value
} }

View File

@ -8,8 +8,8 @@ import (
type StandardWebPartable interface { type StandardWebPartable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
WebPartable WebPartable
GetData()(WebPartDataable) GetData() WebPartDataable
GetWebPartType()(*string) GetWebPartType() *string
SetData(value WebPartDataable)() SetData(value WebPartDataable)
SetWebPartType(value *string)() SetWebPartType(value *string)
} }

View File

@ -10,21 +10,24 @@ type TextWebPart struct {
// The HTML string in text web part. // The HTML string in text web part.
innerHtml *string innerHtml *string
} }
// NewTextWebPart instantiates a new TextWebPart and sets the default values. // NewTextWebPart instantiates a new TextWebPart and sets the default values.
func NewTextWebPart()(*TextWebPart) { func NewTextWebPart() *TextWebPart {
m := &TextWebPart{ m := &TextWebPart{
WebPart: *NewWebPart(), WebPart: *NewWebPart(),
} }
odataTypeValue := "#microsoft.graph.textWebPart"; odataTypeValue := "#microsoft.graph.textWebPart"
m.SetOdataType(&odataTypeValue); m.SetOdataType(&odataTypeValue)
return m return m
} }
// CreateTextWebPartFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateTextWebPartFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateTextWebPartFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateTextWebPartFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewTextWebPart(), nil return NewTextWebPart(), nil
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *TextWebPart) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *TextWebPart) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := m.WebPart.GetFieldDeserializers() res := m.WebPart.GetFieldDeserializers()
res["innerHtml"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["innerHtml"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetStringValue() val, err := n.GetStringValue()
@ -38,12 +41,14 @@ func (m *TextWebPart) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26
} }
return res return res
} }
// GetInnerHtml gets the innerHtml property value. The HTML string in text web part. // GetInnerHtml gets the innerHtml property value. The HTML string in text web part.
func (m *TextWebPart) GetInnerHtml()(*string) { func (m *TextWebPart) GetInnerHtml() *string {
return m.innerHtml return m.innerHtml
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *TextWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *TextWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
err := m.WebPart.Serialize(writer) err := m.WebPart.Serialize(writer)
if err != nil { if err != nil {
return err return err
@ -56,7 +61,8 @@ func (m *TextWebPart) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6
} }
return nil return nil
} }
// SetInnerHtml sets the innerHtml property value. The HTML string in text web part. // SetInnerHtml sets the innerHtml property value. The HTML string in text web part.
func (m *TextWebPart) SetInnerHtml(value *string)() { func (m *TextWebPart) SetInnerHtml(value *string) {
m.innerHtml = value m.innerHtml = value
} }

View File

@ -8,6 +8,6 @@ import (
type TextWebPartable interface { type TextWebPartable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
WebPartable WebPartable
GetInnerHtml()(*string) GetInnerHtml() *string
SetInnerHtml(value *string)() SetInnerHtml(value *string)
} }

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type TitleAreaLayoutType int type TitleAreaLayoutType int

View File

@ -1,7 +1,9 @@
package models package models
import ( import (
"errors" "errors"
) )
// Provides operations to call the remove method. // Provides operations to call the remove method.
type TitleAreaTextAlignmentType int type TitleAreaTextAlignmentType int

View File

@ -19,28 +19,32 @@ type WebPartPosition struct {
// Index of the current web part. Represents the order of the web part in this column or section. // Index of the current web part. Represents the order of the web part in this column or section.
webPartIndex *float64 webPartIndex *float64
} }
// NewWebPartPosition instantiates a new webPartPosition and sets the default values. // NewWebPartPosition instantiates a new webPartPosition and sets the default values.
func NewWebPartPosition()(*WebPartPosition) { func NewWebPartPosition() *WebPartPosition {
m := &WebPartPosition{ m := &WebPartPosition{}
} m.SetAdditionalData(make(map[string]interface{}))
m.SetAdditionalData(make(map[string]interface{}));
return m return m
} }
// CreateWebPartPositionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // CreateWebPartPositionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateWebPartPositionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { func CreateWebPartPositionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewWebPartPosition(), nil return NewWebPartPosition(), 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. // GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (m *WebPartPosition) GetAdditionalData()(map[string]interface{}) { func (m *WebPartPosition) GetAdditionalData() map[string]interface{} {
return m.additionalData return m.additionalData
} }
// GetColumnId gets the columnId property value. Indicates the identifier of the column where the web part is located. // GetColumnId gets the columnId property value. Indicates the identifier of the column where the web part is located.
func (m *WebPartPosition) GetColumnId()(*float64) { func (m *WebPartPosition) GetColumnId() *float64 {
return m.columnId return m.columnId
} }
// GetFieldDeserializers the deserialization information for the current model // GetFieldDeserializers the deserialization information for the current model
func (m *WebPartPosition) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { func (m *WebPartPosition) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error)
res["columnId"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { res["columnId"] = func(n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error {
val, err := n.GetFloat64Value() val, err := n.GetFloat64Value()
if err != nil { if err != nil {
@ -93,24 +97,29 @@ func (m *WebPartPosition) GetFieldDeserializers()(map[string]func(i878a80d2330e8
} }
return res return res
} }
// GetHorizontalSectionId gets the horizontalSectionId property value. Indicates the horizontal section where the web part is located. // GetHorizontalSectionId gets the horizontalSectionId property value. Indicates the horizontal section where the web part is located.
func (m *WebPartPosition) GetHorizontalSectionId()(*float64) { func (m *WebPartPosition) GetHorizontalSectionId() *float64 {
return m.horizontalSectionId return m.horizontalSectionId
} }
// GetIsInVerticalSection gets the isInVerticalSection property value. Indicates whether the web part is located in the vertical section. // GetIsInVerticalSection gets the isInVerticalSection property value. Indicates whether the web part is located in the vertical section.
func (m *WebPartPosition) GetIsInVerticalSection()(*bool) { func (m *WebPartPosition) GetIsInVerticalSection() *bool {
return m.isInVerticalSection return m.isInVerticalSection
} }
// GetOdataType gets the @odata.type property value. The OdataType property // GetOdataType gets the @odata.type property value. The OdataType property
func (m *WebPartPosition) GetOdataType()(*string) { func (m *WebPartPosition) GetOdataType() *string {
return m.odataType return m.odataType
} }
// GetWebPartIndex gets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section. // GetWebPartIndex gets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section.
func (m *WebPartPosition) GetWebPartIndex()(*float64) { func (m *WebPartPosition) GetWebPartIndex() *float64 {
return m.webPartIndex return m.webPartIndex
} }
// Serialize serializes information the current object // Serialize serializes information the current object
func (m *WebPartPosition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { func (m *WebPartPosition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error {
{ {
err := writer.WriteFloat64Value("columnId", m.GetColumnId()) err := writer.WriteFloat64Value("columnId", m.GetColumnId())
if err != nil { if err != nil {
@ -149,27 +158,33 @@ func (m *WebPartPosition) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0
} }
return nil 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. // 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 *WebPartPosition) SetAdditionalData(value map[string]interface{})() { func (m *WebPartPosition) SetAdditionalData(value map[string]interface{}) {
m.additionalData = value m.additionalData = value
} }
// SetColumnId sets the columnId property value. Indicates the identifier of the column where the web part is located. // SetColumnId sets the columnId property value. Indicates the identifier of the column where the web part is located.
func (m *WebPartPosition) SetColumnId(value *float64)() { func (m *WebPartPosition) SetColumnId(value *float64) {
m.columnId = value m.columnId = value
} }
// SetHorizontalSectionId sets the horizontalSectionId property value. Indicates the horizontal section where the web part is located. // SetHorizontalSectionId sets the horizontalSectionId property value. Indicates the horizontal section where the web part is located.
func (m *WebPartPosition) SetHorizontalSectionId(value *float64)() { func (m *WebPartPosition) SetHorizontalSectionId(value *float64) {
m.horizontalSectionId = value m.horizontalSectionId = value
} }
// SetIsInVerticalSection sets the isInVerticalSection property value. Indicates whether the web part is located in the vertical section. // SetIsInVerticalSection sets the isInVerticalSection property value. Indicates whether the web part is located in the vertical section.
func (m *WebPartPosition) SetIsInVerticalSection(value *bool)() { func (m *WebPartPosition) SetIsInVerticalSection(value *bool) {
m.isInVerticalSection = value m.isInVerticalSection = value
} }
// SetOdataType sets the @odata.type property value. The OdataType property // SetOdataType sets the @odata.type property value. The OdataType property
func (m *WebPartPosition) SetOdataType(value *string)() { func (m *WebPartPosition) SetOdataType(value *string) {
m.odataType = value m.odataType = value
} }
// SetWebPartIndex sets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section. // SetWebPartIndex sets the webPartIndex property value. Index of the current web part. Represents the order of the web part in this column or section.
func (m *WebPartPosition) SetWebPartIndex(value *float64)() { func (m *WebPartPosition) SetWebPartIndex(value *float64) {
m.webPartIndex = value m.webPartIndex = value
} }

View File

@ -8,14 +8,14 @@ import (
type WebPartPositionable interface { type WebPartPositionable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
GetColumnId()(*float64) GetColumnId() *float64
GetHorizontalSectionId()(*float64) GetHorizontalSectionId() *float64
GetIsInVerticalSection()(*bool) GetIsInVerticalSection() *bool
GetOdataType()(*string) GetOdataType() *string
GetWebPartIndex()(*float64) GetWebPartIndex() *float64
SetColumnId(value *float64)() SetColumnId(value *float64)
SetHorizontalSectionId(value *float64)() SetHorizontalSectionId(value *float64)
SetIsInVerticalSection(value *bool)() SetIsInVerticalSection(value *bool)
SetOdataType(value *string)() SetOdataType(value *string)
SetWebPartIndex(value *float64)() SetWebPartIndex(value *float64)
} }