Updates betaSDK/groups package
Removes backing store from model.
This commit is contained in:
parent
e9371379a6
commit
1d13f7d2df
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesAddPostRequestBody provides operations to call the add method.
|
// ItemSitesAddPostRequestBody provides operations to call the add method.
|
||||||
type ItemSitesAddPostRequestBody struct {
|
type ItemSitesAddPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable
|
||||||
}
|
}
|
||||||
// NewItemSitesAddPostRequestBody instantiates a new ItemSitesAddPostRequestBody and sets the default values.
|
// NewItemSitesAddPostRequestBody instantiates a new ItemSitesAddPostRequestBody and sets the default values.
|
||||||
func NewItemSitesAddPostRequestBody()(*ItemSitesAddPostRequestBody) {
|
func NewItemSitesAddPostRequestBody()(*ItemSitesAddPostRequestBody) {
|
||||||
m := &ItemSitesAddPostRequestBody{
|
m := &ItemSitesAddPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,16 +25,7 @@ func CreateItemSitesAddPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesAddPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesAddPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesAddPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesAddPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -44,9 +36,9 @@ func (m *ItemSitesAddPostRequestBody) GetFieldDeserializers()(map[string]func(i8
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -56,32 +48,33 @@ func (m *ItemSitesAddPostRequestBody) GetFieldDeserializers()(map[string]func(i8
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesAddPostRequestBody) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
func (m *ItemSitesAddPostRequestBody) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesAddPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("value", cast)
|
err := writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesAddPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesAddPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesAddPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesAddPostRequestBody) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
func (m *ItemSitesAddPostRequestBody) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesAddPostRequestBodyable
|
// ItemSitesAddPostRequestBodyable
|
||||||
type ItemSitesAddPostRequestBodyable interface {
|
type ItemSitesAddPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)
|
GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)()
|
SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesAddResponse provides operations to call the add method.
|
// ItemSitesAddResponse provides operations to call the add method.
|
||||||
type ItemSitesAddResponse struct {
|
type ItemSitesAddResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable
|
||||||
}
|
}
|
||||||
// NewItemSitesAddResponse instantiates a new ItemSitesAddResponse and sets the default values.
|
// NewItemSitesAddResponse instantiates a new ItemSitesAddResponse and sets the default values.
|
||||||
func NewItemSitesAddResponse()(*ItemSitesAddResponse) {
|
func NewItemSitesAddResponse()(*ItemSitesAddResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesAddResponse) GetFieldDeserializers()(map[string]func(i878a80d2
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesAddResponse) GetFieldDeserializers()(map[string]func(i878a80d2
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesAddResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
func (m *ItemSitesAddResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesAddResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesAddResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesAddResponse) Serialize(writer i878a80d2330e89d26896388a3f487ee
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesAddResponse) Serialize(writer i878a80d2330e89d26896388a3f487ee
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesAddResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
func (m *ItemSitesAddResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesDeltaResponse provides operations to call the delta method.
|
// ItemSitesDeltaResponse provides operations to call the delta method.
|
||||||
type ItemSitesDeltaResponse struct {
|
type ItemSitesDeltaResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable
|
||||||
}
|
}
|
||||||
// NewItemSitesDeltaResponse instantiates a new ItemSitesDeltaResponse and sets the default values.
|
// NewItemSitesDeltaResponse instantiates a new ItemSitesDeltaResponse and sets the default values.
|
||||||
func NewItemSitesDeltaResponse()(*ItemSitesDeltaResponse) {
|
func NewItemSitesDeltaResponse()(*ItemSitesDeltaResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesDeltaResponse) GetFieldDeserializers()(map[string]func(i878a80
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Site))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesDeltaResponse) GetFieldDeserializers()(map[string]func(i878a80
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesDeltaResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
func (m *ItemSitesDeltaResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesDeltaResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
func (m *ItemSitesDeltaResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.Siteable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody provides operations to call the addCopyFromContentTypeHub method.
|
// ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody provides operations to call the addCopyFromContentTypeHub method.
|
||||||
type ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody struct {
|
type ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentTypeId property
|
||||||
|
contentTypeId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody instantiates a new ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody and sets the default values.
|
// NewItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody instantiates a new ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody()(*ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) {
|
func NewItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody()(*ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) {
|
||||||
m := &ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody{
|
m := &ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +24,11 @@ func CreateItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyFrom
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentTypeId gets the contentTypeId property value. The contentTypeId property
|
// GetContentTypeId gets the contentTypeId property value. The contentTypeId property
|
||||||
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetContentTypeId()(*string) {
|
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetContentTypeId()(*string) {
|
||||||
return m.GetBackingStore().Get("contentTypeId");
|
return m.contentTypeId
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) Seri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentTypeId sets the contentTypeId property value. The contentTypeId property
|
// SetContentTypeId sets the contentTypeId property value. The contentTypeId property
|
||||||
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetContentTypeId(value *string)() {
|
func (m *ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetContentTypeId(value *string)() {
|
||||||
m.GetBackingStore().Set("contentTypeId", value)
|
m.contentTypeId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable
|
// ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable
|
||||||
type ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable interface {
|
type ItemSitesItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentTypeId()(*string)
|
GetContentTypeId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentTypeId(value *string)()
|
SetContentTypeId(value *string)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemContentTypesAddCopyPostRequestBody provides operations to call the addCopy method.
|
// ItemSitesItemContentTypesAddCopyPostRequestBody provides operations to call the addCopy method.
|
||||||
type ItemSitesItemContentTypesAddCopyPostRequestBody struct {
|
type ItemSitesItemContentTypesAddCopyPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentType property
|
||||||
|
contentType *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesAddCopyPostRequestBody instantiates a new ItemSitesItemContentTypesAddCopyPostRequestBody and sets the default values.
|
// NewItemSitesItemContentTypesAddCopyPostRequestBody instantiates a new ItemSitesItemContentTypesAddCopyPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemContentTypesAddCopyPostRequestBody()(*ItemSitesItemContentTypesAddCopyPostRequestBody) {
|
func NewItemSitesItemContentTypesAddCopyPostRequestBody()(*ItemSitesItemContentTypesAddCopyPostRequestBody) {
|
||||||
m := &ItemSitesItemContentTypesAddCopyPostRequestBody{
|
m := &ItemSitesItemContentTypesAddCopyPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +24,11 @@ func CreateItemSitesItemContentTypesAddCopyPostRequestBodyFromDiscriminatorValue
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemContentTypesAddCopyPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentType gets the contentType property value. The contentType property
|
// GetContentType gets the contentType property value. The contentType property
|
||||||
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetContentType()(*string) {
|
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetContentType()(*string) {
|
||||||
return m.GetBackingStore().Get("contentType");
|
return m.contentType
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) Serialize(writer i878a
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemContentTypesAddCopyPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentType sets the contentType property value. The contentType property
|
// SetContentType sets the contentType property value. The contentType property
|
||||||
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) SetContentType(value *string)() {
|
func (m *ItemSitesItemContentTypesAddCopyPostRequestBody) SetContentType(value *string)() {
|
||||||
m.GetBackingStore().Set("contentType", value)
|
m.contentType = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemContentTypesAddCopyPostRequestBodyable
|
// ItemSitesItemContentTypesAddCopyPostRequestBodyable
|
||||||
type ItemSitesItemContentTypesAddCopyPostRequestBodyable interface {
|
type ItemSitesItemContentTypesAddCopyPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentType()(*string)
|
GetContentType()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentType(value *string)()
|
SetContentType(value *string)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse provides operations to call the getCompatibleHubContentTypes method.
|
// ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse provides operations to call the getCompatibleHubContentTypes method.
|
||||||
type ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse struct {
|
type ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesGetCompatibleHubContentTypesResponse instantiates a new ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse and sets the default values.
|
// NewItemSitesItemContentTypesGetCompatibleHubContentTypesResponse instantiates a new ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse and sets the default values.
|
||||||
func NewItemSitesItemContentTypesGetCompatibleHubContentTypesResponse()(*ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) {
|
func NewItemSitesItemContentTypesGetCompatibleHubContentTypesResponse()(*ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) GetField
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) GetField
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) Serializ
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) Serializ
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
func (m *ItemSitesItemContentTypesGetCompatibleHubContentTypesResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody provides operations to call the associateWithHubSites method.
|
// ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody provides operations to call the associateWithHubSites method.
|
||||||
type ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody struct {
|
type ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The hubSiteUrls property
|
||||||
|
hubSiteUrls []string
|
||||||
|
// The propagateToExistingLists property
|
||||||
|
propagateToExistingLists *bool
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody instantiates a new ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody and sets the default values.
|
// NewItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody instantiates a new ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) {
|
func NewItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) {
|
||||||
m := &ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody{
|
m := &ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +26,7 @@ func CreateItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyFrom
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -65,11 +59,11 @@ func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetF
|
|||||||
}
|
}
|
||||||
// GetHubSiteUrls gets the hubSiteUrls property value. The hubSiteUrls property
|
// GetHubSiteUrls gets the hubSiteUrls property value. The hubSiteUrls property
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetHubSiteUrls()([]string) {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetHubSiteUrls()([]string) {
|
||||||
return m.GetBackingStore().Get("hubSiteUrls");
|
return m.hubSiteUrls
|
||||||
}
|
}
|
||||||
// GetPropagateToExistingLists gets the propagateToExistingLists property value. The propagateToExistingLists property
|
// GetPropagateToExistingLists gets the propagateToExistingLists property value. The propagateToExistingLists property
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetPropagateToExistingLists()(*bool) {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetPropagateToExistingLists()(*bool) {
|
||||||
return m.GetBackingStore().Get("propagateToExistingLists");
|
return m.propagateToExistingLists
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -85,21 +79,23 @@ func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) Seri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetHubSiteUrls sets the hubSiteUrls property value. The hubSiteUrls property
|
// SetHubSiteUrls sets the hubSiteUrls property value. The hubSiteUrls property
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetHubSiteUrls(value []string)() {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetHubSiteUrls(value []string)() {
|
||||||
m.GetBackingStore().Set("hubSiteUrls", value)
|
m.hubSiteUrls = value
|
||||||
}
|
}
|
||||||
// SetPropagateToExistingLists sets the propagateToExistingLists property value. The propagateToExistingLists property
|
// SetPropagateToExistingLists sets the propagateToExistingLists property value. The propagateToExistingLists property
|
||||||
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetPropagateToExistingLists(value *bool)() {
|
func (m *ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetPropagateToExistingLists(value *bool)() {
|
||||||
m.GetBackingStore().Set("propagateToExistingLists", value)
|
m.propagateToExistingLists = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,12 +7,9 @@ import (
|
|||||||
// ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyable
|
// ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyable
|
||||||
type ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyable interface {
|
type ItemSitesItemContentTypesItemAssociateWithHubSitesPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetHubSiteUrls()([]string)
|
GetHubSiteUrls()([]string)
|
||||||
GetPropagateToExistingLists()(*bool)
|
GetPropagateToExistingLists()(*bool)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetHubSiteUrls(value []string)()
|
SetHubSiteUrls(value []string)()
|
||||||
SetPropagateToExistingLists(value *bool)()
|
SetPropagateToExistingLists(value *bool)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody provides operations to call the copyToDefaultContentLocation method.
|
// ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody provides operations to call the copyToDefaultContentLocation method.
|
||||||
type ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody struct {
|
type ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The destinationFileName property
|
||||||
|
destinationFileName *string
|
||||||
|
// The sourceFile property
|
||||||
|
sourceFile ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody instantiates a new ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody and sets the default values.
|
// NewItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody instantiates a new ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody()(*ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) {
|
func NewItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody()(*ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) {
|
||||||
m := &ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody{
|
m := &ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +27,11 @@ func CreateItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestB
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetDestinationFileName gets the destinationFileName property value. The destinationFileName property
|
// GetDestinationFileName gets the destinationFileName property value. The destinationFileName property
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetDestinationFileName()(*string) {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetDestinationFileName()(*string) {
|
||||||
return m.GetBackingStore().Get("destinationFileName");
|
return m.destinationFileName
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -58,7 +52,7 @@ func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBod
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetSourceFile(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReference))
|
m.SetSourceFile(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -66,7 +60,7 @@ func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBod
|
|||||||
}
|
}
|
||||||
// GetSourceFile gets the sourceFile property value. The sourceFile property
|
// GetSourceFile gets the sourceFile property value. The sourceFile property
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable) {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable) {
|
||||||
return m.GetBackingStore().Get("sourceFile");
|
return m.sourceFile
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -82,21 +76,23 @@ func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBod
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetDestinationFileName sets the destinationFileName property value. The destinationFileName property
|
// SetDestinationFileName sets the destinationFileName property value. The destinationFileName property
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetDestinationFileName(value *string)() {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetDestinationFileName(value *string)() {
|
||||||
m.GetBackingStore().Set("destinationFileName", value)
|
m.destinationFileName = value
|
||||||
}
|
}
|
||||||
// SetSourceFile sets the sourceFile property value. The sourceFile property
|
// SetSourceFile sets the sourceFile property value. The sourceFile property
|
||||||
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)() {
|
func (m *ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)() {
|
||||||
m.GetBackingStore().Set("sourceFile", value)
|
m.sourceFile = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable
|
// ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable
|
||||||
type ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable interface {
|
type ItemSitesItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetDestinationFileName()(*string)
|
GetDestinationFileName()(*string)
|
||||||
GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)
|
GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetDestinationFileName(value *string)()
|
SetDestinationFileName(value *string)()
|
||||||
SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)()
|
SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemContentTypesItemIsPublishedResponse provides operations to call the isPublished method.
|
// ItemSitesItemContentTypesItemIsPublishedResponse provides operations to call the isPublished method.
|
||||||
type ItemSitesItemContentTypesItemIsPublishedResponse struct {
|
type ItemSitesItemContentTypesItemIsPublishedResponse struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The value property
|
||||||
|
value *bool
|
||||||
}
|
}
|
||||||
// NewItemSitesItemContentTypesItemIsPublishedResponse instantiates a new ItemSitesItemContentTypesItemIsPublishedResponse and sets the default values.
|
// NewItemSitesItemContentTypesItemIsPublishedResponse instantiates a new ItemSitesItemContentTypesItemIsPublishedResponse and sets the default values.
|
||||||
func NewItemSitesItemContentTypesItemIsPublishedResponse()(*ItemSitesItemContentTypesItemIsPublishedResponse) {
|
func NewItemSitesItemContentTypesItemIsPublishedResponse()(*ItemSitesItemContentTypesItemIsPublishedResponse) {
|
||||||
m := &ItemSitesItemContentTypesItemIsPublishedResponse{
|
m := &ItemSitesItemContentTypesItemIsPublishedResponse{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +24,7 @@ func CreateItemSitesItemContentTypesItemIsPublishedResponseFromDiscriminatorValu
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemContentTypesItemIsPublishedResponse) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -51,7 +43,7 @@ func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetFieldDeserializers
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetValue()(*bool) {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) GetValue()(*bool) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemContentTypesItemIsPublishedResponse) Serialize(writer i878
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemContentTypesItemIsPublishedResponse) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) SetValue(value *bool)() {
|
func (m *ItemSitesItemContentTypesItemIsPublishedResponse) SetValue(value *bool)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemContentTypesItemIsPublishedResponseable
|
// ItemSitesItemContentTypesItemIsPublishedResponseable
|
||||||
type ItemSitesItemContentTypesItemIsPublishedResponseable interface {
|
type ItemSitesItemContentTypesItemIsPublishedResponseable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetValue()(*bool)
|
GetValue()(*bool)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetValue(value *bool)()
|
SetValue(value *bool)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse provides operations to call the getActivitiesByInterval method.
|
// ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse provides operations to call the getActivitiesByInterval method.
|
||||||
type ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse struct {
|
type ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse instantiates a new ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse and sets the default values.
|
// NewItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse instantiates a new ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse and sets the default values.
|
||||||
func NewItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse()(*ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) {
|
func NewItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse()(*ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStat, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStat))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable) {
|
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWit
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)() {
|
func (m *ItemSitesItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemGetApplicableContentTypesForListWithListIdResponse provides operations to call the getApplicableContentTypesForList method.
|
// ItemSitesItemGetApplicableContentTypesForListWithListIdResponse provides operations to call the getApplicableContentTypesForList method.
|
||||||
type ItemSitesItemGetApplicableContentTypesForListWithListIdResponse struct {
|
type ItemSitesItemGetApplicableContentTypesForListWithListIdResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemGetApplicableContentTypesForListWithListIdResponse instantiates a new ItemSitesItemGetApplicableContentTypesForListWithListIdResponse and sets the default values.
|
// NewItemSitesItemGetApplicableContentTypesForListWithListIdResponse instantiates a new ItemSitesItemGetApplicableContentTypesForListWithListIdResponse and sets the default values.
|
||||||
func NewItemSitesItemGetApplicableContentTypesForListWithListIdResponse()(*ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) {
|
func NewItemSitesItemGetApplicableContentTypesForListWithListIdResponse()(*ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) GetFie
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) GetFie
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) Serial
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) Serial
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
func (m *ItemSitesItemGetApplicableContentTypesForListWithListIdResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,19 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody provides operations to call the evaluate method.
|
// ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody provides operations to call the evaluate method.
|
||||||
type ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody struct {
|
type ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The evaluationInput property
|
||||||
|
evaluationInput ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable
|
||||||
|
// The notificationInfo property
|
||||||
|
notificationInfo ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable
|
||||||
|
// The target property
|
||||||
|
target *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) {
|
func NewItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody{
|
m := &ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +29,11 @@ func CreateItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluateP
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetEvaluationInput gets the evaluationInput property value. The evaluationInput property
|
// GetEvaluationInput gets the evaluationInput property value. The evaluationInput property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable) {
|
||||||
return m.GetBackingStore().Get("evaluationInput");
|
return m.evaluationInput
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,7 +44,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetEvaluationInput(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInput))
|
m.SetEvaluationInput(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -58,7 +54,7 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetNotificationInfo(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotification))
|
m.SetNotificationInfo(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -76,11 +72,11 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos
|
|||||||
}
|
}
|
||||||
// GetNotificationInfo gets the notificationInfo property value. The notificationInfo property
|
// GetNotificationInfo gets the notificationInfo property value. The notificationInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetNotificationInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetNotificationInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable) {
|
||||||
return m.GetBackingStore().Get("notificationInfo");
|
return m.notificationInfo
|
||||||
}
|
}
|
||||||
// GetTarget gets the target property value. The target property
|
// GetTarget gets the target property value. The target property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetTarget()(*string) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetTarget()(*string) {
|
||||||
return m.GetBackingStore().Get("target");
|
return m.target
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -102,25 +98,27 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetEvaluationInput sets the evaluationInput property value. The evaluationInput property
|
// SetEvaluationInput sets the evaluationInput property value. The evaluationInput property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)() {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)() {
|
||||||
m.GetBackingStore().Set("evaluationInput", value)
|
m.evaluationInput = value
|
||||||
}
|
}
|
||||||
// SetNotificationInfo sets the notificationInfo property value. The notificationInfo property
|
// SetNotificationInfo sets the notificationInfo property value. The notificationInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetNotificationInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)() {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetNotificationInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)() {
|
||||||
m.GetBackingStore().Set("notificationInfo", value)
|
m.notificationInfo = value
|
||||||
}
|
}
|
||||||
// SetTarget sets the target property value. The target property
|
// SetTarget sets the target property value. The target property
|
||||||
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetTarget(value *string)() {
|
func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetTarget(value *string)() {
|
||||||
m.GetBackingStore().Set("target", value)
|
m.target = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,13 +8,10 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable
|
// ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetEvaluationInput()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)
|
GetEvaluationInput()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)
|
||||||
GetNotificationInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)
|
GetNotificationInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)
|
||||||
GetTarget()(*string)
|
GetTarget()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetEvaluationInput(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)()
|
SetEvaluationInput(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpEvaluationInputable)()
|
||||||
SetNotificationInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)()
|
SetNotificationInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DlpNotificationable)()
|
||||||
SetTarget(value *string)()
|
SetTarget(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionDecryptBufferPostRequestBody provides operations to call the decryptBuffer method.
|
// ItemSitesItemInformationProtectionDecryptBufferPostRequestBody provides operations to call the decryptBuffer method.
|
||||||
type ItemSitesItemInformationProtectionDecryptBufferPostRequestBody struct {
|
type ItemSitesItemInformationProtectionDecryptBufferPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The encryptedBuffer property
|
||||||
|
encryptedBuffer []byte
|
||||||
|
// The publishingLicense property
|
||||||
|
publishingLicense []byte
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionDecryptBufferPostRequestBody instantiates a new ItemSitesItemInformationProtectionDecryptBufferPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionDecryptBufferPostRequestBody instantiates a new ItemSitesItemInformationProtectionDecryptBufferPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionDecryptBufferPostRequestBody()(*ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) {
|
func NewItemSitesItemInformationProtectionDecryptBufferPostRequestBody()(*ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionDecryptBufferPostRequestBody{
|
m := &ItemSitesItemInformationProtectionDecryptBufferPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +26,11 @@ func CreateItemSitesItemInformationProtectionDecryptBufferPostRequestBodyFromDis
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetEncryptedBuffer gets the encryptedBuffer property value. The encryptedBuffer property
|
// GetEncryptedBuffer gets the encryptedBuffer property value. The encryptedBuffer property
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetEncryptedBuffer()([]byte) {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetEncryptedBuffer()([]byte) {
|
||||||
return m.GetBackingStore().Get("encryptedBuffer");
|
return m.encryptedBuffer
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -65,7 +59,7 @@ func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetFiel
|
|||||||
}
|
}
|
||||||
// GetPublishingLicense gets the publishingLicense property value. The publishingLicense property
|
// GetPublishingLicense gets the publishingLicense property value. The publishingLicense property
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetPublishingLicense()([]byte) {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) GetPublishingLicense()([]byte) {
|
||||||
return m.GetBackingStore().Get("publishingLicense");
|
return m.publishingLicense
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -81,21 +75,23 @@ func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) Seriali
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetEncryptedBuffer sets the encryptedBuffer property value. The encryptedBuffer property
|
// SetEncryptedBuffer sets the encryptedBuffer property value. The encryptedBuffer property
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetEncryptedBuffer(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetEncryptedBuffer(value []byte)() {
|
||||||
m.GetBackingStore().Set("encryptedBuffer", value)
|
m.encryptedBuffer = value
|
||||||
}
|
}
|
||||||
// SetPublishingLicense sets the publishingLicense property value. The publishingLicense property
|
// SetPublishingLicense sets the publishingLicense property value. The publishingLicense property
|
||||||
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetPublishingLicense(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionDecryptBufferPostRequestBody) SetPublishingLicense(value []byte)() {
|
||||||
m.GetBackingStore().Set("publishingLicense", value)
|
m.publishingLicense = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,12 +7,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionDecryptBufferPostRequestBodyable
|
// ItemSitesItemInformationProtectionDecryptBufferPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionDecryptBufferPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionDecryptBufferPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetEncryptedBuffer()([]byte)
|
GetEncryptedBuffer()([]byte)
|
||||||
GetPublishingLicense()([]byte)
|
GetPublishingLicense()([]byte)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetEncryptedBuffer(value []byte)()
|
SetEncryptedBuffer(value []byte)()
|
||||||
SetPublishingLicense(value []byte)()
|
SetPublishingLicense(value []byte)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionEncryptBufferPostRequestBody provides operations to call the encryptBuffer method.
|
// ItemSitesItemInformationProtectionEncryptBufferPostRequestBody provides operations to call the encryptBuffer method.
|
||||||
type ItemSitesItemInformationProtectionEncryptBufferPostRequestBody struct {
|
type ItemSitesItemInformationProtectionEncryptBufferPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The buffer property
|
||||||
|
buffer []byte
|
||||||
|
// The labelId property
|
||||||
|
labelId *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionEncryptBufferPostRequestBody instantiates a new ItemSitesItemInformationProtectionEncryptBufferPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionEncryptBufferPostRequestBody instantiates a new ItemSitesItemInformationProtectionEncryptBufferPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionEncryptBufferPostRequestBody()(*ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) {
|
func NewItemSitesItemInformationProtectionEncryptBufferPostRequestBody()(*ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionEncryptBufferPostRequestBody{
|
m := &ItemSitesItemInformationProtectionEncryptBufferPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +27,11 @@ func CreateItemSitesItemInformationProtectionEncryptBufferPostRequestBodyFromDis
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetBuffer gets the buffer property value. The buffer property
|
// GetBuffer gets the buffer property value. The buffer property
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetBuffer()([]byte) {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetBuffer()([]byte) {
|
||||||
return m.GetBackingStore().Get("buffer");
|
return m.buffer
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -66,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetFiel
|
|||||||
}
|
}
|
||||||
// GetLabelId gets the labelId property value. The labelId property
|
// GetLabelId gets the labelId property value. The labelId property
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetLabelId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) GetLabelId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) {
|
||||||
return m.GetBackingStore().Get("labelId");
|
return m.labelId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -82,21 +76,23 @@ func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) Seriali
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetBuffer sets the buffer property value. The buffer property
|
// SetBuffer sets the buffer property value. The buffer property
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetBuffer(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetBuffer(value []byte)() {
|
||||||
m.GetBackingStore().Set("buffer", value)
|
m.buffer = value
|
||||||
}
|
}
|
||||||
// SetLabelId sets the labelId property value. The labelId property
|
// SetLabelId sets the labelId property value. The labelId property
|
||||||
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetLabelId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() {
|
func (m *ItemSitesItemInformationProtectionEncryptBufferPostRequestBody) SetLabelId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() {
|
||||||
m.GetBackingStore().Set("labelId", value)
|
m.labelId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionEncryptBufferPostRequestBodyable
|
// ItemSitesItemInformationProtectionEncryptBufferPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionEncryptBufferPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionEncryptBufferPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetBuffer()([]byte)
|
GetBuffer()([]byte)
|
||||||
GetLabelId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)
|
GetLabelId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetBuffer(value []byte)()
|
SetBuffer(value []byte)()
|
||||||
SetLabelId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)()
|
SetLabelId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody provides operations to call the evaluateApplication method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody provides operations to call the evaluateApplication method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentInfo property
|
||||||
|
contentInfo ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable
|
||||||
|
// The labelingOptions property
|
||||||
|
labelingOptions ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody{
|
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +27,11 @@ func CreateItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPost
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
||||||
return m.GetBackingStore().Get("contentInfo");
|
return m.contentInfo
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,7 +42,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRe
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetContentInfo(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfo))
|
m.SetContentInfo(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -58,7 +52,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRe
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetLabelingOptions(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptions))
|
m.SetLabelingOptions(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -66,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRe
|
|||||||
}
|
}
|
||||||
// GetLabelingOptions gets the labelingOptions property value. The labelingOptions property
|
// GetLabelingOptions gets the labelingOptions property value. The labelingOptions property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetLabelingOptions()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) GetLabelingOptions()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable) {
|
||||||
return m.GetBackingStore().Get("labelingOptions");
|
return m.labelingOptions
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -82,21 +76,23 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRe
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
||||||
m.GetBackingStore().Set("contentInfo", value)
|
m.contentInfo = value
|
||||||
}
|
}
|
||||||
// SetLabelingOptions sets the labelingOptions property value. The labelingOptions property
|
// SetLabelingOptions sets the labelingOptions property value. The labelingOptions property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetLabelingOptions(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBody) SetLabelingOptions(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)() {
|
||||||
m.GetBackingStore().Set("labelingOptions", value)
|
m.labelingOptions = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
||||||
GetLabelingOptions()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)
|
GetLabelingOptions()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
||||||
SetLabelingOptions(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)()
|
SetLabelingOptions(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.LabelingOptionsable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse provides operations to call the evaluateApplication method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse provides operations to call the evaluateApplication method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRespon
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRespon
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRespon
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationRespon
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateApplicationResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody provides operations to call the evaluateClassificationResults method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody provides operations to call the evaluateClassificationResults method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The classificationResults property
|
||||||
|
classificationResults []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable
|
||||||
|
// The contentInfo property
|
||||||
|
contentInfo ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody{
|
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,24 +27,15 @@ func CreateItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationR
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetClassificationResults gets the classificationResults property value. The classificationResults property
|
// GetClassificationResults gets the classificationResults property value. The classificationResults property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetClassificationResults()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetClassificationResults()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable) {
|
||||||
return m.GetBackingStore().Get("classificationResults");
|
return m.classificationResults
|
||||||
}
|
}
|
||||||
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
||||||
return m.GetBackingStore().Get("contentInfo");
|
return m.contentInfo
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -52,9 +46,9 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResult, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResult))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)
|
||||||
}
|
}
|
||||||
m.SetClassificationResults(res)
|
m.SetClassificationResults(res)
|
||||||
}
|
}
|
||||||
@ -66,7 +60,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetContentInfo(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfo))
|
m.SetContentInfo(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -77,8 +71,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
if m.GetClassificationResults() != nil {
|
if m.GetClassificationResults() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetClassificationResults()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetClassificationResults()))
|
||||||
for i, v := range m.GetClassificationResults() {
|
for i, v := range m.GetClassificationResults() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("classificationResults", cast)
|
err := writer.WriteCollectionOfObjectValues("classificationResults", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -91,21 +84,23 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetClassificationResults sets the classificationResults property value. The classificationResults property
|
// SetClassificationResults sets the classificationResults property value. The classificationResults property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetClassificationResults(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetClassificationResults(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)() {
|
||||||
m.GetBackingStore().Set("classificationResults", value)
|
m.classificationResults = value
|
||||||
}
|
}
|
||||||
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
||||||
m.GetBackingStore().Set("contentInfo", value)
|
m.contentInfo = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetClassificationResults()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)
|
GetClassificationResults()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)
|
||||||
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetClassificationResults(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)()
|
SetClassificationResults(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ClassificationResultable)()
|
||||||
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse provides operations to call the evaluateClassificationResults method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse provides operations to call the evaluateClassificationResults method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationRes
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateClassificationResultsResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody provides operations to call the evaluateRemoval method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody provides operations to call the evaluateRemoval method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentInfo property
|
||||||
|
contentInfo ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable
|
||||||
|
// The downgradeJustification property
|
||||||
|
downgradeJustification ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody{
|
m := &ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,24 +27,15 @@ func CreateItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequ
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
||||||
return m.GetBackingStore().Get("contentInfo");
|
return m.contentInfo
|
||||||
}
|
}
|
||||||
// GetDowngradeJustification gets the downgradeJustification property value. The downgradeJustification property
|
// GetDowngradeJustification gets the downgradeJustification property value. The downgradeJustification property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetDowngradeJustification()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetDowngradeJustification()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable) {
|
||||||
return m.GetBackingStore().Get("downgradeJustification");
|
return m.downgradeJustification
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -52,7 +46,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostReques
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetContentInfo(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfo))
|
m.SetContentInfo(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -62,7 +56,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostReques
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetDowngradeJustification(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustification))
|
m.SetDowngradeJustification(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -82,21 +76,23 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostReques
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
||||||
m.GetBackingStore().Set("contentInfo", value)
|
m.contentInfo = value
|
||||||
}
|
}
|
||||||
// SetDowngradeJustification sets the downgradeJustification property value. The downgradeJustification property
|
// SetDowngradeJustification sets the downgradeJustification property value. The downgradeJustification property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetDowngradeJustification(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBody) SetDowngradeJustification(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)() {
|
||||||
m.GetBackingStore().Set("downgradeJustification", value)
|
m.downgradeJustification = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
||||||
GetDowngradeJustification()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)
|
GetDowngradeJustification()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
||||||
SetDowngradeJustification(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)()
|
SetDowngradeJustification(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DowngradeJustificationable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse provides operations to call the evaluateRemoval method.
|
// ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse provides operations to call the evaluateRemoval method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse instantiates a new ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse()(*ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse)
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionAction))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse)
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse)
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse)
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsEvaluateRemovalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.InformationProtectionActionable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody provides operations to call the extractLabel method.
|
// ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody provides operations to call the extractLabel method.
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody struct {
|
type ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentInfo property
|
||||||
|
contentInfo ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody instantiates a new ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) {
|
func NewItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody()(*ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody{
|
m := &ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequest
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
// GetContentInfo gets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable) {
|
||||||
return m.GetBackingStore().Get("contentInfo");
|
return m.contentInfo
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,7 +40,7 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBo
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetContentInfo(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfo))
|
m.SetContentInfo(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -62,17 +54,19 @@ func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBo
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
// SetContentInfo sets the contentInfo property value. The contentInfo property
|
||||||
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
func (m *ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBody) SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)() {
|
||||||
m.GetBackingStore().Set("contentInfo", value)
|
m.contentInfo = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable
|
// ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionPolicyLabelsExtractLabelPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
GetContentInfo()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
SetContentInfo(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentInfoable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody provides operations to call the evaluate method.
|
// ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody provides operations to call the evaluate method.
|
||||||
type ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody struct {
|
type ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The currentLabel property
|
||||||
|
currentLabel ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable
|
||||||
|
// The discoveredSensitiveTypes property
|
||||||
|
discoveredSensitiveTypes []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) {
|
func NewItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody{
|
m := &ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,24 +27,15 @@ func CreateItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostReques
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCurrentLabel gets the currentLabel property value. The currentLabel property
|
// GetCurrentLabel gets the currentLabel property value. The currentLabel property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable) {
|
||||||
return m.GetBackingStore().Get("currentLabel");
|
return m.currentLabel
|
||||||
}
|
}
|
||||||
// GetDiscoveredSensitiveTypes gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
// GetDiscoveredSensitiveTypes gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable) {
|
||||||
return m.GetBackingStore().Get("discoveredSensitiveTypes");
|
return m.discoveredSensitiveTypes
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -52,7 +46,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestB
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetCurrentLabel(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabel))
|
m.SetCurrentLabel(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -62,9 +56,9 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestB
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveType, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveType))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
||||||
}
|
}
|
||||||
m.SetDiscoveredSensitiveTypes(res)
|
m.SetDiscoveredSensitiveTypes(res)
|
||||||
}
|
}
|
||||||
@ -83,29 +77,30 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestB
|
|||||||
if m.GetDiscoveredSensitiveTypes() != nil {
|
if m.GetDiscoveredSensitiveTypes() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDiscoveredSensitiveTypes()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDiscoveredSensitiveTypes()))
|
||||||
for i, v := range m.GetDiscoveredSensitiveTypes() {
|
for i, v := range m.GetDiscoveredSensitiveTypes() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("discoveredSensitiveTypes", cast)
|
err := writer.WriteCollectionOfObjectValues("discoveredSensitiveTypes", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCurrentLabel sets the currentLabel property value. The currentLabel property
|
// SetCurrentLabel sets the currentLabel property value. The currentLabel property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)() {
|
||||||
m.GetBackingStore().Set("currentLabel", value)
|
m.currentLabel = value
|
||||||
}
|
}
|
||||||
// SetDiscoveredSensitiveTypes sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
// SetDiscoveredSensitiveTypes sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBody) SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)() {
|
||||||
m.GetBackingStore().Set("discoveredSensitiveTypes", value)
|
m.discoveredSensitiveTypes = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBodyable
|
// ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionSensitivityLabelsEvaluatePostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)
|
GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)
|
||||||
GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)()
|
SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)()
|
||||||
SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)()
|
SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody provides operations to call the evaluate method.
|
// ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody provides operations to call the evaluate method.
|
||||||
type ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody struct {
|
type ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The currentLabel property
|
||||||
|
currentLabel ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable
|
||||||
|
// The discoveredSensitiveTypes property
|
||||||
|
discoveredSensitiveTypes []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody instantiates a new ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) {
|
func NewItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody()(*ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody{
|
m := &ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,24 +27,15 @@ func CreateItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvalu
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCurrentLabel gets the currentLabel property value. The currentLabel property
|
// GetCurrentLabel gets the currentLabel property value. The currentLabel property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable) {
|
||||||
return m.GetBackingStore().Get("currentLabel");
|
return m.currentLabel
|
||||||
}
|
}
|
||||||
// GetDiscoveredSensitiveTypes gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
// GetDiscoveredSensitiveTypes gets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable) {
|
||||||
return m.GetBackingStore().Get("discoveredSensitiveTypes");
|
return m.discoveredSensitiveTypes
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -52,7 +46,7 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluat
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetCurrentLabel(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabel))
|
m.SetCurrentLabel(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -62,9 +56,9 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluat
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveType, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveType))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
||||||
}
|
}
|
||||||
m.SetDiscoveredSensitiveTypes(res)
|
m.SetDiscoveredSensitiveTypes(res)
|
||||||
}
|
}
|
||||||
@ -83,29 +77,30 @@ func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluat
|
|||||||
if m.GetDiscoveredSensitiveTypes() != nil {
|
if m.GetDiscoveredSensitiveTypes() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDiscoveredSensitiveTypes()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDiscoveredSensitiveTypes()))
|
||||||
for i, v := range m.GetDiscoveredSensitiveTypes() {
|
for i, v := range m.GetDiscoveredSensitiveTypes() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("discoveredSensitiveTypes", cast)
|
err := writer.WriteCollectionOfObjectValues("discoveredSensitiveTypes", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCurrentLabel sets the currentLabel property value. The currentLabel property
|
// SetCurrentLabel sets the currentLabel property value. The currentLabel property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)() {
|
||||||
m.GetBackingStore().Set("currentLabel", value)
|
m.currentLabel = value
|
||||||
}
|
}
|
||||||
// SetDiscoveredSensitiveTypes sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
// SetDiscoveredSensitiveTypes sets the discoveredSensitiveTypes property value. The discoveredSensitiveTypes property
|
||||||
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)() {
|
func (m *ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBody) SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)() {
|
||||||
m.GetBackingStore().Set("discoveredSensitiveTypes", value)
|
m.discoveredSensitiveTypes = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBodyable
|
// ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionSensitivityLabelsItemSublabelsEvaluatePostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)
|
GetCurrentLabel()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)
|
||||||
GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
GetDiscoveredSensitiveTypes()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)()
|
SetCurrentLabel(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.CurrentLabelable)()
|
||||||
SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)()
|
SetDiscoveredSensitiveTypes(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DiscoveredSensitiveTypeable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionSignDigestPostRequestBody provides operations to call the signDigest method.
|
// ItemSitesItemInformationProtectionSignDigestPostRequestBody provides operations to call the signDigest method.
|
||||||
type ItemSitesItemInformationProtectionSignDigestPostRequestBody struct {
|
type ItemSitesItemInformationProtectionSignDigestPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The digest property
|
||||||
|
digest []byte
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionSignDigestPostRequestBody instantiates a new ItemSitesItemInformationProtectionSignDigestPostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionSignDigestPostRequestBody instantiates a new ItemSitesItemInformationProtectionSignDigestPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionSignDigestPostRequestBody()(*ItemSitesItemInformationProtectionSignDigestPostRequestBody) {
|
func NewItemSitesItemInformationProtectionSignDigestPostRequestBody()(*ItemSitesItemInformationProtectionSignDigestPostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionSignDigestPostRequestBody{
|
m := &ItemSitesItemInformationProtectionSignDigestPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +24,11 @@ func CreateItemSitesItemInformationProtectionSignDigestPostRequestBodyFromDiscri
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetDigest gets the digest property value. The digest property
|
// GetDigest gets the digest property value. The digest property
|
||||||
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetDigest()([]byte) {
|
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetDigest()([]byte) {
|
||||||
return m.GetBackingStore().Get("digest");
|
return m.digest
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) Serialize(
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionSignDigestPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetDigest sets the digest property value. The digest property
|
// SetDigest sets the digest property value. The digest property
|
||||||
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) SetDigest(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionSignDigestPostRequestBody) SetDigest(value []byte)() {
|
||||||
m.GetBackingStore().Set("digest", value)
|
m.digest = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionSignDigestPostRequestBodyable
|
// ItemSitesItemInformationProtectionSignDigestPostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionSignDigestPostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionSignDigestPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetDigest()([]byte)
|
GetDigest()([]byte)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetDigest(value []byte)()
|
SetDigest(value []byte)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,19 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemInformationProtectionVerifySignaturePostRequestBody provides operations to call the verifySignature method.
|
// ItemSitesItemInformationProtectionVerifySignaturePostRequestBody provides operations to call the verifySignature method.
|
||||||
type ItemSitesItemInformationProtectionVerifySignaturePostRequestBody struct {
|
type ItemSitesItemInformationProtectionVerifySignaturePostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The digest property
|
||||||
|
digest []byte
|
||||||
|
// The signature property
|
||||||
|
signature []byte
|
||||||
|
// The signingKeyId property
|
||||||
|
signingKeyId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemInformationProtectionVerifySignaturePostRequestBody instantiates a new ItemSitesItemInformationProtectionVerifySignaturePostRequestBody and sets the default values.
|
// NewItemSitesItemInformationProtectionVerifySignaturePostRequestBody instantiates a new ItemSitesItemInformationProtectionVerifySignaturePostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemInformationProtectionVerifySignaturePostRequestBody()(*ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) {
|
func NewItemSitesItemInformationProtectionVerifySignaturePostRequestBody()(*ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) {
|
||||||
m := &ItemSitesItemInformationProtectionVerifySignaturePostRequestBody{
|
m := &ItemSitesItemInformationProtectionVerifySignaturePostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +28,11 @@ func CreateItemSitesItemInformationProtectionVerifySignaturePostRequestBodyFromD
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetDigest gets the digest property value. The digest property
|
// GetDigest gets the digest property value. The digest property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetDigest()([]byte) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetDigest()([]byte) {
|
||||||
return m.GetBackingStore().Get("digest");
|
return m.digest
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -75,11 +71,11 @@ func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetFi
|
|||||||
}
|
}
|
||||||
// GetSignature gets the signature property value. The signature property
|
// GetSignature gets the signature property value. The signature property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetSignature()([]byte) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetSignature()([]byte) {
|
||||||
return m.GetBackingStore().Get("signature");
|
return m.signature
|
||||||
}
|
}
|
||||||
// GetSigningKeyId gets the signingKeyId property value. The signingKeyId property
|
// GetSigningKeyId gets the signingKeyId property value. The signingKeyId property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetSigningKeyId()(*string) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) GetSigningKeyId()(*string) {
|
||||||
return m.GetBackingStore().Get("signingKeyId");
|
return m.signingKeyId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -101,25 +97,27 @@ func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) Seria
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetDigest sets the digest property value. The digest property
|
// SetDigest sets the digest property value. The digest property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetDigest(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetDigest(value []byte)() {
|
||||||
m.GetBackingStore().Set("digest", value)
|
m.digest = value
|
||||||
}
|
}
|
||||||
// SetSignature sets the signature property value. The signature property
|
// SetSignature sets the signature property value. The signature property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetSignature(value []byte)() {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetSignature(value []byte)() {
|
||||||
m.GetBackingStore().Set("signature", value)
|
m.signature = value
|
||||||
}
|
}
|
||||||
// SetSigningKeyId sets the signingKeyId property value. The signingKeyId property
|
// SetSigningKeyId sets the signingKeyId property value. The signingKeyId property
|
||||||
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetSigningKeyId(value *string)() {
|
func (m *ItemSitesItemInformationProtectionVerifySignaturePostRequestBody) SetSigningKeyId(value *string)() {
|
||||||
m.GetBackingStore().Set("signingKeyId", value)
|
m.signingKeyId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,13 +7,10 @@ import (
|
|||||||
// ItemSitesItemInformationProtectionVerifySignaturePostRequestBodyable
|
// ItemSitesItemInformationProtectionVerifySignaturePostRequestBodyable
|
||||||
type ItemSitesItemInformationProtectionVerifySignaturePostRequestBodyable interface {
|
type ItemSitesItemInformationProtectionVerifySignaturePostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetDigest()([]byte)
|
GetDigest()([]byte)
|
||||||
GetSignature()([]byte)
|
GetSignature()([]byte)
|
||||||
GetSigningKeyId()(*string)
|
GetSigningKeyId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetDigest(value []byte)()
|
SetDigest(value []byte)()
|
||||||
SetSignature(value []byte)()
|
SetSignature(value []byte)()
|
||||||
SetSigningKeyId(value *string)()
|
SetSigningKeyId(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody provides operations to call the addCopyFromContentTypeHub method.
|
// ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody provides operations to call the addCopyFromContentTypeHub method.
|
||||||
type ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody struct {
|
type ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentTypeId property
|
||||||
|
contentTypeId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody and sets the default values.
|
// NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody()(*ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) {
|
func NewItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody()(*ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) {
|
||||||
m := &ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody{
|
m := &ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +24,11 @@ func CreateItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostReques
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentTypeId gets the contentTypeId property value. The contentTypeId property
|
// GetContentTypeId gets the contentTypeId property value. The contentTypeId property
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetContentTypeId()(*string) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetContentTypeId()(*string) {
|
||||||
return m.GetBackingStore().Get("contentTypeId");
|
return m.contentTypeId
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestB
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentTypeId sets the contentTypeId property value. The contentTypeId property
|
// SetContentTypeId sets the contentTypeId property value. The contentTypeId property
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetContentTypeId(value *string)() {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBody) SetContentTypeId(value *string)() {
|
||||||
m.GetBackingStore().Set("contentTypeId", value)
|
m.contentTypeId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable
|
// ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable
|
||||||
type ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable interface {
|
type ItemSitesItemListsItemContentTypesAddCopyFromContentTypeHubPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentTypeId()(*string)
|
GetContentTypeId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentTypeId(value *string)()
|
SetContentTypeId(value *string)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemContentTypesAddCopyPostRequestBody provides operations to call the addCopy method.
|
// ItemSitesItemListsItemContentTypesAddCopyPostRequestBody provides operations to call the addCopy method.
|
||||||
type ItemSitesItemListsItemContentTypesAddCopyPostRequestBody struct {
|
type ItemSitesItemListsItemContentTypesAddCopyPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The contentType property
|
||||||
|
contentType *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesAddCopyPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesAddCopyPostRequestBody and sets the default values.
|
// NewItemSitesItemListsItemContentTypesAddCopyPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesAddCopyPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesAddCopyPostRequestBody()(*ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) {
|
func NewItemSitesItemListsItemContentTypesAddCopyPostRequestBody()(*ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) {
|
||||||
m := &ItemSitesItemListsItemContentTypesAddCopyPostRequestBody{
|
m := &ItemSitesItemListsItemContentTypesAddCopyPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +24,11 @@ func CreateItemSitesItemListsItemContentTypesAddCopyPostRequestBodyFromDiscrimin
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetContentType gets the contentType property value. The contentType property
|
// GetContentType gets the contentType property value. The contentType property
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetContentType()(*string) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetContentType()(*string) {
|
||||||
return m.GetBackingStore().Get("contentType");
|
return m.contentType
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) Serialize(wri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetContentType sets the contentType property value. The contentType property
|
// SetContentType sets the contentType property value. The contentType property
|
||||||
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) SetContentType(value *string)() {
|
func (m *ItemSitesItemListsItemContentTypesAddCopyPostRequestBody) SetContentType(value *string)() {
|
||||||
m.GetBackingStore().Set("contentType", value)
|
m.contentType = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesAddCopyPostRequestBodyable
|
// ItemSitesItemListsItemContentTypesAddCopyPostRequestBodyable
|
||||||
type ItemSitesItemListsItemContentTypesAddCopyPostRequestBodyable interface {
|
type ItemSitesItemListsItemContentTypesAddCopyPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetContentType()(*string)
|
GetContentType()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetContentType(value *string)()
|
SetContentType(value *string)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse provides operations to call the getCompatibleHubContentTypes method.
|
// ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse provides operations to call the getCompatibleHubContentTypes method.
|
||||||
type ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse struct {
|
type ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse instantiates a new ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse and sets the default values.
|
// NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse instantiates a new ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse()(*ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) {
|
func NewItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse()(*ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse)
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentType))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse)
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse)
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse)
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
func (m *ItemSitesItemListsItemContentTypesGetCompatibleHubContentTypesResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ContentTypeable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody provides operations to call the associateWithHubSites method.
|
// ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody provides operations to call the associateWithHubSites method.
|
||||||
type ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody struct {
|
type ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The hubSiteUrls property
|
||||||
|
hubSiteUrls []string
|
||||||
|
// The propagateToExistingLists property
|
||||||
|
propagateToExistingLists *bool
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody and sets the default values.
|
// NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) {
|
func NewItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody()(*ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) {
|
||||||
m := &ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody{
|
m := &ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +26,7 @@ func CreateItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostReques
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -65,11 +59,11 @@ func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestB
|
|||||||
}
|
}
|
||||||
// GetHubSiteUrls gets the hubSiteUrls property value. The hubSiteUrls property
|
// GetHubSiteUrls gets the hubSiteUrls property value. The hubSiteUrls property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetHubSiteUrls()([]string) {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetHubSiteUrls()([]string) {
|
||||||
return m.GetBackingStore().Get("hubSiteUrls");
|
return m.hubSiteUrls
|
||||||
}
|
}
|
||||||
// GetPropagateToExistingLists gets the propagateToExistingLists property value. The propagateToExistingLists property
|
// GetPropagateToExistingLists gets the propagateToExistingLists property value. The propagateToExistingLists property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetPropagateToExistingLists()(*bool) {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) GetPropagateToExistingLists()(*bool) {
|
||||||
return m.GetBackingStore().Get("propagateToExistingLists");
|
return m.propagateToExistingLists
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -85,21 +79,23 @@ func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestB
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetHubSiteUrls sets the hubSiteUrls property value. The hubSiteUrls property
|
// SetHubSiteUrls sets the hubSiteUrls property value. The hubSiteUrls property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetHubSiteUrls(value []string)() {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetHubSiteUrls(value []string)() {
|
||||||
m.GetBackingStore().Set("hubSiteUrls", value)
|
m.hubSiteUrls = value
|
||||||
}
|
}
|
||||||
// SetPropagateToExistingLists sets the propagateToExistingLists property value. The propagateToExistingLists property
|
// SetPropagateToExistingLists sets the propagateToExistingLists property value. The propagateToExistingLists property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetPropagateToExistingLists(value *bool)() {
|
func (m *ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBody) SetPropagateToExistingLists(value *bool)() {
|
||||||
m.GetBackingStore().Set("propagateToExistingLists", value)
|
m.propagateToExistingLists = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,12 +7,9 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable
|
// ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable
|
||||||
type ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable interface {
|
type ItemSitesItemListsItemContentTypesItemAssociateWithHubSitesPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetHubSiteUrls()([]string)
|
GetHubSiteUrls()([]string)
|
||||||
GetPropagateToExistingLists()(*bool)
|
GetPropagateToExistingLists()(*bool)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetHubSiteUrls(value []string)()
|
SetHubSiteUrls(value []string)()
|
||||||
SetPropagateToExistingLists(value *bool)()
|
SetPropagateToExistingLists(value *bool)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,17 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody provides operations to call the copyToDefaultContentLocation method.
|
// ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody provides operations to call the copyToDefaultContentLocation method.
|
||||||
type ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody struct {
|
type ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The destinationFileName property
|
||||||
|
destinationFileName *string
|
||||||
|
// The sourceFile property
|
||||||
|
sourceFile ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody and sets the default values.
|
// NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody instantiates a new ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody()(*ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) {
|
func NewItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody()(*ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) {
|
||||||
m := &ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody{
|
m := &ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +27,11 @@ func CreateItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPos
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetDestinationFileName gets the destinationFileName property value. The destinationFileName property
|
// GetDestinationFileName gets the destinationFileName property value. The destinationFileName property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetDestinationFileName()(*string) {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetDestinationFileName()(*string) {
|
||||||
return m.GetBackingStore().Get("destinationFileName");
|
return m.destinationFileName
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -58,7 +52,7 @@ func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostR
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
m.SetSourceFile(val.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReference))
|
m.SetSourceFile(val.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -66,7 +60,7 @@ func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostR
|
|||||||
}
|
}
|
||||||
// GetSourceFile gets the sourceFile property value. The sourceFile property
|
// GetSourceFile gets the sourceFile property value. The sourceFile property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable) {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable) {
|
||||||
return m.GetBackingStore().Get("sourceFile");
|
return m.sourceFile
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -82,21 +76,23 @@ func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostR
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetDestinationFileName sets the destinationFileName property value. The destinationFileName property
|
// SetDestinationFileName sets the destinationFileName property value. The destinationFileName property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetDestinationFileName(value *string)() {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetDestinationFileName(value *string)() {
|
||||||
m.GetBackingStore().Set("destinationFileName", value)
|
m.destinationFileName = value
|
||||||
}
|
}
|
||||||
// SetSourceFile sets the sourceFile property value. The sourceFile property
|
// SetSourceFile sets the sourceFile property value. The sourceFile property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)() {
|
func (m *ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBody) SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)() {
|
||||||
m.GetBackingStore().Set("sourceFile", value)
|
m.sourceFile = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,12 +8,9 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable
|
// ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable
|
||||||
type ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable interface {
|
type ItemSitesItemListsItemContentTypesItemCopyToDefaultContentLocationPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetDestinationFileName()(*string)
|
GetDestinationFileName()(*string)
|
||||||
GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)
|
GetSourceFile()(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetDestinationFileName(value *string)()
|
SetDestinationFileName(value *string)()
|
||||||
SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)()
|
SetSourceFile(value ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemReferenceable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemContentTypesItemIsPublishedResponse provides operations to call the isPublished method.
|
// ItemSitesItemListsItemContentTypesItemIsPublishedResponse provides operations to call the isPublished method.
|
||||||
type ItemSitesItemListsItemContentTypesItemIsPublishedResponse struct {
|
type ItemSitesItemListsItemContentTypesItemIsPublishedResponse struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The value property
|
||||||
|
value *bool
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemContentTypesItemIsPublishedResponse instantiates a new ItemSitesItemListsItemContentTypesItemIsPublishedResponse and sets the default values.
|
// NewItemSitesItemListsItemContentTypesItemIsPublishedResponse instantiates a new ItemSitesItemListsItemContentTypesItemIsPublishedResponse and sets the default values.
|
||||||
func NewItemSitesItemListsItemContentTypesItemIsPublishedResponse()(*ItemSitesItemListsItemContentTypesItemIsPublishedResponse) {
|
func NewItemSitesItemListsItemContentTypesItemIsPublishedResponse()(*ItemSitesItemListsItemContentTypesItemIsPublishedResponse) {
|
||||||
m := &ItemSitesItemListsItemContentTypesItemIsPublishedResponse{
|
m := &ItemSitesItemListsItemContentTypesItemIsPublishedResponse{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +24,7 @@ func CreateItemSitesItemListsItemContentTypesItemIsPublishedResponseFromDiscrimi
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -51,7 +43,7 @@ func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetFieldDese
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetValue()(*bool) {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) GetValue()(*bool) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) Serialize(wr
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) SetValue(value *bool)() {
|
func (m *ItemSitesItemListsItemContentTypesItemIsPublishedResponse) SetValue(value *bool)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemListsItemContentTypesItemIsPublishedResponseable
|
// ItemSitesItemListsItemContentTypesItemIsPublishedResponseable
|
||||||
type ItemSitesItemListsItemContentTypesItemIsPublishedResponseable interface {
|
type ItemSitesItemListsItemContentTypesItemIsPublishedResponseable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetValue()(*bool)
|
GetValue()(*bool)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetValue(value *bool)()
|
SetValue(value *bool)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemListsItemItemsDeltaResponse provides operations to call the delta method.
|
// ItemSitesItemListsItemItemsDeltaResponse provides operations to call the delta method.
|
||||||
type ItemSitesItemListsItemItemsDeltaResponse struct {
|
type ItemSitesItemListsItemItemsDeltaResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemItemsDeltaResponse instantiates a new ItemSitesItemListsItemItemsDeltaResponse and sets the default values.
|
// NewItemSitesItemListsItemItemsDeltaResponse instantiates a new ItemSitesItemListsItemItemsDeltaResponse and sets the default values.
|
||||||
func NewItemSitesItemListsItemItemsDeltaResponse()(*ItemSitesItemListsItemItemsDeltaResponse) {
|
func NewItemSitesItemListsItemItemsDeltaResponse()(*ItemSitesItemListsItemItemsDeltaResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemListsItemItemsDeltaResponse) GetFieldDeserializers()(map[s
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItem, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItem))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemListsItemItemsDeltaResponse) GetFieldDeserializers()(map[s
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable) {
|
func (m *ItemSitesItemListsItemItemsDeltaResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemItemsDeltaResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemListsItemItemsDeltaResponse) Serialize(writer i878a80d2330
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemListsItemItemsDeltaResponse) Serialize(writer i878a80d2330
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)() {
|
func (m *ItemSitesItemListsItemItemsDeltaResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemListsItemItemsDeltaWithTokenResponse provides operations to call the delta method.
|
// ItemSitesItemListsItemItemsDeltaWithTokenResponse provides operations to call the delta method.
|
||||||
type ItemSitesItemListsItemItemsDeltaWithTokenResponse struct {
|
type ItemSitesItemListsItemItemsDeltaWithTokenResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseDeltaFunctionResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemItemsDeltaWithTokenResponse instantiates a new ItemSitesItemListsItemItemsDeltaWithTokenResponse and sets the default values.
|
// NewItemSitesItemListsItemItemsDeltaWithTokenResponse instantiates a new ItemSitesItemListsItemItemsDeltaWithTokenResponse and sets the default values.
|
||||||
func NewItemSitesItemListsItemItemsDeltaWithTokenResponse()(*ItemSitesItemListsItemItemsDeltaWithTokenResponse) {
|
func NewItemSitesItemListsItemItemsDeltaWithTokenResponse()(*ItemSitesItemListsItemItemsDeltaWithTokenResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) GetFieldDeserializer
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItem, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItem))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) GetFieldDeserializer
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable) {
|
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) Serialize(writer i87
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) Serialize(writer i87
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)() {
|
func (m *ItemSitesItemListsItemItemsDeltaWithTokenResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ListItemable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,16 +8,25 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody provides operations to call the createLink method.
|
// ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody provides operations to call the createLink method.
|
||||||
type ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody struct {
|
type ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The expirationDateTime property
|
||||||
|
expirationDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
|
||||||
|
// The password property
|
||||||
|
password *string
|
||||||
|
// The recipients property
|
||||||
|
recipients []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable
|
||||||
|
// The retainInheritedPermissions property
|
||||||
|
retainInheritedPermissions *bool
|
||||||
|
// The scope property
|
||||||
|
scope *string
|
||||||
// The type property
|
// The type property
|
||||||
Type_escaped *string
|
type_escaped *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemItemsItemCreateLinkPostRequestBody instantiates a new ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody and sets the default values.
|
// NewItemSitesItemListsItemItemsItemCreateLinkPostRequestBody instantiates a new ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemListsItemItemsItemCreateLinkPostRequestBody()(*ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) {
|
func NewItemSitesItemListsItemItemsItemCreateLinkPostRequestBody()(*ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) {
|
||||||
m := &ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody{
|
m := &ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -27,20 +36,11 @@ func CreateItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyFromDiscrimin
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property
|
// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) {
|
||||||
return m.GetBackingStore().Get("expirationDateTime");
|
return m.expirationDateTime
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -71,9 +71,9 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetFieldDeser
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipient, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipient))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)
|
||||||
}
|
}
|
||||||
m.SetRecipients(res)
|
m.SetRecipients(res)
|
||||||
}
|
}
|
||||||
@ -113,23 +113,23 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetFieldDeser
|
|||||||
}
|
}
|
||||||
// GetPassword gets the password property value. The password property
|
// GetPassword gets the password property value. The password property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetPassword()(*string) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetPassword()(*string) {
|
||||||
return m.GetBackingStore().Get("password");
|
return m.password
|
||||||
}
|
}
|
||||||
// GetRecipients gets the recipients property value. The recipients property
|
// GetRecipients gets the recipients property value. The recipients property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetRecipients()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetRecipients()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable) {
|
||||||
return m.GetBackingStore().Get("recipients");
|
return m.recipients
|
||||||
}
|
}
|
||||||
// GetRetainInheritedPermissions gets the retainInheritedPermissions property value. The retainInheritedPermissions property
|
// GetRetainInheritedPermissions gets the retainInheritedPermissions property value. The retainInheritedPermissions property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetRetainInheritedPermissions()(*bool) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetRetainInheritedPermissions()(*bool) {
|
||||||
return m.GetBackingStore().Get("retainInheritedPermissions");
|
return m.retainInheritedPermissions
|
||||||
}
|
}
|
||||||
// GetScope gets the scope property value. The scope property
|
// GetScope gets the scope property value. The scope property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetScope()(*string) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetScope()(*string) {
|
||||||
return m.GetBackingStore().Get("scope");
|
return m.scope
|
||||||
}
|
}
|
||||||
// GetType gets the type property value. The type property
|
// GetType gets the type property value. The type property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetType()(*string) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) GetType()(*string) {
|
||||||
return m.GetBackingStore().Get("type_escaped");
|
return m.type_escaped
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -148,8 +148,7 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) Serialize(wri
|
|||||||
if m.GetRecipients() != nil {
|
if m.GetRecipients() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecipients()))
|
||||||
for i, v := range m.GetRecipients() {
|
for i, v := range m.GetRecipients() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("recipients", cast)
|
err := writer.WriteCollectionOfObjectValues("recipients", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -174,37 +173,39 @@ func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) Serialize(wri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property
|
// SetExpirationDateTime sets the expirationDateTime property value. The expirationDateTime property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() {
|
||||||
m.GetBackingStore().Set("expirationDateTime", value)
|
m.expirationDateTime = value
|
||||||
}
|
}
|
||||||
// SetPassword sets the password property value. The password property
|
// SetPassword sets the password property value. The password property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetPassword(value *string)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetPassword(value *string)() {
|
||||||
m.GetBackingStore().Set("password", value)
|
m.password = value
|
||||||
}
|
}
|
||||||
// SetRecipients sets the recipients property value. The recipients property
|
// SetRecipients sets the recipients property value. The recipients property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetRecipients(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetRecipients(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)() {
|
||||||
m.GetBackingStore().Set("recipients", value)
|
m.recipients = value
|
||||||
}
|
}
|
||||||
// SetRetainInheritedPermissions sets the retainInheritedPermissions property value. The retainInheritedPermissions property
|
// SetRetainInheritedPermissions sets the retainInheritedPermissions property value. The retainInheritedPermissions property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetRetainInheritedPermissions(value *bool)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetRetainInheritedPermissions(value *bool)() {
|
||||||
m.GetBackingStore().Set("retainInheritedPermissions", value)
|
m.retainInheritedPermissions = value
|
||||||
}
|
}
|
||||||
// SetScope sets the scope property value. The scope property
|
// SetScope sets the scope property value. The scope property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetScope(value *string)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetScope(value *string)() {
|
||||||
m.GetBackingStore().Set("scope", value)
|
m.scope = value
|
||||||
}
|
}
|
||||||
// SetType sets the type property value. The type property
|
// SetType sets the type property value. The type property
|
||||||
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetType(value *string)() {
|
func (m *ItemSitesItemListsItemItemsItemCreateLinkPostRequestBody) SetType(value *string)() {
|
||||||
m.GetBackingStore().Set("type_escaped", value)
|
m.type_escaped = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,16 +9,13 @@ import (
|
|||||||
// ItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyable
|
// ItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyable
|
||||||
type ItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyable interface {
|
type ItemSitesItemListsItemItemsItemCreateLinkPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
|
GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
|
||||||
GetPassword()(*string)
|
GetPassword()(*string)
|
||||||
GetRecipients()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)
|
GetRecipients()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)
|
||||||
GetRetainInheritedPermissions()(*bool)
|
GetRetainInheritedPermissions()(*bool)
|
||||||
GetScope()(*string)
|
GetScope()(*string)
|
||||||
GetType()(*string)
|
GetType()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)()
|
SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)()
|
||||||
SetPassword(value *string)()
|
SetPassword(value *string)()
|
||||||
SetRecipients(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)()
|
SetRecipients(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.DriveRecipientable)()
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse provides operations to call the getActivitiesByInterval method.
|
// ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse provides operations to call the getActivitiesByInterval method.
|
||||||
type ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse struct {
|
type ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse instantiates a new ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse and sets the default values.
|
// NewItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse instantiates a new ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse and sets the default values.
|
||||||
func NewItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse()(*ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) {
|
func NewItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse()(*ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStat, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStat))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable) {
|
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTime
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)() {
|
func (m *ItemSitesItemListsItemItemsItemGetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.ItemActivityStatable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody provides operations to call the getNotebookFromWebUrl method.
|
// ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody provides operations to call the getNotebookFromWebUrl method.
|
||||||
type ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The webUrl property
|
||||||
|
webUrl *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody()(*ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody()(*ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +24,7 @@ func CreateItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyFrom
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -51,7 +43,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetF
|
|||||||
}
|
}
|
||||||
// GetWebUrl gets the webUrl property value. The webUrl property
|
// GetWebUrl gets the webUrl property value. The webUrl property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetWebUrl()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) GetWebUrl()(*string) {
|
||||||
return m.GetBackingStore().Get("webUrl");
|
return m.webUrl
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -61,17 +53,19 @@ func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) Seri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetWebUrl sets the webUrl property value. The webUrl property
|
// SetWebUrl sets the webUrl property value. The webUrl property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) SetWebUrl(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBody) SetWebUrl(value *string)() {
|
||||||
m.GetBackingStore().Set("webUrl", value)
|
m.webUrl = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,10 +7,7 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksGetNotebookFromWebUrlPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetWebUrl()(*string)
|
GetWebUrl()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetWebUrl(value *string)()
|
SetWebUrl(value *string)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,8 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse provides operations to call the getRecentNotebooks method.
|
// ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse provides operations to call the getRecentNotebooks method.
|
||||||
type ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse struct {
|
type ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse struct {
|
||||||
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.BaseCollectionPaginationCountResponse
|
||||||
|
// The value property
|
||||||
|
value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse instantiates a new ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse instantiates a new ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse()(*ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) {
|
func NewItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse()(*ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) {
|
||||||
@ -29,9 +31,9 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebook, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebook))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable)
|
||||||
}
|
}
|
||||||
m.SetValue(res)
|
m.SetValue(res)
|
||||||
}
|
}
|
||||||
@ -41,7 +43,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb
|
|||||||
}
|
}
|
||||||
// GetValue gets the value property value. The value property
|
// GetValue gets the value property value. The value property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable) {
|
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) GetValue()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable) {
|
||||||
return m.GetBackingStore().Get("value");
|
return m.value
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -52,8 +54,7 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb
|
|||||||
if m.GetValue() != nil {
|
if m.GetValue() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetValue()))
|
||||||
for i, v := range m.GetValue() {
|
for i, v := range m.GetValue() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err = writer.WriteCollectionOfObjectValues("value", cast)
|
err = writer.WriteCollectionOfObjectValues("value", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -64,5 +65,5 @@ func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNoteb
|
|||||||
}
|
}
|
||||||
// SetValue sets the value property value. The value property
|
// SetValue sets the value property value. The value property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable)() {
|
func (m *ItemSitesItemOnenoteNotebooksGetRecentNotebooksWithIncludePersonalNotebooksResponse) SetValue(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.RecentNotebookable)() {
|
||||||
m.GetBackingStore().Set("value", value)
|
m.value = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody provides operations to call the copyNotebook method.
|
// ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody provides operations to call the copyNotebook method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The notebookFolder property
|
||||||
|
notebookFolder *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyFromDiscr
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetFieldD
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetNotebookFolder gets the notebookFolder property value. The notebookFolder property
|
// GetNotebookFolder gets the notebookFolder property value. The notebookFolder property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetNotebookFolder()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetNotebookFolder()(*string) {
|
||||||
return m.GetBackingStore().Get("notebookFolder");
|
return m.notebookFolder
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) Serialize
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetNotebookFolder sets the notebookFolder property value. The notebookFolder property
|
// SetNotebookFolder sets the notebookFolder property value. The notebookFolder property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetNotebookFolder(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetNotebookFolder(value *string)() {
|
||||||
m.GetBackingStore().Set("notebookFolder", value)
|
m.notebookFolder = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemCopyNotebookPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetNotebookFolder()(*string)
|
GetNotebookFolder()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetNotebookFolder(value *string)()
|
SetNotebookFolder(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToN
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNot
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNot
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToS
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSec
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSec
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +30,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesIt
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -81,19 +79,19 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,11 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetSiteCollectionId(value *string)()
|
SetSiteCollectionId(value *string)()
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The commands property
|
||||||
|
commands []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesIt
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCommands gets the commands property value. The commands property
|
// GetCommands gets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
||||||
return m.GetBackingStore().Get("commands");
|
return m.commands
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,9 +40,9 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
}
|
}
|
||||||
m.SetCommands(res)
|
m.SetCommands(res)
|
||||||
}
|
}
|
||||||
@ -63,25 +55,26 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItem
|
|||||||
if m.GetCommands() != nil {
|
if m.GetCommands() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
||||||
for i, v := range m.GetCommands() {
|
for i, v := range m.GetCommands() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCommands sets the commands property value. The commands property
|
// SetCommands sets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
||||||
m.GetBackingStore().Set("commands", value)
|
m.commands = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostReques
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestB
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestB
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRe
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequ
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequ
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +30,7 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPo
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -81,19 +79,19 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPost
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPost
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,11 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetSiteCollectionId(value *string)()
|
SetSiteCollectionId(value *string)()
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The commands property
|
||||||
|
commands []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
func NewItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
m := &ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchCon
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCommands gets the commands property value. The commands property
|
// GetCommands gets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
||||||
return m.GetBackingStore().Get("commands");
|
return m.commands
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,9 +40,9 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchConte
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
}
|
}
|
||||||
m.SetCommands(res)
|
m.SetCommands(res)
|
||||||
}
|
}
|
||||||
@ -63,25 +55,26 @@ func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchConte
|
|||||||
if m.GetCommands() != nil {
|
if m.GetCommands() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
||||||
for i, v := range m.GetCommands() {
|
for i, v := range m.GetCommands() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCommands sets the commands property value. The commands property
|
// SetCommands sets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
func (m *ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
||||||
m.GetBackingStore().Set("commands", value)
|
m.commands = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
// ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
type ItemSitesItemOnenoteNotebooksItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
// ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
||||||
type ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody struct {
|
type ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) {
|
func NewItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody{
|
m := &ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +30,7 @@ func CreateItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyFromDiscrimi
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -81,19 +79,19 @@ func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetFieldDese
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) Serialize(wr
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,11 @@ import (
|
|||||||
// ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyable
|
// ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyable
|
||||||
type ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyable interface {
|
type ItemSitesItemOnenotePagesItemCopyToSectionPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetSiteCollectionId(value *string)()
|
SetSiteCollectionId(value *string)()
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
// ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
||||||
type ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody struct {
|
type ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The commands property
|
||||||
|
commands []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) {
|
func NewItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody{
|
m := &ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBodyFromDi
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCommands gets the commands property value. The commands property
|
// GetCommands gets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
||||||
return m.GetBackingStore().Get("commands");
|
return m.commands
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,9 +40,9 @@ func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) GetFie
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
}
|
}
|
||||||
m.SetCommands(res)
|
m.SetCommands(res)
|
||||||
}
|
}
|
||||||
@ -63,25 +55,26 @@ func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) Serial
|
|||||||
if m.GetCommands() != nil {
|
if m.GetCommands() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
||||||
for i, v := range m.GetCommands() {
|
for i, v := range m.GetCommands() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCommands sets the commands property value. The commands property
|
// SetCommands sets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
func (m *ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
||||||
m.GetBackingStore().Set("commands", value)
|
m.commands = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBodyable
|
// ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBodyable
|
||||||
type ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBodyable interface {
|
type ItemSitesItemOnenotePagesItemOnenotePatchContentPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRe
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequ
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequ
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToNotebookPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPo
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPost
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPost
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +30,7 @@ func CreateItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSecti
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -81,19 +79,19 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSection
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSection
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,11 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetSiteCollectionId(value *string)()
|
SetSiteCollectionId(value *string)()
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The commands property
|
||||||
|
commands []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatc
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCommands gets the commands property value. The commands property
|
// GetCommands gets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
||||||
return m.GetBackingStore().Get("commands");
|
return m.commands
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,9 +40,9 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchC
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
}
|
}
|
||||||
m.SetCommands(res)
|
m.SetCommands(res)
|
||||||
}
|
}
|
||||||
@ -63,25 +55,26 @@ func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchC
|
|||||||
if m.GetCommands() != nil {
|
if m.GetCommands() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
||||||
for i, v := range m.GetCommands() {
|
for i, v := range m.GetCommands() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCommands sets the commands property value. The commands property
|
// SetCommands sets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
func (m *ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
||||||
m.GetBackingStore().Set("commands", value)
|
m.commands = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
// ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionGroupsItemSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
// ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody provides operations to call the copyToNotebook method.
|
||||||
type ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody()(*ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyFromDisc
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetField
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) Serializ
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable
|
// ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionsItemCopyToNotebookPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,23 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
// ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody provides operations to call the copyToSectionGroup method.
|
||||||
type ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The renameAs property
|
||||||
|
renameAs *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody()(*ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +32,7 @@ func CreateItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyFrom
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -91,23 +91,23 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetF
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetRenameAs gets the renameAs property value. The renameAs property
|
// GetRenameAs gets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetRenameAs()(*string) {
|
||||||
return m.GetBackingStore().Get("renameAs");
|
return m.renameAs
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -141,33 +141,35 @@ func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) Seri
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetRenameAs sets the renameAs property value. The renameAs property
|
// SetRenameAs sets the renameAs property value. The renameAs property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetRenameAs(value *string)() {
|
||||||
m.GetBackingStore().Set("renameAs", value)
|
m.renameAs = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,15 +7,12 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable
|
// ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionsItemCopyToSectionGroupPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetRenameAs()(*string)
|
GetRenameAs()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetRenameAs(value *string)()
|
SetRenameAs(value *string)()
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
// ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody provides operations to call the copyToSection method.
|
||||||
type ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The groupId property
|
||||||
|
groupId *string
|
||||||
|
// The id property
|
||||||
|
id *string
|
||||||
|
// The siteCollectionId property
|
||||||
|
siteCollectionId *string
|
||||||
|
// The siteId property
|
||||||
|
siteId *string
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody()(*ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,16 +30,7 @@ func CreateItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -81,19 +79,19 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody)
|
|||||||
}
|
}
|
||||||
// GetGroupId gets the groupId property value. The groupId property
|
// GetGroupId gets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetGroupId()(*string) {
|
||||||
return m.GetBackingStore().Get("groupId");
|
return m.groupId
|
||||||
}
|
}
|
||||||
// GetId gets the id property value. The id property
|
// GetId gets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetId()(*string) {
|
||||||
return m.GetBackingStore().Get("id");
|
return m.id
|
||||||
}
|
}
|
||||||
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
// GetSiteCollectionId gets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteCollectionId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteCollectionId");
|
return m.siteCollectionId
|
||||||
}
|
}
|
||||||
// GetSiteId gets the siteId property value. The siteId property
|
// GetSiteId gets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) GetSiteId()(*string) {
|
||||||
return m.GetBackingStore().Get("siteId");
|
return m.siteId
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody)
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetGroupId sets the groupId property value. The groupId property
|
// SetGroupId sets the groupId property value. The groupId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetGroupId(value *string)() {
|
||||||
m.GetBackingStore().Set("groupId", value)
|
m.groupId = value
|
||||||
}
|
}
|
||||||
// SetId sets the id property value. The id property
|
// SetId sets the id property value. The id property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetId(value *string)() {
|
||||||
m.GetBackingStore().Set("id", value)
|
m.id = value
|
||||||
}
|
}
|
||||||
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
// SetSiteCollectionId sets the siteCollectionId property value. The siteCollectionId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteCollectionId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteCollectionId", value)
|
m.siteCollectionId = value
|
||||||
}
|
}
|
||||||
// SetSiteId sets the siteId property value. The siteId property
|
// SetSiteId sets the siteId property value. The siteId property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBody) SetSiteId(value *string)() {
|
||||||
m.GetBackingStore().Set("siteId", value)
|
m.siteId = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,14 +7,11 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
// ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionsItemPagesItemCopyToSectionPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetGroupId()(*string)
|
GetGroupId()(*string)
|
||||||
GetId()(*string)
|
GetId()(*string)
|
||||||
GetSiteCollectionId()(*string)
|
GetSiteCollectionId()(*string)
|
||||||
GetSiteId()(*string)
|
GetSiteId()(*string)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetGroupId(value *string)()
|
SetGroupId(value *string)()
|
||||||
SetId(value *string)()
|
SetId(value *string)()
|
||||||
SetSiteCollectionId(value *string)()
|
SetSiteCollectionId(value *string)()
|
||||||
|
|||||||
@ -7,14 +7,15 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
// ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody provides operations to call the onenotePatchContent method.
|
||||||
type ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
type ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The commands property
|
||||||
|
commands []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable
|
||||||
}
|
}
|
||||||
// NewItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
// NewItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody instantiates a new ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
func NewItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody()(*ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) {
|
||||||
m := &ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
m := &ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -24,20 +25,11 @@ func CreateItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostReque
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetCommands gets the commands property value. The commands property
|
// GetCommands gets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable) {
|
||||||
return m.GetBackingStore().Get("commands");
|
return m.commands
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -48,9 +40,9 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequest
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if val != nil {
|
if val != nil {
|
||||||
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand, len(val))
|
res := make([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable, len(val))
|
||||||
for i, v := range val {
|
for i, v := range val {
|
||||||
res[i] = *(v.(*ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommand))
|
res[i] = v.(ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
}
|
}
|
||||||
m.SetCommands(res)
|
m.SetCommands(res)
|
||||||
}
|
}
|
||||||
@ -63,25 +55,26 @@ func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequest
|
|||||||
if m.GetCommands() != nil {
|
if m.GetCommands() != nil {
|
||||||
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCommands()))
|
||||||
for i, v := range m.GetCommands() {
|
for i, v := range m.GetCommands() {
|
||||||
temp := v
|
cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable)
|
||||||
cast[i] = i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable(&temp)
|
|
||||||
}
|
}
|
||||||
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
err := writer.WriteCollectionOfObjectValues("commands", cast)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetCommands sets the commands property value. The commands property
|
// SetCommands sets the commands property value. The commands property
|
||||||
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
func (m *ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBody) SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)() {
|
||||||
m.GetBackingStore().Set("commands", value)
|
m.commands = value
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,10 +8,7 @@ import (
|
|||||||
// ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
// ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBodyable
|
||||||
type ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
type ItemSitesItemOnenoteSectionsItemPagesItemOnenotePatchContentPostRequestBodyable interface {
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
|
||||||
IBackedModel
|
|
||||||
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
|
||||||
GetBackingStore()(BackingStore)
|
|
||||||
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
GetCommands()([]ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)
|
||||||
SetBackingStore(value BackingStore)()
|
|
||||||
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
SetCommands(value []ic45d1687cb32013b93e5270fd0556a260c6a6c0c3808e299c1c39a4f617eb8f4.OnenotePatchContentCommandable)()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,14 +6,21 @@ import (
|
|||||||
|
|
||||||
// ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody provides operations to call the getWebPartsByPosition method.
|
// ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody provides operations to call the getWebPartsByPosition method.
|
||||||
type ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody struct {
|
type ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody struct {
|
||||||
// Stores model information.
|
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
||||||
backingStore BackingStore
|
additionalData map[string]interface{}
|
||||||
|
// The columnId property
|
||||||
|
columnId *float64
|
||||||
|
// The horizontalSectionId property
|
||||||
|
horizontalSectionId *float64
|
||||||
|
// The isInVerticalSection property
|
||||||
|
isInVerticalSection *bool
|
||||||
|
// The webPartIndex property
|
||||||
|
webPartIndex *float64
|
||||||
}
|
}
|
||||||
// NewItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody instantiates a new ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody and sets the default values.
|
// NewItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody instantiates a new ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody and sets the default values.
|
||||||
func NewItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody()(*ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) {
|
func NewItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody()(*ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) {
|
||||||
m := &ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody{
|
m := &ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody{
|
||||||
}
|
}
|
||||||
m._backingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
|
|
||||||
m.SetAdditionalData(make(map[string]interface{}));
|
m.SetAdditionalData(make(map[string]interface{}));
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
@ -23,20 +30,11 @@ func CreateItemSitesItemPagesItemGetWebPartsByPositionPostRequestBodyFromDiscrim
|
|||||||
}
|
}
|
||||||
// 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 *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetAdditionalData()(map[string]interface{}) {
|
||||||
map[string]interface{} value = m._backingStore.Get("additionalData")
|
return m.additionalData
|
||||||
if value == nil {
|
|
||||||
value = make(map[string]interface{});
|
|
||||||
m.SetAdditionalData(value);
|
|
||||||
}
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
// GetBackingStore gets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetBackingStore()(BackingStore) {
|
|
||||||
return m.backingStore
|
|
||||||
}
|
}
|
||||||
// GetColumnId gets the columnId property value. The columnId property
|
// GetColumnId gets the columnId property value. The columnId property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetColumnId()(*float64) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetColumnId()(*float64) {
|
||||||
return m.GetBackingStore().Get("columnId");
|
return m.columnId
|
||||||
}
|
}
|
||||||
// GetFieldDeserializers the deserialization information for the current model
|
// GetFieldDeserializers the deserialization information for the current model
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) {
|
||||||
@ -85,15 +83,15 @@ func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetFieldDes
|
|||||||
}
|
}
|
||||||
// GetHorizontalSectionId gets the horizontalSectionId property value. The horizontalSectionId property
|
// GetHorizontalSectionId gets the horizontalSectionId property value. The horizontalSectionId property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetHorizontalSectionId()(*float64) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetHorizontalSectionId()(*float64) {
|
||||||
return m.GetBackingStore().Get("horizontalSectionId");
|
return m.horizontalSectionId
|
||||||
}
|
}
|
||||||
// GetIsInVerticalSection gets the isInVerticalSection property value. The isInVerticalSection property
|
// GetIsInVerticalSection gets the isInVerticalSection property value. The isInVerticalSection property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetIsInVerticalSection()(*bool) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetIsInVerticalSection()(*bool) {
|
||||||
return m.GetBackingStore().Get("isInVerticalSection");
|
return m.isInVerticalSection
|
||||||
}
|
}
|
||||||
// GetWebPartIndex gets the webPartIndex property value. The webPartIndex property
|
// GetWebPartIndex gets the webPartIndex property value. The webPartIndex property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetWebPartIndex()(*float64) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) GetWebPartIndex()(*float64) {
|
||||||
return m.GetBackingStore().Get("webPartIndex");
|
return m.webPartIndex
|
||||||
}
|
}
|
||||||
// Serialize serializes information the current object
|
// Serialize serializes information the current object
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) {
|
||||||
@ -121,29 +119,31 @@ func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) Serialize(w
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
err := writer.WriteAdditionalData(m.GetAdditionalData())
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
}
|
||||||
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 *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetAdditionalData(value map[string]interface{})() {
|
||||||
m.GetBackingStore().Set("additionalData", value)
|
m.additionalData = value
|
||||||
}
|
|
||||||
// SetBackingStore sets the backingStore property value. Stores model information.
|
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetBackingStore(value BackingStore)() {
|
|
||||||
m.GetBackingStore().Set("backingStore", value)
|
|
||||||
}
|
}
|
||||||
// SetColumnId sets the columnId property value. The columnId property
|
// SetColumnId sets the columnId property value. The columnId property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetColumnId(value *float64)() {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetColumnId(value *float64)() {
|
||||||
m.GetBackingStore().Set("columnId", value)
|
m.columnId = value
|
||||||
}
|
}
|
||||||
// SetHorizontalSectionId sets the horizontalSectionId property value. The horizontalSectionId property
|
// SetHorizontalSectionId sets the horizontalSectionId property value. The horizontalSectionId property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetHorizontalSectionId(value *float64)() {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetHorizontalSectionId(value *float64)() {
|
||||||
m.GetBackingStore().Set("horizontalSectionId", value)
|
m.horizontalSectionId = value
|
||||||
}
|
}
|
||||||
// SetIsInVerticalSection sets the isInVerticalSection property value. The isInVerticalSection property
|
// SetIsInVerticalSection sets the isInVerticalSection property value. The isInVerticalSection property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetIsInVerticalSection(value *bool)() {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetIsInVerticalSection(value *bool)() {
|
||||||
m.GetBackingStore().Set("isInVerticalSection", value)
|
m.isInVerticalSection = value
|
||||||
}
|
}
|
||||||
// SetWebPartIndex sets the webPartIndex property value. The webPartIndex property
|
// SetWebPartIndex sets the webPartIndex property value. The webPartIndex property
|
||||||
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetWebPartIndex(value *float64)() {
|
func (m *ItemSitesItemPagesItemGetWebPartsByPositionPostRequestBody) SetWebPartIndex(value *float64)() {
|
||||||
m.GetBackingStore().Set("webPartIndex", value)
|
m.webPartIndex = value
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user