drive

package
v0.20241126.2320 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDriveOperationOptions

type CreateDriveOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultCreateDriveOperationOptions

func DefaultCreateDriveOperationOptions() CreateDriveOperationOptions

func (CreateDriveOperationOptions) ToHeaders

func (CreateDriveOperationOptions) ToOData

func (CreateDriveOperationOptions) ToQuery

type CreateDriveOperationResponse

type CreateDriveOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Drive
}

type DeleteDriveOperationOptions

type DeleteDriveOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteDriveOperationOptions

func DefaultDeleteDriveOperationOptions() DeleteDriveOperationOptions

func (DeleteDriveOperationOptions) ToHeaders

func (DeleteDriveOperationOptions) ToOData

func (DeleteDriveOperationOptions) ToQuery

type DeleteDriveOperationResponse

type DeleteDriveOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DriveClient

type DriveClient struct {
	Client *msgraph.Client
}

func NewDriveClientWithBaseURI

func NewDriveClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveClient, error)

func (DriveClient) CreateDrive

CreateDrive - Create new navigation property to drives for users

func (DriveClient) DeleteDrive

DeleteDrive - Delete navigation property drives for users

func (DriveClient) GetDrive

GetDrive - Get drives from users. A collection of drives available for this user. Read-only.

func (DriveClient) GetDrivesCount

GetDrivesCount - Get the number of the resource

func (DriveClient) ListDrives

ListDrives - Get drives from users. A collection of drives available for this user. Read-only.

func (DriveClient) ListDrivesComplete

ListDrivesComplete retrieves all the results into a single object

func (DriveClient) ListDrivesCompleteMatchingPredicate

func (c DriveClient) ListDrivesCompleteMatchingPredicate(ctx context.Context, id stable.UserId, options ListDrivesOperationOptions, predicate DriveOperationPredicate) (result ListDrivesCompleteResult, err error)

ListDrivesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DriveClient) UpdateDrive

UpdateDrive - Update the navigation property drives in users

type DriveOperationPredicate

type DriveOperationPredicate struct {
}

func (DriveOperationPredicate) Matches

func (p DriveOperationPredicate) Matches(input stable.Drive) bool

type GetDriveOperationOptions

type GetDriveOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetDriveOperationOptions

func DefaultGetDriveOperationOptions() GetDriveOperationOptions

func (GetDriveOperationOptions) ToHeaders

func (o GetDriveOperationOptions) ToHeaders() *client.Headers

func (GetDriveOperationOptions) ToOData

func (o GetDriveOperationOptions) ToOData() *odata.Query

func (GetDriveOperationOptions) ToQuery

type GetDriveOperationResponse

type GetDriveOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.Drive
}

type GetDrivesCountOperationOptions

type GetDrivesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetDrivesCountOperationOptions

func DefaultGetDrivesCountOperationOptions() GetDrivesCountOperationOptions

func (GetDrivesCountOperationOptions) ToHeaders

func (GetDrivesCountOperationOptions) ToOData

func (GetDrivesCountOperationOptions) ToQuery

type GetDrivesCountOperationResponse

type GetDrivesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListDrivesCompleteResult

type ListDrivesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.Drive
}

type ListDrivesCustomPager

type ListDrivesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListDrivesCustomPager) NextPageLink() *odata.Link

type ListDrivesOperationOptions

type ListDrivesOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func DefaultListDrivesOperationOptions

func DefaultListDrivesOperationOptions() ListDrivesOperationOptions

func (ListDrivesOperationOptions) ToHeaders

func (o ListDrivesOperationOptions) ToHeaders() *client.Headers

func (ListDrivesOperationOptions) ToOData

func (o ListDrivesOperationOptions) ToOData() *odata.Query

func (ListDrivesOperationOptions) ToQuery

type ListDrivesOperationResponse

type ListDrivesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.Drive
}

type UpdateDriveOperationOptions

type UpdateDriveOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateDriveOperationOptions

func DefaultUpdateDriveOperationOptions() UpdateDriveOperationOptions

func (UpdateDriveOperationOptions) ToHeaders

func (UpdateDriveOperationOptions) ToOData

func (UpdateDriveOperationOptions) ToQuery

type UpdateDriveOperationResponse

type UpdateDriveOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL