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        *beta.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

func (c DriveClient) CreateDrive(ctx context.Context, id beta.GroupId, input beta.Drive, options CreateDriveOperationOptions) (result CreateDriveOperationResponse, err error)

CreateDrive - Create new navigation property to drives for groups

func (DriveClient) DeleteDrive

DeleteDrive - Delete navigation property drives for groups

func (DriveClient) GetDrive

GetDrive - Get drives from groups. The group's drives. Read-only.

func (DriveClient) GetDrivesCount

GetDrivesCount - Get the number of the resource

func (DriveClient) ListDrives

ListDrives - Get drives from groups. The group's drives. 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 beta.GroupId, 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 groups

type DriveOperationPredicate

type DriveOperationPredicate struct {
}

func (DriveOperationPredicate) Matches

func (p DriveOperationPredicate) Matches(input beta.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        *beta.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              []beta.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        *[]beta.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