Documentation
¶
Index ¶
- type SectionsRequestBuilder
- func (m *SectionsRequestBuilder) CreateGetRequestInformation(options *SectionsRequestBuilderGetOptions) (...)
- func (m *SectionsRequestBuilder) CreatePostRequestInformation(options *SectionsRequestBuilderPostOptions) (...)
- func (m *SectionsRequestBuilder) Get(options *SectionsRequestBuilderGetOptions) (*SectionsResponse, error)
- func (m *SectionsRequestBuilder) Post(options *SectionsRequestBuilderPostOptions) (...)
- type SectionsRequestBuilderGetOptions
- type SectionsRequestBuilderGetQueryParameters
- type SectionsRequestBuilderPostOptions
- type SectionsResponse
- func (m *SectionsResponse) GetAdditionalData() map[string]interface{}
- func (m *SectionsResponse) GetFieldDeserializers() map[string]func(interface{}, ...) error
- func (m *SectionsResponse) GetNextLink() *string
- func (m *SectionsResponse) GetValue() ...
- func (m *SectionsResponse) IsNil() bool
- func (m *SectionsResponse) Serialize(...) error
- func (m *SectionsResponse) SetAdditionalData(value map[string]interface{})
- func (m *SectionsResponse) SetNextLink(value *string)
- func (m *SectionsResponse) SetValue(...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SectionsRequestBuilder ¶
type SectionsRequestBuilder struct {
// contains filtered or unexported fields
}
Builds and executes requests for operations under \me\onenote\sections
func NewSectionsRequestBuilder ¶
func NewSectionsRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *SectionsRequestBuilder
Instantiates a new SectionsRequestBuilder and sets the default values. Parameters:
- rawUrl : The raw URL to use for the request builder.
- requestAdapter : The request adapter to use to execute the requests.
func NewSectionsRequestBuilderInternal ¶
func NewSectionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *SectionsRequestBuilder
Instantiates a new SectionsRequestBuilder and sets the default values. Parameters:
- pathParameters : Path parameters for the request
- requestAdapter : The request adapter to use to execute the requests.
func (*SectionsRequestBuilder) CreateGetRequestInformation ¶
func (m *SectionsRequestBuilder) CreateGetRequestInformation(options *SectionsRequestBuilderGetOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. Parameters:
- options : Options for the request
func (*SectionsRequestBuilder) CreatePostRequestInformation ¶
func (m *SectionsRequestBuilder) CreatePostRequestInformation(options *SectionsRequestBuilderPostOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. Parameters:
- options : Options for the request
func (*SectionsRequestBuilder) Get ¶
func (m *SectionsRequestBuilder) Get(options *SectionsRequestBuilderGetOptions) (*SectionsResponse, error)
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. Parameters:
- options : Options for the request
func (*SectionsRequestBuilder) Post ¶
func (m *SectionsRequestBuilder) Post(options *SectionsRequestBuilderPostOptions) (*i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteSection, error)
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable. Parameters:
- options : Options for the request
type SectionsRequestBuilderGetOptions ¶
type SectionsRequestBuilderGetOptions struct {
// Request headers
H map[string]string
// Request options
O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
// Request query parameters
Q *SectionsRequestBuilderGetQueryParameters
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}
Options for Get
type SectionsRequestBuilderGetQueryParameters ¶
type SectionsRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool
// Expand related entities
Expand []string
// Filter items by property values
Filter *string
// Order items by property values
Orderby []string
// Search items by search phrases
Search *string
// Select properties to be returned
Select_escaped []string
// Skip the first n items
Skip *int32
// Show only the first n items
Top *int32
}
The sections in all OneNote notebooks that are owned by the user or group. Read-only. Nullable.
type SectionsRequestBuilderPostOptions ¶
type SectionsRequestBuilderPostOptions struct {
//
Body *i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteSection
// Request headers
H map[string]string
// Request options
O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption
// Response handler to use in place of the default response handling provided by the core service
ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler
}
Options for Post
type SectionsResponse ¶
type SectionsResponse struct {
// contains filtered or unexported fields
}
func NewSectionsResponse ¶
func NewSectionsResponse() *SectionsResponse
Instantiates a new sectionsResponse and sets the default values.
func (*SectionsResponse) GetAdditionalData ¶
func (m *SectionsResponse) GetAdditionalData() map[string]interface{}
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 (*SectionsResponse) GetFieldDeserializers ¶
func (m *SectionsResponse) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error
The deserialization information for the current model
func (*SectionsResponse) GetNextLink ¶
func (m *SectionsResponse) GetNextLink() *string
Gets the nextLink property value.
func (*SectionsResponse) GetValue ¶
func (m *SectionsResponse) GetValue() []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteSection
Gets the value property value.
func (*SectionsResponse) IsNil ¶
func (m *SectionsResponse) IsNil() bool
func (*SectionsResponse) Serialize ¶
func (m *SectionsResponse) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter) error
Serializes information the current object Parameters:
- writer : Serialization writer to use to serialize this model
func (*SectionsResponse) SetAdditionalData ¶
func (m *SectionsResponse) SetAdditionalData(value map[string]interface{})
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. Parameters:
- value : Value to set for the AdditionalData property.
func (*SectionsResponse) SetNextLink ¶
func (m *SectionsResponse) SetNextLink(value *string)
Sets the nextLink property value. Parameters:
- value : Value to set for the nextLink property.
func (*SectionsResponse) SetValue ¶
func (m *SectionsResponse) SetValue(value []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteSection)
Sets the value property value. Parameters:
- value : Value to set for the value property.