public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new DriveItemItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildAnalyticsCommand());
            command.AddCommand(builder.BuildCheckinCommand());
            command.AddCommand(builder.BuildCheckoutCommand());
            command.AddCommand(builder.BuildChildrenCommand());
            command.AddCommand(builder.BuildContentCommand());
            command.AddCommand(builder.BuildCopyCommand());
            command.AddCommand(builder.BuildCreateLinkCommand());
            command.AddCommand(builder.BuildCreateUploadSessionCommand());
            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildFollowCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildInviteCommand());
            command.AddCommand(builder.BuildListItemCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildPermissionsCommand());
            command.AddCommand(builder.BuildPreviewCommand());
            command.AddCommand(builder.BuildRestoreCommand());
            command.AddCommand(builder.BuildSubscriptionsCommand());
            command.AddCommand(builder.BuildThumbnailsCommand());
            command.AddCommand(builder.BuildUnfollowCommand());
            command.AddCommand(builder.BuildValidatePermissionCommand());
            command.AddCommand(builder.BuildVersionsCommand());
            return(command);
        }
Exemplo n.º 2
0
        public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new DriveItemItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildContentCommand());
            command.AddCommand(builder.BuildGetCommand());
            return(command);
        }
        public Command BuildCommand()
        {
            var command = new Command("item");
            var builder = new DriveItemItemRequestBuilder(PathParameters, RequestAdapter);

            command.AddCommand(builder.BuildAnalyticsCommand());
            command.AddCommand(builder.BuildChildrenCommand());
            command.AddCommand(builder.BuildContentCommand());
            command.AddCommand(builder.BuildDeleteCommand());
            command.AddCommand(builder.BuildGetCommand());
            command.AddCommand(builder.BuildListItemCommand());
            command.AddCommand(builder.BuildPatchCommand());
            command.AddCommand(builder.BuildPermissionsCommand());
            command.AddCommand(builder.BuildSubscriptionsCommand());
            command.AddCommand(builder.BuildThumbnailsCommand());
            command.AddCommand(builder.BuildVersionsCommand());
            return(command);
        }