Documentation ¶
Index ¶
- type ContentRequestBuilder
- func (m *ContentRequestBuilder) CreateGetRequestInformation(options *ContentRequestBuilderGetOptions) (...)
- func (m *ContentRequestBuilder) CreatePutRequestInformation(options *ContentRequestBuilderPutOptions) (...)
- func (m *ContentRequestBuilder) Get(options *ContentRequestBuilderGetOptions) ([]byte, error)
- func (m *ContentRequestBuilder) Put(options *ContentRequestBuilderPutOptions) error
- type ContentRequestBuilderGetOptions
- type ContentRequestBuilderPutOptions
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 drive 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(options *ContentRequestBuilderGetOptions) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation the content stream, if the item represents a file.
func (*ContentRequestBuilder) CreatePutRequestInformation ¶
func (m *ContentRequestBuilder) CreatePutRequestInformation(options *ContentRequestBuilderPutOptions) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePutRequestInformation the content stream, if the item represents a file.
func (*ContentRequestBuilder) Get ¶
func (m *ContentRequestBuilder) Get(options *ContentRequestBuilderGetOptions) ([]byte, error)
Get the content stream, if the item represents a file.
func (*ContentRequestBuilder) Put ¶
func (m *ContentRequestBuilder) Put(options *ContentRequestBuilderPutOptions) error
Put the content stream, if the item represents a file.
type ContentRequestBuilderGetOptions ¶
type ContentRequestBuilderGetOptions struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Response handler to use in place of the default response handling provided by the core service ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler }
ContentRequestBuilderGetOptions options for Get
type ContentRequestBuilderPutOptions ¶
type ContentRequestBuilderPutOptions struct { // Binary request body Body []byte // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Response handler to use in place of the default response handling provided by the core service ResponseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler }
ContentRequestBuilderPutOptions options for Put