Documentation ¶
Index ¶
- type CreateDriveItemVersionOperationOptions
- type CreateDriveItemVersionOperationResponse
- type DeleteDriveItemVersionOperationOptions
- type DeleteDriveItemVersionOperationResponse
- type DriveItemVersionClient
- func (c DriveItemVersionClient) CreateDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemId, ...) (result CreateDriveItemVersionOperationResponse, err error)
- func (c DriveItemVersionClient) DeleteDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, ...) (result DeleteDriveItemVersionOperationResponse, err error)
- func (c DriveItemVersionClient) GetDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, ...) (result GetDriveItemVersionOperationResponse, err error)
- func (c DriveItemVersionClient) GetDriveItemVersionsCount(ctx context.Context, id stable.GroupIdDriveIdItemId, ...) (result GetDriveItemVersionsCountOperationResponse, err error)
- func (c DriveItemVersionClient) ListDriveItemVersions(ctx context.Context, id stable.GroupIdDriveIdItemId, ...) (result ListDriveItemVersionsOperationResponse, err error)
- func (c DriveItemVersionClient) ListDriveItemVersionsComplete(ctx context.Context, id stable.GroupIdDriveIdItemId, ...) (ListDriveItemVersionsCompleteResult, error)
- func (c DriveItemVersionClient) ListDriveItemVersionsCompleteMatchingPredicate(ctx context.Context, id stable.GroupIdDriveIdItemId, ...) (result ListDriveItemVersionsCompleteResult, err error)
- func (c DriveItemVersionClient) RestoreDriveItemVersionVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, ...) (result RestoreDriveItemVersionVersionOperationResponse, err error)
- func (c DriveItemVersionClient) UpdateDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, ...) (result UpdateDriveItemVersionOperationResponse, err error)
- type DriveItemVersionOperationPredicate
- type GetDriveItemVersionOperationOptions
- type GetDriveItemVersionOperationResponse
- type GetDriveItemVersionsCountOperationOptions
- type GetDriveItemVersionsCountOperationResponse
- type ListDriveItemVersionsCompleteResult
- type ListDriveItemVersionsCustomPager
- type ListDriveItemVersionsOperationOptions
- type ListDriveItemVersionsOperationResponse
- type RestoreDriveItemVersionVersionOperationOptions
- type RestoreDriveItemVersionVersionOperationResponse
- type UpdateDriveItemVersionOperationOptions
- type UpdateDriveItemVersionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveItemVersionOperationOptions ¶
type CreateDriveItemVersionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemVersionOperationOptions ¶
func DefaultCreateDriveItemVersionOperationOptions() CreateDriveItemVersionOperationOptions
func (CreateDriveItemVersionOperationOptions) ToHeaders ¶
func (o CreateDriveItemVersionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemVersionOperationOptions) ToOData ¶
func (o CreateDriveItemVersionOperationOptions) ToOData() *odata.Query
func (CreateDriveItemVersionOperationOptions) ToQuery ¶
func (o CreateDriveItemVersionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveItemVersionOperationOptions ¶
type DeleteDriveItemVersionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveItemVersionOperationOptions ¶
func DefaultDeleteDriveItemVersionOperationOptions() DeleteDriveItemVersionOperationOptions
func (DeleteDriveItemVersionOperationOptions) ToHeaders ¶
func (o DeleteDriveItemVersionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveItemVersionOperationOptions) ToOData ¶
func (o DeleteDriveItemVersionOperationOptions) ToOData() *odata.Query
func (DeleteDriveItemVersionOperationOptions) ToQuery ¶
func (o DeleteDriveItemVersionOperationOptions) ToQuery() *client.QueryParams
type DriveItemVersionClient ¶
func NewDriveItemVersionClientWithBaseURI ¶
func NewDriveItemVersionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveItemVersionClient, error)
func (DriveItemVersionClient) CreateDriveItemVersion ¶
func (c DriveItemVersionClient) CreateDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemId, input stable.DriveItemVersion, options CreateDriveItemVersionOperationOptions) (result CreateDriveItemVersionOperationResponse, err error)
CreateDriveItemVersion - Create new navigation property to versions for groups
func (DriveItemVersionClient) DeleteDriveItemVersion ¶
func (c DriveItemVersionClient) DeleteDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, options DeleteDriveItemVersionOperationOptions) (result DeleteDriveItemVersionOperationResponse, err error)
DeleteDriveItemVersion - Delete navigation property versions for groups
func (DriveItemVersionClient) GetDriveItemVersion ¶
func (c DriveItemVersionClient) GetDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, options GetDriveItemVersionOperationOptions) (result GetDriveItemVersionOperationResponse, err error)
GetDriveItemVersion - Get versions from groups. The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable.
func (DriveItemVersionClient) GetDriveItemVersionsCount ¶
func (c DriveItemVersionClient) GetDriveItemVersionsCount(ctx context.Context, id stable.GroupIdDriveIdItemId, options GetDriveItemVersionsCountOperationOptions) (result GetDriveItemVersionsCountOperationResponse, err error)
GetDriveItemVersionsCount - Get the number of the resource
func (DriveItemVersionClient) ListDriveItemVersions ¶
func (c DriveItemVersionClient) ListDriveItemVersions(ctx context.Context, id stable.GroupIdDriveIdItemId, options ListDriveItemVersionsOperationOptions) (result ListDriveItemVersionsOperationResponse, err error)
ListDriveItemVersions - Get versions from groups. The list of previous versions of the item. For more info, see getting previous versions. Read-only. Nullable.
func (DriveItemVersionClient) ListDriveItemVersionsComplete ¶
func (c DriveItemVersionClient) ListDriveItemVersionsComplete(ctx context.Context, id stable.GroupIdDriveIdItemId, options ListDriveItemVersionsOperationOptions) (ListDriveItemVersionsCompleteResult, error)
ListDriveItemVersionsComplete retrieves all the results into a single object
func (DriveItemVersionClient) ListDriveItemVersionsCompleteMatchingPredicate ¶
func (c DriveItemVersionClient) ListDriveItemVersionsCompleteMatchingPredicate(ctx context.Context, id stable.GroupIdDriveIdItemId, options ListDriveItemVersionsOperationOptions, predicate DriveItemVersionOperationPredicate) (result ListDriveItemVersionsCompleteResult, err error)
ListDriveItemVersionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemVersionClient) RestoreDriveItemVersionVersion ¶
func (c DriveItemVersionClient) RestoreDriveItemVersionVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, options RestoreDriveItemVersionVersionOperationOptions) (result RestoreDriveItemVersionVersionOperationResponse, err error)
RestoreDriveItemVersionVersion - Invoke action restoreVersion. Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file.
func (DriveItemVersionClient) UpdateDriveItemVersion ¶
func (c DriveItemVersionClient) UpdateDriveItemVersion(ctx context.Context, id stable.GroupIdDriveIdItemIdVersionId, input stable.DriveItemVersion, options UpdateDriveItemVersionOperationOptions) (result UpdateDriveItemVersionOperationResponse, err error)
UpdateDriveItemVersion - Update the navigation property versions in groups
type DriveItemVersionOperationPredicate ¶
type DriveItemVersionOperationPredicate struct { }
func (DriveItemVersionOperationPredicate) Matches ¶
func (p DriveItemVersionOperationPredicate) Matches(input stable.DriveItemVersion) bool
type GetDriveItemVersionOperationOptions ¶
type GetDriveItemVersionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveItemVersionOperationOptions ¶
func DefaultGetDriveItemVersionOperationOptions() GetDriveItemVersionOperationOptions
func (GetDriveItemVersionOperationOptions) ToHeaders ¶
func (o GetDriveItemVersionOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemVersionOperationOptions) ToOData ¶
func (o GetDriveItemVersionOperationOptions) ToOData() *odata.Query
func (GetDriveItemVersionOperationOptions) ToQuery ¶
func (o GetDriveItemVersionOperationOptions) ToQuery() *client.QueryParams
type GetDriveItemVersionsCountOperationOptions ¶
type GetDriveItemVersionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveItemVersionsCountOperationOptions ¶
func DefaultGetDriveItemVersionsCountOperationOptions() GetDriveItemVersionsCountOperationOptions
func (GetDriveItemVersionsCountOperationOptions) ToHeaders ¶
func (o GetDriveItemVersionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemVersionsCountOperationOptions) ToOData ¶
func (o GetDriveItemVersionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveItemVersionsCountOperationOptions) ToQuery ¶
func (o GetDriveItemVersionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemVersionsCompleteResult ¶
type ListDriveItemVersionsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.DriveItemVersion }
type ListDriveItemVersionsCustomPager ¶
func (*ListDriveItemVersionsCustomPager) NextPageLink ¶
func (p *ListDriveItemVersionsCustomPager) NextPageLink() *odata.Link
type ListDriveItemVersionsOperationOptions ¶
type ListDriveItemVersionsOperationOptions 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 DefaultListDriveItemVersionsOperationOptions ¶
func DefaultListDriveItemVersionsOperationOptions() ListDriveItemVersionsOperationOptions
func (ListDriveItemVersionsOperationOptions) ToHeaders ¶
func (o ListDriveItemVersionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemVersionsOperationOptions) ToOData ¶
func (o ListDriveItemVersionsOperationOptions) ToOData() *odata.Query
func (ListDriveItemVersionsOperationOptions) ToQuery ¶
func (o ListDriveItemVersionsOperationOptions) ToQuery() *client.QueryParams
type RestoreDriveItemVersionVersionOperationOptions ¶
type RestoreDriveItemVersionVersionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRestoreDriveItemVersionVersionOperationOptions ¶
func DefaultRestoreDriveItemVersionVersionOperationOptions() RestoreDriveItemVersionVersionOperationOptions
func (RestoreDriveItemVersionVersionOperationOptions) ToHeaders ¶
func (o RestoreDriveItemVersionVersionOperationOptions) ToHeaders() *client.Headers
func (RestoreDriveItemVersionVersionOperationOptions) ToOData ¶
func (o RestoreDriveItemVersionVersionOperationOptions) ToOData() *odata.Query
func (RestoreDriveItemVersionVersionOperationOptions) ToQuery ¶
func (o RestoreDriveItemVersionVersionOperationOptions) ToQuery() *client.QueryParams
type UpdateDriveItemVersionOperationOptions ¶
type UpdateDriveItemVersionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveItemVersionOperationOptions ¶
func DefaultUpdateDriveItemVersionOperationOptions() UpdateDriveItemVersionOperationOptions
func (UpdateDriveItemVersionOperationOptions) ToHeaders ¶
func (o UpdateDriveItemVersionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveItemVersionOperationOptions) ToOData ¶
func (o UpdateDriveItemVersionOperationOptions) ToOData() *odata.Query
func (UpdateDriveItemVersionOperationOptions) ToQuery ¶
func (o UpdateDriveItemVersionOperationOptions) ToQuery() *client.QueryParams