Documentation ¶
Index ¶
- type ContentRequestBuilder
- func (m *ContentRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ContentRequestBuilder) CreatePutRequestInformation(ctx context.Context, body []byte, ...) (...)
- func (m *ContentRequestBuilder) Get(ctx context.Context, ...) ([]byte, error)
- func (m *ContentRequestBuilder) Put(ctx context.Context, body []byte, ...) error
- type ContentRequestBuilderGetRequestConfiguration
- type ContentRequestBuilderPutRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentRequestBuilder ¶
type ContentRequestBuilder struct {
// contains filtered or unexported fields
}
ContentRequestBuilder provides operations to manage the media for the sharedDriveItem entity.
func NewContentRequestBuilder ¶
func NewContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ContentRequestBuilder
NewContentRequestBuilder instantiates a new ContentRequestBuilder and sets the default values.
func NewContentRequestBuilderInternal ¶
func NewContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ContentRequestBuilder
NewContentRequestBuilderInternal instantiates a new ContentRequestBuilder and sets the default values.
func (*ContentRequestBuilder) CreateGetRequestInformation ¶
func (m *ContentRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *ContentRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation the content stream, if the item represents a file.
func (*ContentRequestBuilder) CreatePutRequestInformation ¶
func (m *ContentRequestBuilder) CreatePutRequestInformation(ctx context.Context, body []byte, requestConfiguration *ContentRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePutRequestInformation the content stream, if the item represents a file.
func (*ContentRequestBuilder) Get ¶
func (m *ContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ContentRequestBuilderGetRequestConfiguration) ([]byte, error)
Get the content stream, if the item represents a file.
func (*ContentRequestBuilder) Put ¶
func (m *ContentRequestBuilder) Put(ctx context.Context, body []byte, requestConfiguration *ContentRequestBuilderPutRequestConfiguration) error
Put the content stream, if the item represents a file.
type ContentRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type ContentRequestBuilderGetRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ContentRequestBuilderPutRequestConfiguration ¶ added in v0.22.0
type ContentRequestBuilderPutRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ContentRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.