Documentation ¶
Index ¶
- type ResourcesRequestBuilder
- func (m *ResourcesRequestBuilder) CreateGetRequestInformation(options *ResourcesRequestBuilderGetOptions) (...)
- func (m *ResourcesRequestBuilder) CreatePostRequestInformation(options *ResourcesRequestBuilderPostOptions) (...)
- func (m *ResourcesRequestBuilder) Get(options *ResourcesRequestBuilderGetOptions) (*ResourcesResponse, error)
- func (m *ResourcesRequestBuilder) Post(options *ResourcesRequestBuilderPostOptions) (...)
- type ResourcesRequestBuilderGetOptions
- type ResourcesRequestBuilderGetQueryParameters
- type ResourcesRequestBuilderPostOptions
- type ResourcesResponse
- func (m *ResourcesResponse) GetAdditionalData() map[string]interface{}
- func (m *ResourcesResponse) GetFieldDeserializers() map[string]func(interface{}, ...) error
- func (m *ResourcesResponse) GetNextLink() *string
- func (m *ResourcesResponse) GetValue() ...
- func (m *ResourcesResponse) IsNil() bool
- func (m *ResourcesResponse) Serialize(...) error
- func (m *ResourcesResponse) SetAdditionalData(value map[string]interface{})
- func (m *ResourcesResponse) SetNextLink(value *string)
- func (m *ResourcesResponse) SetValue(...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcesRequestBuilder ¶
type ResourcesRequestBuilder struct {
// contains filtered or unexported fields
}
Builds and executes requests for operations under \me\onenote\resources
func NewResourcesRequestBuilder ¶
func NewResourcesRequestBuilder(rawUrl string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *ResourcesRequestBuilder
Instantiates a new ResourcesRequestBuilder 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 NewResourcesRequestBuilderInternal ¶
func NewResourcesRequestBuilderInternal(pathParameters map[string]string, requestAdapter ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestAdapter) *ResourcesRequestBuilder
Instantiates a new ResourcesRequestBuilder and sets the default values. Parameters:
- pathParameters : Path parameters for the request
- requestAdapter : The request adapter to use to execute the requests.
func (*ResourcesRequestBuilder) CreateGetRequestInformation ¶
func (m *ResourcesRequestBuilder) CreateGetRequestInformation(options *ResourcesRequestBuilderGetOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. Parameters:
- options : Options for the request
func (*ResourcesRequestBuilder) CreatePostRequestInformation ¶
func (m *ResourcesRequestBuilder) CreatePostRequestInformation(options *ResourcesRequestBuilderPostOptions) (*ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestInformation, error)
The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. Parameters:
- options : Options for the request
func (*ResourcesRequestBuilder) Get ¶
func (m *ResourcesRequestBuilder) Get(options *ResourcesRequestBuilderGetOptions) (*ResourcesResponse, error)
The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. Parameters:
- options : Options for the request
func (*ResourcesRequestBuilder) Post ¶
func (m *ResourcesRequestBuilder) Post(options *ResourcesRequestBuilderPostOptions) (*i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteResource, error)
The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. Parameters:
- options : Options for the request
type ResourcesRequestBuilderGetOptions ¶
type ResourcesRequestBuilderGetOptions struct { // Request headers H map[string]string // Request options O []ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.RequestOption // Request query parameters Q *ResourcesRequestBuilderGetQueryParameters // Response handler to use in place of the default response handling provided by the core service ResponseHandler ida96af0f171bb75f894a4013a6b3146a4397c58f11adb81a2b7cbea9314783a9.ResponseHandler }
Options for Get
type ResourcesRequestBuilderGetQueryParameters ¶
type ResourcesRequestBuilderGetQueryParameters 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 image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable.
type ResourcesRequestBuilderPostOptions ¶
type ResourcesRequestBuilderPostOptions struct { // Body *i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteResource // 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 ResourcesResponse ¶
type ResourcesResponse struct {
// contains filtered or unexported fields
}
func NewResourcesResponse ¶
func NewResourcesResponse() *ResourcesResponse
Instantiates a new resourcesResponse and sets the default values.
func (*ResourcesResponse) GetAdditionalData ¶
func (m *ResourcesResponse) 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 (*ResourcesResponse) GetFieldDeserializers ¶
func (m *ResourcesResponse) GetFieldDeserializers() map[string]func(interface{}, i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.ParseNode) error
The deserialization information for the current model
func (*ResourcesResponse) GetNextLink ¶
func (m *ResourcesResponse) GetNextLink() *string
Gets the nextLink property value.
func (*ResourcesResponse) GetValue ¶
func (m *ResourcesResponse) GetValue() []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteResource
Gets the value property value.
func (*ResourcesResponse) IsNil ¶
func (m *ResourcesResponse) IsNil() bool
func (*ResourcesResponse) Serialize ¶
func (m *ResourcesResponse) Serialize(writer i04eb5309aeaafadd28374d79c8471df9b267510b4dc2e3144c378c50f6fd7b55.SerializationWriter) error
Serializes information the current object Parameters:
- writer : Serialization writer to use to serialize this model
func (*ResourcesResponse) SetAdditionalData ¶
func (m *ResourcesResponse) 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 (*ResourcesResponse) SetNextLink ¶
func (m *ResourcesResponse) SetNextLink(value *string)
Sets the nextLink property value. Parameters:
- value : Value to set for the nextLink property.
func (*ResourcesResponse) SetValue ¶
func (m *ResourcesResponse) SetValue(value []i4a838ef194e4c99e9f2c63ba10dab9cb120a89367c1d4ab0daa63bb424e20d87.OnenoteResource)
Sets the value property value. Parameters:
- value : Value to set for the value property.