public Command BuildListItemCommand() { var command = new Command("list-item"); var builder = new ListItemRequestBuilder(PathParameters, RequestAdapter); command.AddCommand(builder.BuildAnalyticsCommand()); command.AddCommand(builder.BuildDeleteCommand()); command.AddCommand(builder.BuildDriveItemCommand()); command.AddCommand(builder.BuildFieldsCommand()); command.AddCommand(builder.BuildGetCommand()); command.AddCommand(builder.BuildPatchCommand()); command.AddCommand(builder.BuildVersionsCommand()); return(command); }
public Command BuildCommand() { var command = new Command("item"); var builder = new ListItemRequestBuilder(PathParameters, RequestAdapter); command.AddCommand(builder.BuildColumnsCommand()); command.AddCommand(builder.BuildContentTypesCommand()); command.AddCommand(builder.BuildDeleteCommand()); command.AddCommand(builder.BuildDriveCommand()); command.AddCommand(builder.BuildGetCommand()); command.AddCommand(builder.BuildItemsCommand()); command.AddCommand(builder.BuildOperationsCommand()); command.AddCommand(builder.BuildPatchCommand()); command.AddCommand(builder.BuildSubscriptionsCommand()); return(command); }